43 std::vector<CandidatePtr>::const_iterator itParticle;
44 for (itParticle=ccp.begin();itParticle!=ccp.end();++itParticle){
49 width_ +=
pow(phiangle(castorcand->
phi() - jet.
phi()),2)*castorcand->
energy();
50 fhot_ += castorcand->
fhot()*castorcand->
energy();
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;
69 depth_ = depth_/jet.
energy();
71 fhot_ = fhot_/jet.
energy();
72 fem_ = emEnergy_/jet.
energy();
74 zmean = zmean/jet.
energy();
75 z2mean = z2mean/jet.
energy();
76 double sigmaz2 = z2mean - zmean*zmean;
77 if(sigmaz2 > 0) sigmaz_ =
sqrt(sigmaz2);
double emEnergy() const
tower em energy
CastorRecHitRefs::iterator rechitsBegin() const
fist iterator over CastorRecHit constituents
Jets made from CaloTowers.
virtual double energy() const
energy
void calculate(const edm::Event &event, const reco::BasicJet &jet)
double phiangle(double testphi)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
double energy() const
tower energy
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
ProductID id() const
Accessor for product ID.
virtual double phi() const
momentum azimuthal angle
double phi() const
azimuthal angle of tower centroid
Power< A, B >::type pow(const A &a, const B &b)
virtual Constituents getJetConstituents() const
list of constituents