43 std::vector<CandidatePtr>::const_iterator itParticle;
44 for (itParticle=ccp.begin();itParticle!=ccp.end();++itParticle){
55 double Erechit = rechit_p->energy();
59 if (module < 3) zrechit = -14390 - 24.75 - 49.5*(module-1);
60 if (module > 2) zrechit = -14390 - 99 - 49.5 - 99*(module-3);
61 zmean += Erechit*zrechit;
62 z2mean += Erechit*zrechit*zrechit;
74 zmean = zmean/jet.
energy();
75 z2mean = z2mean/jet.
energy();
76 double sigmaz2 = z2mean - zmean*zmean;
double emEnergy() const
tower em energy
CastorRecHitRefs::iterator rechitsBegin() const
fist iterator over CastorRecHit constituents
virtual Constituents getJetConstituents() const
list of constituents
Jets made from CaloTowers.
ProductID id() const
Accessor for product ID.
void calculate(const edm::Event &event, const reco::BasicJet &jet)
double energy() const final
energy
double phiangle(double testphi)
double fhot() const
tower hotcell/tot ratio
double depth() const
tower depth in z
double hadEnergy() const
tower had energy
CastorRecHitRefs::iterator rechitsEnd() const
last iterator over CastorRecHit constituents
double phi() const final
momentum azimuthal angle
Power< A, B >::type pow(const A &a, const B &b)