Commit in lcdd/src/lcdd on MAIN | |||
bfield/RZBData.cc | +34 | added 1.1 | |
detectors/PositionComparator.cc | +19 | added 1.1 | |
+53 |
add source files
diff -N RZBData.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ RZBData.cc 9 Jul 2013 18:53:30 -0000 1.1 @@ -0,0 +1,34 @@
+// $Header: /cvs/lcd/lcdd/src/lcdd/bfield/RZBData.cc,v 1.1 2013/07/09 18:53:30 jeremy Exp $ + +// LCDD +#include "lcdd/bfield/RZBData.hh" + +RZBData::RZBData(double r, double z, double Br, double Bz) : + _r(r), _z(z), _Br(Br), _Bz(Bz) +{ +} + +RZBData::~RZBData() +{ +} + +double RZBData::r() const +{ + return _r; +} + +double RZBData::z() const +{ + return _z; +} + + +double RZBData::Br() const +{ + return _Br; +} + +double RZBData::Bz() const +{ + return _Bz; +}
diff -N PositionComparator.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ PositionComparator.cc 9 Jul 2013 18:53:30 -0000 1.1 @@ -0,0 +1,19 @@
+// $Header: /cvs/lcd/lcdd/src/lcdd/detectors/PositionComparator.cc,v 1.1 2013/07/09 18:53:30 jeremy Exp $ + + +// LCDD +#include "lcdd/detectors/PositionComparator.hh" + +PositionComparator::PositionComparator() +{ +} + +PositionComparator::~PositionComparator() +{ +} + +bool PositionComparator::compare(const CalorimeterHit& hit1, const CalorimeterHit& hit2) const +{ + return (hit1.getPos() == hit2.getPos()); +} +
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1