Definition at line 35 of file EgammaTowerExtractor.cc.
EgammaTowerExtractor::~EgammaTowerExtractor |
( |
| ) |
|
|
override |
make single IsoDeposit based on a candidate as input purely virtual: have to implement in concrete implementations
Reimplemented from reco::isodeposit::IsoDepositExtractor.
Definition at line 92 of file EgammaTowerExtractor.cc.
References reco::isodeposit::Direction::deltaR2(), funct::exp(), edm::Event::get(), reco::Candidate::get(), and funct::sin().
99 Direction candDir(caloPosition.eta(), caloPosition.phi());
113 depEt = trItr.hadEt();
115 depEt = trItr.ietaAbs() < 18 || trItr.ietaAbs() > 29 ? trItr.hadEt()
116 : trItr.hadEnergyHeInnerLayer() *
sin(trItr.p4().theta());
118 depEt = trItr.hadEnergyHeOuterLayer() *
sin(trItr.p4().theta());
123 Direction towerDir(trItr.eta(), trItr.phi());
124 double dR2 = candDir.
deltaR2(towerDir);
void setVeto(const Veto &aVeto)
Set veto.
Sin< T >::type sin(const T &t)
Exp< T >::type exp(const T &t)
void addDeposit(double dr, double deposit)
Add deposit (ie. transverse energy or pT)
double deltaR2(const Direction &dir2) const
void addCandEnergy(double et)
Set energy or pT attached to cand trajectory.
T const * get() const
Returns C++ pointer to the item.
XYZPointD XYZPoint
point in space with cartesian internal representation
int egammaisolation::EgammaTowerExtractor::depth_ |
|
private |
double egammaisolation::EgammaTowerExtractor::etLow_ |
|
private |
double egammaisolation::EgammaTowerExtractor::extRadius2_ |
|
private |
double egammaisolation::EgammaTowerExtractor::intRadius_ |
|
private |