CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
egammaisolation::EgammaRecHitExtractor Class Reference
Inheritance diagram for egammaisolation::EgammaRecHitExtractor:
reco::isodeposit::IsoDepositExtractor

Public Member Functions

reco::IsoDeposit deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &c) const override
 
reco::IsoDeposit deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
 
 EgammaRecHitExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
 
 EgammaRecHitExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &iC)
 
void fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override
 
 ~EgammaRecHitExtractor () override
 
- Public Member Functions inherited from reco::isodeposit::IsoDepositExtractor
virtual reco::IsoDeposit deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const
 make single IsoDeposit based on a CandidateBaseRef as input More...
 
virtual reco::IsoDeposit deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const
 make single IsoDeposit based on trackRef as input More...
 
virtual std::vector< reco::IsoDepositdeposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const
 
virtual std::vector< reco::IsoDepositdeposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const
 
virtual std::vector< reco::IsoDepositdeposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
 
virtual std::vector< reco::IsoDepositdeposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const
 
virtual void initEvent (const edm::Event &, const edm::EventSetup &)
 perform some constly initialization More...
 
virtual ~IsoDepositExtractor ()
 Destructor. More...
 

Private Member Functions

void collect (reco::IsoDeposit &deposit, const reco::SuperClusterRef &sc, const CaloSubdetectorGeometry *subdet, const CaloGeometry *caloGeom, const EcalRecHitCollection &hits, const EcalSeverityLevelAlgo *sevLevel, bool barrel) const
 

Private Attributes

edm::InputTag barrelEcalHitsTag_
 
edm::EDGetTokenT< EcalRecHitCollectionbarrelEcalHitsToken_
 
edm::InputTag endcapEcalHitsTag_
 
edm::EDGetTokenT< EcalRecHitCollectionendcapEcalHitsToken_
 
double energyMin_
 
double etMin_
 
double extRadius_
 
bool fakeNegativeDeposit_
 
std::vector< int > flagsexclEB_
 
std::vector< int > flagsexclEE_
 
double intRadius_
 
double intStrip_
 
bool sameTag_
 
std::vector< int > severitiesexclEB_
 
std::vector< int > severitiesexclEE_
 
bool tryBoth_
 
bool useEt_
 
bool vetoClustered_
 

Detailed Description

Definition at line 44 of file EgammaRecHitExtractor.cc.

Constructor & Destructor Documentation

◆ EgammaRecHitExtractor() [1/2]

egammaisolation::EgammaRecHitExtractor::EgammaRecHitExtractor ( const edm::ParameterSet par,
edm::ConsumesCollector &&  iC 
)
inline

Definition at line 46 of file EgammaRecHitExtractor.cc.

46 : EgammaRecHitExtractor(par, iC) {}

◆ EgammaRecHitExtractor() [2/2]

EgammaRecHitExtractor::EgammaRecHitExtractor ( const edm::ParameterSet par,
edm::ConsumesCollector iC 
)

Definition at line 106 of file EgammaRecHitExtractor.cc.

107  : etMin_(par.getParameter<double>("etMin")),
108  energyMin_(par.getParameter<double>("energyMin")),
109  extRadius_(par.getParameter<double>("extRadius")),
110  intRadius_(par.getParameter<double>("intRadius")),
111  intStrip_(par.getParameter<double>("intStrip")),
112  barrelEcalHitsTag_(par.getParameter<edm::InputTag>("barrelEcalHits")),
113  endcapEcalHitsTag_(par.getParameter<edm::InputTag>("endcapEcalHits")),
116  fakeNegativeDeposit_(par.getParameter<bool>("subtractSuperClusterEnergy")),
117  tryBoth_(par.getParameter<bool>("tryBoth")),
118  vetoClustered_(par.getParameter<bool>("vetoClustered")),
119  sameTag_(false)
120 //severityLevelCut_(par.getParameter<int>("severityLevelCut"))
121 //severityRecHitThreshold_(par.getParameter<double>("severityRecHitThreshold")),
122 //spIdString_(par.getParameter<std::string>("spikeIdString")),
123 //spIdThreshold_(par.getParameter<double>("spikeIdThreshold")),
124 {
125  const std::vector<std::string> flagnamesEB = par.getParameter<std::vector<std::string> >("RecHitFlagToBeExcludedEB");
126 
127  const std::vector<std::string> flagnamesEE = par.getParameter<std::vector<std::string> >("RecHitFlagToBeExcludedEE");
128 
129  flagsexclEB_ = StringToEnumValue<EcalRecHit::Flags>(flagnamesEB);
130 
131  flagsexclEE_ = StringToEnumValue<EcalRecHit::Flags>(flagnamesEE);
132 
133  const std::vector<std::string> severitynamesEB =
134  par.getParameter<std::vector<std::string> >("RecHitSeverityToBeExcludedEB");
135 
136  severitiesexclEB_ = StringToEnumValue<EcalSeverityLevel::SeverityLevel>(severitynamesEB);
137 
138  const std::vector<std::string> severitynamesEE =
139  par.getParameter<std::vector<std::string> >("RecHitSeverityToBeExcludedEE");
140 
141  severitiesexclEE_ = StringToEnumValue<EcalSeverityLevel::SeverityLevel>(severitynamesEE);
142 
143  if ((intRadius_ != 0.0) && (fakeNegativeDeposit_)) {
144  throw cms::Exception("Configuration Error") << "EgammaRecHitExtractor: "
145  << "If you use 'subtractSuperClusterEnergy', you *must* set "
146  "'intRadius' to ZERO; it does not make sense, otherwise.";
147  }
148  std::string isoVariable = par.getParameter<std::string>("isolationVariable");
149  if (isoVariable == "et") {
150  useEt_ = true;
151  } else if (isoVariable == "energy") {
152  useEt_ = false;
153  } else {
154  throw cms::Exception("Configuration Error")
155  << "EgammaRecHitExtractor: isolationVariable '" << isoVariable << "' not known. "
156  << " Supported values are 'et', 'energy'. ";
157  }
159  sameTag_ = true;
160  if (tryBoth_) {
161  edm::LogWarning("EgammaRecHitExtractor")
162  << "If you have configured 'barrelRecHits' == 'endcapRecHits', so I'm switching 'tryBoth' to FALSE.";
163  tryBoth_ = false;
164  }
165  }
166 }

References barrelEcalHitsTag_, edm::InputTag::encode(), endcapEcalHitsTag_, Exception, fakeNegativeDeposit_, flagsexclEB_, flagsexclEE_, edm::ParameterSet::getParameter(), intRadius_, sameTag_, severitiesexclEB_, severitiesexclEE_, AlCaHLTBitMon_QueryRunRegistry::string, tryBoth_, and useEt_.

◆ ~EgammaRecHitExtractor()

EgammaRecHitExtractor::~EgammaRecHitExtractor ( )
override

Definition at line 168 of file EgammaRecHitExtractor.cc.

168 {}

Member Function Documentation

◆ collect()

void EgammaRecHitExtractor::collect ( reco::IsoDeposit deposit,
const reco::SuperClusterRef sc,
const CaloSubdetectorGeometry subdet,
const CaloGeometry caloGeom,
const EcalRecHitCollection hits,
const EcalSeverityLevelAlgo sevLevel,
bool  barrel 
) const
private

Definition at line 219 of file EgammaRecHitExtractor.cc.

226  {
227  GlobalPoint caloPosition(sc->position().x(), sc->position().y(), sc->position().z());
228  CaloSubdetectorGeometry::DetIdSet chosen = subdet->getCells(caloPosition, extRadius_);
230  double caloeta = caloPosition.eta();
231  double calophi = caloPosition.phi();
232  double r2 = intRadius_ * intRadius_;
233 
234  std::vector<std::pair<DetId, float> >::const_iterator rhIt;
235 
236  for (CaloSubdetectorGeometry::DetIdSet::const_iterator i = chosen.begin(), end = chosen.end(); i != end; ++i) {
237  j = hits.find(*i);
238  if (j != hits.end()) {
239  const GlobalPoint& position = caloGeom->getPosition(*i);
240  double eta = position.eta();
241  double phi = position.phi();
242  double energy = j->energy();
243  double et = energy * position.perp() / position.mag();
244  double phiDiff = reco::deltaPhi(phi, calophi);
245 
246  //check if we are supposed to veto clustered and then do so
247  if (vetoClustered_) {
248  //Loop over basic clusters:
249  bool isClustered = false;
250  for (auto bcIt = sc->clustersBegin(); bcIt != sc->clustersEnd(); ++bcIt) {
251  for (rhIt = (*bcIt)->hitsAndFractions().begin(); rhIt != (*bcIt)->hitsAndFractions().end(); ++rhIt) {
252  if (rhIt->first == *i)
253  isClustered = true;
254  if (isClustered)
255  break;
256  }
257  if (isClustered)
258  break;
259  } //end loop over basic clusters
260 
261  if (isClustered)
262  continue;
263  } //end if removeClustered
264 
265  std::vector<int>::const_iterator sit;
266  int severityFlag = sevLevel->severityLevel(j->detid(), hits);
267  if (barrel) {
268  sit = std::find(severitiesexclEB_.begin(), severitiesexclEB_.end(), severityFlag);
269  if (sit != severitiesexclEB_.end())
270  continue;
271  } else {
272  sit = std::find(severitiesexclEE_.begin(), severitiesexclEE_.end(), severityFlag);
273  if (sit != severitiesexclEE_.end())
274  continue;
275  }
276 
277  if (barrel) {
278  // new rechit flag checks
279  if (!j->checkFlag(EcalRecHit::kGood)) {
280  if (j->checkFlags(flagsexclEB_)) {
281  continue;
282  }
283  }
284  } else {
285  // new rechit flag checks
286  if (!j->checkFlag(EcalRecHit::kGood)) {
287  if (j->checkFlags(flagsexclEE_)) {
288  continue;
289  }
290  }
291  }
292 
293  if (et > etMin_ && energy > energyMin_ //Changed to fabs - then changed back to energy
294  && fabs(eta - caloeta) > intStrip_ && (eta - caloeta) * (eta - caloeta) + phiDiff * phiDiff > r2) {
296  }
297  }
298  }
299 }

References reco::IsoDeposit::addDeposit(), Reference_intrackfit_cff::barrel, reco::deltaPhi(), deposit(), mps_fire::end, HCALHighEnergyHPDFilter_cfi::energy, energyMin_, EgHLTOffHistBins_cfi::et, PVValHelper::eta, etMin_, extRadius_, spr::find(), flagsexclEB_, flagsexclEE_, CaloSubdetectorGeometry::getCells(), CaloGeometry::getPosition(), hfClusterShapes_cfi::hits, mps_fire::i, intRadius_, intStrip_, dqmiolumiharvest::j, EcalRecHit::kGood, position, diffTwoXMLs::r2, severitiesexclEB_, severitiesexclEE_, EcalSeverityLevelAlgo::severityLevel(), useEt_, and vetoClustered_.

Referenced by deposit().

◆ deposit() [1/2]

reco::IsoDeposit EgammaRecHitExtractor::deposit ( const edm::Event ev,
const edm::EventSetup evSetup,
const reco::Candidate track 
) const
overridevirtual

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 170 of file EgammaRecHitExtractor.cc.

172  {
174  iSetup.get<CaloGeometryRecord>().get(pG);
175 
176  //Get the channel status from the db
177  //edm::ESHandle<EcalChannelStatus> chStatus;
178  //iSetup.get<EcalChannelStatusRcd>().get(chStatus);
179 
181  iSetup.get<EcalSeverityLevelAlgoRcd>().get(sevlv);
182  const EcalSeverityLevelAlgo* sevLevel = sevlv.product();
183 
184  const CaloGeometry* caloGeom = pG.product();
187 
188  static const std::string metname = "EgammaIsolationAlgos|EgammaRecHitExtractor";
189 
190  //define isodeposit starting from candidate
192  math::XYZPoint caloPosition = sc->position();
193 
194  Direction candDir(caloPosition.eta(), caloPosition.phi());
195  reco::IsoDeposit deposit(candDir);
197  double sinTheta = sin(2 * atan(exp(-sc->eta())));
198  deposit.addCandEnergy(sc->energy() * (useEt_ ? sinTheta : 1.0));
199 
200  // subtract supercluster if desired
201  double fakeEnergy = -sc->rawEnergy();
202  if (fakeNegativeDeposit_) {
203  deposit.addDeposit(candDir, fakeEnergy * (useEt_ ? sinTheta : 1.0)); // not exactly clean...
204  }
205 
206  // fill rechits
207  bool inBarrel = sameTag_ || (abs(sc->eta()) < 1.479); //check for barrel. If only one collection is used, use barrel
208  if (inBarrel || tryBoth_) {
209  collect(deposit, sc, barrelgeom, caloGeom, iEvent.get(barrelEcalHitsToken_), sevLevel, true);
210  }
211 
212  if ((!inBarrel) || tryBoth_) {
213  collect(deposit, sc, endcapgeom, caloGeom, iEvent.get(endcapEcalHitsToken_), sevLevel, false);
214  }
215 
216  return deposit;
217 }

References funct::abs(), reco::IsoDeposit::addCandEnergy(), reco::IsoDeposit::addDeposit(), barrelEcalHitsToken_, collect(), deposit(), DetId::Ecal, EcalBarrel, EcalEndcap, endcapEcalHitsToken_, JetChargeProducer_cfi::exp, fakeNegativeDeposit_, edm::EventSetup::get(), get, reco::Candidate::get(), CaloGeometry::getSubdetectorGeometry(), iEvent, intRadius_, metname, edm::ESHandle< T >::product(), sameTag_, reco::IsoDeposit::setVeto(), funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, tryBoth_, and useEt_.

◆ deposit() [2/2]

reco::IsoDeposit egammaisolation::EgammaRecHitExtractor::deposit ( const edm::Event ev,
const edm::EventSetup evSetup,
const reco::Track track 
) const
inlineoverridevirtual

make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations

Implements reco::isodeposit::IsoDepositExtractor.

Definition at line 51 of file EgammaRecHitExtractor.cc.

53  {
54  throw cms::Exception("Configuration Error")
55  << "This extractor " << (typeid(this).name()) << " is not made for tracks";
56  }

References Exception, and Skims_PA_cff::name.

Referenced by collect(), and deposit().

◆ fillVetos()

void egammaisolation::EgammaRecHitExtractor::fillVetos ( const edm::Event ev,
const edm::EventSetup evSetup,
const reco::TrackCollection tracks 
)
inlineoverridevirtual

fill vetoes: to exclude deposits at IsoDeposit creation stage check concrete extractors if it's no-op !

Implements reco::isodeposit::IsoDepositExtractor.

Definition at line 49 of file EgammaRecHitExtractor.cc.

49  {
50  }

Member Data Documentation

◆ barrelEcalHitsTag_

edm::InputTag egammaisolation::EgammaRecHitExtractor::barrelEcalHitsTag_
private

Definition at line 76 of file EgammaRecHitExtractor.cc.

Referenced by EgammaRecHitExtractor().

◆ barrelEcalHitsToken_

edm::EDGetTokenT<EcalRecHitCollection> egammaisolation::EgammaRecHitExtractor::barrelEcalHitsToken_
private

Definition at line 78 of file EgammaRecHitExtractor.cc.

Referenced by deposit().

◆ endcapEcalHitsTag_

edm::InputTag egammaisolation::EgammaRecHitExtractor::endcapEcalHitsTag_
private

Definition at line 77 of file EgammaRecHitExtractor.cc.

Referenced by EgammaRecHitExtractor().

◆ endcapEcalHitsToken_

edm::EDGetTokenT<EcalRecHitCollection> egammaisolation::EgammaRecHitExtractor::endcapEcalHitsToken_
private

Definition at line 79 of file EgammaRecHitExtractor.cc.

Referenced by deposit().

◆ energyMin_

double egammaisolation::EgammaRecHitExtractor::energyMin_
private

Definition at line 72 of file EgammaRecHitExtractor.cc.

Referenced by collect().

◆ etMin_

double egammaisolation::EgammaRecHitExtractor::etMin_
private

Definition at line 71 of file EgammaRecHitExtractor.cc.

Referenced by collect().

◆ extRadius_

double egammaisolation::EgammaRecHitExtractor::extRadius_
private

Definition at line 73 of file EgammaRecHitExtractor.cc.

Referenced by collect().

◆ fakeNegativeDeposit_

bool egammaisolation::EgammaRecHitExtractor::fakeNegativeDeposit_
private

Definition at line 80 of file EgammaRecHitExtractor.cc.

Referenced by deposit(), and EgammaRecHitExtractor().

◆ flagsexclEB_

std::vector<int> egammaisolation::EgammaRecHitExtractor::flagsexclEB_
private

Definition at line 93 of file EgammaRecHitExtractor.cc.

Referenced by collect(), and EgammaRecHitExtractor().

◆ flagsexclEE_

std::vector<int> egammaisolation::EgammaRecHitExtractor::flagsexclEE_
private

Definition at line 94 of file EgammaRecHitExtractor.cc.

Referenced by collect(), and EgammaRecHitExtractor().

◆ intRadius_

double egammaisolation::EgammaRecHitExtractor::intRadius_
private

Definition at line 74 of file EgammaRecHitExtractor.cc.

Referenced by collect(), deposit(), and EgammaRecHitExtractor().

◆ intStrip_

double egammaisolation::EgammaRecHitExtractor::intStrip_
private

Definition at line 75 of file EgammaRecHitExtractor.cc.

Referenced by collect().

◆ sameTag_

bool egammaisolation::EgammaRecHitExtractor::sameTag_
private

Definition at line 84 of file EgammaRecHitExtractor.cc.

Referenced by deposit(), and EgammaRecHitExtractor().

◆ severitiesexclEB_

std::vector<int> egammaisolation::EgammaRecHitExtractor::severitiesexclEB_
private

Definition at line 91 of file EgammaRecHitExtractor.cc.

Referenced by collect(), and EgammaRecHitExtractor().

◆ severitiesexclEE_

std::vector<int> egammaisolation::EgammaRecHitExtractor::severitiesexclEE_
private

Definition at line 92 of file EgammaRecHitExtractor.cc.

Referenced by collect(), and EgammaRecHitExtractor().

◆ tryBoth_

bool egammaisolation::EgammaRecHitExtractor::tryBoth_
private

Definition at line 81 of file EgammaRecHitExtractor.cc.

Referenced by deposit(), and EgammaRecHitExtractor().

◆ useEt_

bool egammaisolation::EgammaRecHitExtractor::useEt_
private

Definition at line 82 of file EgammaRecHitExtractor.cc.

Referenced by collect(), deposit(), and EgammaRecHitExtractor().

◆ vetoClustered_

bool egammaisolation::EgammaRecHitExtractor::vetoClustered_
private

Definition at line 83 of file EgammaRecHitExtractor.cc.

Referenced by collect().

egammaisolation::EgammaRecHitExtractor::tryBoth_
bool tryBoth_
Definition: EgammaRecHitExtractor.cc:81
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
EcalSeverityLevelAlgo
Definition: EcalSeverityLevelAlgo.h:33
egammaisolation::EgammaRecHitExtractor::extRadius_
double extRadius_
Definition: EgammaRecHitExtractor.cc:73
mps_fire.i
i
Definition: mps_fire.py:428
edm::SortedCollection< EcalRecHit >::const_iterator
std::vector< EcalRecHit >::const_iterator const_iterator
Definition: SortedCollection.h:80
Reference_intrackfit_cff.barrel
list barrel
Definition: Reference_intrackfit_cff.py:37
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
EcalSeverityLevelAlgo::severityLevel
EcalSeverityLevel::SeverityLevel severityLevel(const DetId &id) const
Evaluate status from id use channelStatus from DB.
Definition: EcalSeverityLevelAlgo.cc:85
CaloSubdetectorGeometry::DetIdSet
std::set< DetId > DetIdSet
Definition: CaloSubdetectorGeometry.h:27
CaloGeometry::getPosition
GlobalPoint getPosition(const DetId &id) const
Get the position of a given detector id.
Definition: CaloGeometry.cc:50
reco::deltaPhi
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
egammaisolation::EgammaRecHitExtractor::endcapEcalHitsTag_
edm::InputTag endcapEcalHitsTag_
Definition: EgammaRecHitExtractor.cc:77
egammaisolation::EgammaRecHitExtractor::severitiesexclEB_
std::vector< int > severitiesexclEB_
Definition: EgammaRecHitExtractor.cc:91
reco::IsoDeposit::addDeposit
void addDeposit(double dr, double deposit)
Add deposit (ie. transverse energy or pT)
Definition: IsoDeposit.cc:19
CaloGeometry::getSubdetectorGeometry
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
Definition: CaloGeometry.cc:34
edm::Ref::get
T const * get() const
Returns C++ pointer to the item.
Definition: Ref.h:232
edm::SortedCollection< EcalRecHit >
reco::IsoDeposit::Veto
Definition: IsoDeposit.h:59
egammaisolation::EgammaRecHitExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
Definition: EgammaRecHitExtractor.cc:51
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
egammaisolation::EgammaRecHitExtractor::intRadius_
double intRadius_
Definition: EgammaRecHitExtractor.cc:74
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
EcalBarrel
Definition: EcalSubdetector.h:10
edm::Ref< SuperClusterCollection >
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
egammaisolation::EgammaRecHitExtractor::fakeNegativeDeposit_
bool fakeNegativeDeposit_
Definition: EgammaRecHitExtractor.cc:80
CaloGeometry
Definition: CaloGeometry.h:21
CaloSubdetectorGeometry::getCells
virtual DetIdSet getCells(const GlobalPoint &r, double dR) const
Get a list of all cells within a dR of the given cell.
Definition: CaloSubdetectorGeometry.cc:66
PVValHelper::eta
Definition: PVValidationHelpers.h:70
egammaisolation::EgammaRecHitExtractor::vetoClustered_
bool vetoClustered_
Definition: EgammaRecHitExtractor.cc:83
mps_fire.end
end
Definition: mps_fire.py:242
edm::ESHandle< CaloGeometry >
EcalSeverityLevelAlgoRcd
Definition: EcalSeverityLevelAlgoRcd.h:12
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
EcalRecHit::kGood
Definition: EcalRecHit.h:21
Point3DBase< float, GlobalTag >
egammaisolation::EgammaRecHitExtractor::flagsexclEB_
std::vector< int > flagsexclEB_
Definition: EgammaRecHitExtractor.cc:93
EcalEndcap
Definition: EcalSubdetector.h:10
egammaisolation::EgammaRecHitExtractor::useEt_
bool useEt_
Definition: EgammaRecHitExtractor.cc:82
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
diffTwoXMLs.r2
r2
Definition: diffTwoXMLs.py:73
egammaisolation::EgammaRecHitExtractor::EgammaRecHitExtractor
EgammaRecHitExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
Definition: EgammaRecHitExtractor.cc:46
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::InputTag::encode
std::string encode() const
Definition: InputTag.cc:159
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
egammaisolation::EgammaRecHitExtractor::intStrip_
double intStrip_
Definition: EgammaRecHitExtractor.cc:75
egammaisolation::EgammaRecHitExtractor::energyMin_
double energyMin_
Definition: EgammaRecHitExtractor.cc:72
DetId::Ecal
Definition: DetId.h:27
get
#define get
egammaisolation::EgammaRecHitExtractor::collect
void collect(reco::IsoDeposit &deposit, const reco::SuperClusterRef &sc, const CaloSubdetectorGeometry *subdet, const CaloGeometry *caloGeom, const EcalRecHitCollection &hits, const EcalSeverityLevelAlgo *sevLevel, bool barrel) const
Definition: EgammaRecHitExtractor.cc:219
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
egammaisolation::EgammaRecHitExtractor::endcapEcalHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapEcalHitsToken_
Definition: EgammaRecHitExtractor.cc:79
reco::IsoDeposit::addCandEnergy
void addCandEnergy(double et)
Set energy or pT attached to cand trajectory.
Definition: IsoDeposit.h:132
DDAxes::phi
egammaisolation::EgammaRecHitExtractor::barrelEcalHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > barrelEcalHitsToken_
Definition: EgammaRecHitExtractor.cc:78
reco::isodeposit::Direction
Definition: IsoDepositDirection.h:19
Exception
Definition: hltDiff.cc:245
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
reco::IsoDeposit
Definition: IsoDeposit.h:49
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
egammaisolation::EgammaRecHitExtractor::severitiesexclEE_
std::vector< int > severitiesexclEE_
Definition: EgammaRecHitExtractor.cc:92
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
egammaisolation::EgammaRecHitExtractor::sameTag_
bool sameTag_
Definition: EgammaRecHitExtractor.cc:84
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
egammaisolation::EgammaRecHitExtractor::etMin_
double etMin_
Definition: EgammaRecHitExtractor.cc:71
edm::InputTag
Definition: InputTag.h:15
egammaisolation::EgammaRecHitExtractor::barrelEcalHitsTag_
edm::InputTag barrelEcalHitsTag_
Definition: EgammaRecHitExtractor.cc:76
reco::IsoDeposit::setVeto
void setVeto(const Veto &aVeto)
Set veto.
Definition: IsoDeposit.h:82
egammaisolation::EgammaRecHitExtractor::flagsexclEE_
std::vector< int > flagsexclEE_
Definition: EgammaRecHitExtractor.cc:94
metname
const std::string metname
Definition: MuonSeedOrcaPatternRecognition.cc:40