4 using namespace pftools;
7 double phiEnd,
double energyBegin,
double energyEnd,
bool ecalValid,
bool hcalValid) :
8 myEtaMin(etaBegin), myEtaMax(etaEnd), myPhiMin(phiBegin), myPhiMax(phiEnd),
9 myEnergyMin(energyBegin), myEnergyMax(energyEnd),
10 ecalValid_(ecalValid), hcalValid_(hcalValid) {
14 <<
": WARNING! Constructed with both ecalValid and hcalValid = false!"
23 const double&
energy)
const {
30 const double&
energy,
const bool& ecalValid,
const bool& hcalValid)
const {
40 if (eta < myEtaMax && eta >=
myEtaMin)
49 if (phi < myPhiMax && phi >=
myPhiMin)
77 s.append(
"SpaceVoxel: ");
std::string toString(const std::pair< T, T > &aT)