CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
IsolatedTracksHcalScale Class Reference
Inheritance diagram for IsolatedTracksHcalScale:
edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 IsolatedTracksHcalScale (const edm::ParameterSet &)
 
 ~IsolatedTracksHcalScale () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::SharedResources >
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void clearTreeVectors ()
 
void endJob () override
 

Private Attributes

double a_charIsoR_
 
double a_coneR_
 
double a_mipR_
 
double a_neutIsoR_
 
bool doMC_
 
std::string minQuality_
 
int myverbose_
 
int nEventProc_
 
spr::trackSelectionParameters selectionParameters_
 
int t_Bunch
 
std::vector< double > * t_conehmaxNearP
 
std::vector< double > * t_e11x11_20Sig
 
std::vector< double > * t_e15x15_20Sig
 
std::vector< double > * t_eECALDR
 
std::vector< double > * t_eECALDR_1
 
std::vector< double > * t_eECALDR_2
 
std::vector< double > * t_eHCALDR
 
std::vector< double > * t_eHCALDRHB
 
std::vector< double > * t_eMipDR
 
std::vector< double > * t_eMipDR_1
 
std::vector< double > * t_eMipDR_2
 
int t_EvtNo
 
std::vector< double > * t_hCone
 
std::vector< double > * t_hConeHB
 
std::vector< double > * t_hsim
 
std::vector< double > * t_hsimInfoCharHad
 
std::vector< double > * t_hsimInfoMatched
 
std::vector< int > * t_hsimInfoNCharHad
 
std::vector< double > * t_hsimInfoNeutHad
 
std::vector< int > * t_hsimInfoNMatched
 
std::vector< int > * t_hsimInfoNNeutHad
 
std::vector< int > * t_hsimInfoNPhoton
 
std::vector< int > * t_hsimInfoNRest
 
std::vector< int > * t_hsimInfoNTotal
 
std::vector< double > * t_hsimInfoPdgMatched
 
std::vector< double > * t_hsimInfoPhoton
 
std::vector< double > * t_hsimInfoRest
 
std::vector< double > * t_hsimInfoTotal
 
int t_Lumi
 
std::vector< int > * t_nSimHits
 
int t_nTracks
 
int t_RunNo
 
std::vector< double > * t_trackEta
 
std::vector< double > * t_trackHcalEta
 
std::vector< double > * t_trackHcalPhi
 
std::vector< double > * t_trackP
 
std::vector< double > * t_trackPhi
 
std::vector< double > * t_trackPt
 
std::string theTrackQuality_
 
double tMaxE_
 
double tMinE_
 
edm::EDGetTokenT< reco::BeamSpottok_bs_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_caloEB_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_caloEE_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_caloHH_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_EB_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_EE_
 
edm::EDGetTokenT< reco::TrackCollectiontok_genTrack_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbhe_
 
edm::EDGetTokenT< reco::VertexCollectiontok_recVtx_
 
edm::EDGetTokenT< edm::SimTrackContainertok_simTk_
 
edm::EDGetTokenT< edm::SimVertexContainertok_simVtx_
 
TrackerHitAssociator::Config trackerHitAssociatorConfig_
 
TTree * tree_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 102 of file IsolatedTracksHcalScale.cc.

Constructor & Destructor Documentation

◆ IsolatedTracksHcalScale()

IsolatedTracksHcalScale::IsolatedTracksHcalScale ( const edm::ParameterSet iConfig)
explicit

Definition at line 158 of file IsolatedTracksHcalScale.cc.

159  : doMC_(iConfig.getUntrackedParameter<bool>("DoMC", false)),
160  myverbose_(iConfig.getUntrackedParameter<int>("Verbosity", 5)),
161  theTrackQuality_(iConfig.getUntrackedParameter<std::string>("TrackQuality", "highPurity")),
162  a_mipR_(iConfig.getUntrackedParameter<double>("ConeRadiusMIP", 14.0)),
163  a_coneR_(iConfig.getUntrackedParameter<double>("ConeRadius", 34.98)),
164  tMinE_(iConfig.getUntrackedParameter<double>("TimeMinCutECAL", -500.)),
165  tMaxE_(iConfig.getUntrackedParameter<double>("TimeMaxCutECAL", 500.)),
167  usesResource(TFileService::kSharedResource);
168 
169  //now do what ever initialization is needed
171  selectionParameters_.minPt = iConfig.getUntrackedParameter<double>("MinTrackPt", 10.0);
173  selectionParameters_.maxDxyPV = iConfig.getUntrackedParameter<double>("MaxDxyPV", 0.2);
174  selectionParameters_.maxDzPV = iConfig.getUntrackedParameter<double>("MaxDzPV", 5.0);
175  selectionParameters_.maxChi2 = iConfig.getUntrackedParameter<double>("MaxChi2", 5.0);
176  selectionParameters_.maxDpOverP = iConfig.getUntrackedParameter<double>("MaxDpOverP", 0.1);
177  selectionParameters_.minOuterHit = iConfig.getUntrackedParameter<int>("MinOuterHit", 4);
178  selectionParameters_.minLayerCrossed = iConfig.getUntrackedParameter<int>("MinLayerCrossed", 8);
179  selectionParameters_.maxInMiss = iConfig.getUntrackedParameter<int>("MaxInMiss", 0);
180  selectionParameters_.maxOutMiss = iConfig.getUntrackedParameter<int>("MaxOutMiss", 0);
181  a_charIsoR_ = a_coneR_ + 28.9;
182  a_neutIsoR_ = a_charIsoR_ * 0.726;
183 
184  tok_genTrack_ = consumes<reco::TrackCollection>(edm::InputTag("generalTracks"));
185  tok_recVtx_ = consumes<reco::VertexCollection>(edm::InputTag("offlinePrimaryVertices"));
186  tok_bs_ = consumes<reco::BeamSpot>(edm::InputTag("offlineBeamSpot"));
187  tok_EB_ = consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
188  tok_EE_ = consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
189  tok_hbhe_ = consumes<HBHERecHitCollection>(edm::InputTag("hbhereco"));
190  tok_simTk_ = consumes<edm::SimTrackContainer>(edm::InputTag("g4SimHits"));
191  tok_simVtx_ = consumes<edm::SimVertexContainer>(edm::InputTag("g4SimHits"));
192  tok_caloEB_ = consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", "EcalHitsEB"));
193  tok_caloEE_ = consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", "EcalHitsEE"));
194  tok_caloHH_ = consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", "HcalHits"));
195 
196  if (myverbose_ >= 0) {
197  edm::LogVerbatim("IsoTrack") << "Parameters read from config file \n"
198  << " doMC " << doMC_ << "\t myverbose " << myverbose_ << "\t minPt "
199  << selectionParameters_.minPt << "\t theTrackQuality " << theTrackQuality_
200  << "\t minQuality " << selectionParameters_.minQuality << "\t maxDxyPV "
202  << "\t maxChi2 " << selectionParameters_.maxChi2 << "\t maxDpOverP "
203  << selectionParameters_.maxDpOverP << "\t minOuterHit "
204  << selectionParameters_.minOuterHit << "\t minLayerCrossed "
205  << selectionParameters_.minLayerCrossed << "\t maxInMiss "
206  << selectionParameters_.maxInMiss << "\t maxOutMiss "
207  << selectionParameters_.maxOutMiss << "\t a_coneR " << a_coneR_ << "\t a_charIsoR "
208  << a_charIsoR_ << "\t a_neutIsoR " << a_neutIsoR_ << "\t a_mipR " << a_mipR_
209  << "\t time Range (" << tMinE_ << ":" << tMaxE_ << ")";
210  }
211 }

References a_charIsoR_, a_coneR_, a_mipR_, a_neutIsoR_, doMC_, edm::ParameterSet::getUntrackedParameter(), TFileService::kSharedResource, spr::trackSelectionParameters::maxChi2, spr::trackSelectionParameters::maxDpOverP, spr::trackSelectionParameters::maxDxyPV, spr::trackSelectionParameters::maxDzPV, spr::trackSelectionParameters::maxInMiss, spr::trackSelectionParameters::maxOutMiss, spr::trackSelectionParameters::minLayerCrossed, spr::trackSelectionParameters::minOuterHit, spr::trackSelectionParameters::minPt, spr::trackSelectionParameters::minQuality, myverbose_, reco::TrackBase::qualityByName(), selectionParameters_, theTrackQuality_, tMaxE_, tMinE_, tok_bs_, tok_caloEB_, tok_caloEE_, tok_caloHH_, tok_EB_, tok_EE_, tok_genTrack_, tok_hbhe_, tok_recVtx_, tok_simTk_, tok_simVtx_, and StandaloneTrackMonitor_cfi::trackQuality.

◆ ~IsolatedTracksHcalScale()

IsolatedTracksHcalScale::~IsolatedTracksHcalScale ( )
inlineoverride

Definition at line 105 of file IsolatedTracksHcalScale.cc.

105 {}

Member Function Documentation

◆ analyze()

void IsolatedTracksHcalScale::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 234 of file IsolatedTracksHcalScale.cc.

234  {
236  iSetup.get<IdealMagneticFieldRecord>().get(bFieldH);
237  const MagneticField *bField = bFieldH.product();
238 
239  // get handles to calogeometry and calotopology
241  iSetup.get<CaloGeometryRecord>().get(pG);
242  const CaloGeometry *geo = pG.product();
243 
244  edm::ESHandle<CaloTopology> theCaloTopology;
245  iSetup.get<CaloTopologyRecord>().get(theCaloTopology);
246  const CaloTopology *caloTopology = theCaloTopology.product();
247 
248  // Retrieve the good/bad ECAL channels from the DB
250  iSetup.get<EcalChannelStatusRcd>().get(ecalChStatus);
251  const EcalChannelStatus *theEcalChStatus = ecalChStatus.product();
252 
254 
255  ++nEventProc_;
256 
257  t_RunNo = iEvent.id().run();
258  t_EvtNo = iEvent.id().event();
259  t_Lumi = iEvent.luminosityBlock();
260  t_Bunch = iEvent.bunchCrossing();
261  if (myverbose_ > 0)
262  edm::LogVerbatim("IsoTrack") << nEventProc_ << " Run " << t_RunNo << " Event " << t_EvtNo << " Lumi " << t_Lumi
263  << " Bunch " << t_Bunch;
264 
266  iEvent.getByToken(tok_genTrack_, trkCollection);
267 
269  iEvent.getByToken(tok_recVtx_, recVtxs);
270 
271  // Get the beamspot
272  edm::Handle<reco::BeamSpot> beamSpotH;
273  iEvent.getByToken(tok_bs_, beamSpotH);
274 
275  math::XYZPoint leadPV(0, 0, 0);
276  if (!recVtxs->empty() && !((*recVtxs)[0].isFake())) {
277  leadPV = math::XYZPoint((*recVtxs)[0].x(), (*recVtxs)[0].y(), (*recVtxs)[0].z());
278  } else if (beamSpotH.isValid()) {
279  leadPV = beamSpotH->position();
280  }
281 
282  if (myverbose_ > 0) {
283  edm::LogVerbatim("IsoTrack") << "Primary Vertex " << leadPV;
284  if (beamSpotH.isValid())
285  edm::LogVerbatim("IsoTrack") << "Beam Spot " << beamSpotH->position();
286  }
287 
288  std::vector<spr::propagatedTrackDirection> trkCaloDirections;
289  spr::propagateCALO(trkCollection, geo, bField, theTrackQuality_, trkCaloDirections, (myverbose_ > 2));
290  std::vector<spr::propagatedTrackDirection>::const_iterator trkDetItr;
291 
292  edm::Handle<EcalRecHitCollection> barrelRecHitsHandle;
293  edm::Handle<EcalRecHitCollection> endcapRecHitsHandle;
294  iEvent.getByToken(tok_EB_, barrelRecHitsHandle);
295  iEvent.getByToken(tok_EE_, endcapRecHitsHandle);
296 
298  iEvent.getByToken(tok_hbhe_, hbhe);
299  const HBHERecHitCollection Hithbhe = *(hbhe.product());
300 
301  //get Handles to SimTracks and SimHits
304 
305  //get Handles to PCaloHitContainers of eb/ee/hbhe
309 
310  //associates tracker rechits/simhits to a track
311  std::unique_ptr<TrackerHitAssociator> associate;
312 
313  if (doMC_) {
314  iEvent.getByToken(tok_simTk_, SimTk);
315  iEvent.getByToken(tok_simVtx_, SimVtx);
316  iEvent.getByToken(tok_caloEB_, pcaloeb);
317  iEvent.getByToken(tok_caloEE_, pcaloee);
318  iEvent.getByToken(tok_caloHH_, pcalohh);
319  associate = std::make_unique<TrackerHitAssociator>(iEvent, trackerHitAssociatorConfig_);
320  }
321 
322  unsigned int nTracks = 0;
323  for (trkDetItr = trkCaloDirections.begin(), nTracks = 0; trkDetItr != trkCaloDirections.end();
324  trkDetItr++, nTracks++) {
325  const reco::Track *pTrack = &(*(trkDetItr->trkItr));
326  if (spr::goodTrack(pTrack, leadPV, selectionParameters_, (myverbose_ > 2)) && trkDetItr->okECAL &&
327  trkDetItr->okHCAL) {
328  int nRH_eMipDR = 0, nRH_eDR = 0, nNearTRKs = 0, nRecHitsCone = -99;
329  double distFromHotCell = -99.0, distFromHotCell2 = -99.0;
330  int ietaHotCell = -99, iphiHotCell = -99;
331  int ietaHotCell2 = -99, iphiHotCell2 = -99;
332  GlobalPoint gposHotCell(0., 0., 0.), gposHotCell2(0., 0., 0.);
333  std::vector<DetId> coneRecHitDetIds, coneRecHitDetIds2;
334  std::pair<double, bool> e11x11_20SigP, e15x15_20SigP;
335  double hCone = spr::eCone_hcal(geo,
336  hbhe,
337  trkDetItr->pointHCAL,
338  trkDetItr->pointECAL,
339  a_coneR_,
340  trkDetItr->directionHCAL,
341  nRecHitsCone,
342  coneRecHitDetIds,
343  distFromHotCell,
344  ietaHotCell,
345  iphiHotCell,
346  gposHotCell,
347  -1);
348  double hConeHB = spr::eCone_hcal(geo,
349  hbhe,
350  trkDetItr->pointHCAL,
351  trkDetItr->pointECAL,
352  a_coneR_,
353  trkDetItr->directionHCAL,
354  nRecHitsCone,
355  coneRecHitDetIds,
356  distFromHotCell,
357  ietaHotCell,
358  iphiHotCell,
359  gposHotCell,
360  (int)(HcalBarrel));
361  double eHCALDR = spr::eCone_hcal(geo,
362  hbhe,
363  trkDetItr->pointHCAL,
364  trkDetItr->pointECAL,
365  a_charIsoR_,
366  trkDetItr->directionHCAL,
367  nRecHitsCone,
368  coneRecHitDetIds2,
369  distFromHotCell2,
370  ietaHotCell2,
371  iphiHotCell2,
372  gposHotCell2,
373  -1);
374  double eHCALDRHB = spr::eCone_hcal(geo,
375  hbhe,
376  trkDetItr->pointHCAL,
377  trkDetItr->pointECAL,
378  a_charIsoR_,
379  trkDetItr->directionHCAL,
380  nRecHitsCone,
381  coneRecHitDetIds2,
382  distFromHotCell2,
383  ietaHotCell2,
384  iphiHotCell2,
385  gposHotCell2,
386  (int)(HcalBarrel));
387 
388  double conehmaxNearP =
389  spr::chargeIsolationCone(nTracks, trkCaloDirections, a_charIsoR_, nNearTRKs, (myverbose_ > 3));
390 
391  double eMipDR = spr::eCone_ecal(geo,
392  barrelRecHitsHandle,
393  endcapRecHitsHandle,
394  trkDetItr->pointHCAL,
395  trkDetItr->pointECAL,
396  a_mipR_,
397  trkDetItr->directionECAL,
398  nRH_eMipDR);
399  double eECALDR = spr::eCone_ecal(geo,
400  barrelRecHitsHandle,
401  endcapRecHitsHandle,
402  trkDetItr->pointHCAL,
403  trkDetItr->pointECAL,
404  a_neutIsoR_,
405  trkDetItr->directionECAL,
406  nRH_eDR);
407  double eMipDR_1 = spr::eCone_ecal(geo,
408  barrelRecHitsHandle,
409  endcapRecHitsHandle,
410  trkDetItr->pointHCAL,
411  trkDetItr->pointECAL,
412  a_mipR_,
413  trkDetItr->directionECAL,
414  nRH_eMipDR,
415  0.030,
416  0.150);
417  double eECALDR_1 = spr::eCone_ecal(geo,
418  barrelRecHitsHandle,
419  endcapRecHitsHandle,
420  trkDetItr->pointHCAL,
421  trkDetItr->pointECAL,
422  a_neutIsoR_,
423  trkDetItr->directionECAL,
424  nRH_eDR,
425  0.030,
426  0.150);
427  double eMipDR_2 = spr::eCone_ecal(geo,
428  barrelRecHitsHandle,
429  endcapRecHitsHandle,
430  trkDetItr->pointHCAL,
431  trkDetItr->pointECAL,
432  a_mipR_,
433  trkDetItr->directionECAL,
434  nRH_eMipDR,
435  0.060,
436  0.300);
437  double eECALDR_2 = spr::eCone_ecal(geo,
438  barrelRecHitsHandle,
439  endcapRecHitsHandle,
440  trkDetItr->pointHCAL,
441  trkDetItr->pointECAL,
442  a_neutIsoR_,
443  trkDetItr->directionECAL,
444  nRH_eDR,
445  0.060,
446  0.300);
447 
448  HcalDetId closestCell = (HcalDetId)(trkDetItr->detIdHCAL);
449 
451  iSetup.get<EcalSeverityLevelAlgoRcd>().get(sevlv);
452 
453  e11x11_20SigP = spr::eECALmatrix(trkDetItr->detIdECAL,
454  barrelRecHitsHandle,
455  endcapRecHitsHandle,
456  *theEcalChStatus,
457  geo,
458  caloTopology,
459  sevlv.product(),
460  5,
461  5,
462  0.060,
463  0.300,
464  tMinE_,
465  tMaxE_);
466  e15x15_20SigP = spr::eECALmatrix(trkDetItr->detIdECAL,
467  barrelRecHitsHandle,
468  endcapRecHitsHandle,
469  *theEcalChStatus,
470  geo,
471  caloTopology,
472  sevlv.product(),
473  7,
474  7,
475  0.060,
476  0.300,
477  tMinE_,
478  tMaxE_);
479 
480  // Fill the tree Branches here
481  t_trackP->push_back(pTrack->p());
482  t_trackPt->push_back(pTrack->pt());
483  t_trackEta->push_back(pTrack->momentum().eta());
484  t_trackPhi->push_back(pTrack->momentum().phi());
485  t_trackHcalEta->push_back(closestCell.ieta());
486  t_trackHcalPhi->push_back(closestCell.iphi());
487  t_hCone->push_back(hCone);
488  t_conehmaxNearP->push_back(conehmaxNearP);
489  t_eMipDR->push_back(eMipDR);
490  t_eECALDR->push_back(eECALDR);
491  t_eHCALDR->push_back(eHCALDR);
492  t_e11x11_20Sig->push_back(e11x11_20SigP.first);
493  t_e15x15_20Sig->push_back(e15x15_20SigP.first);
494  t_eMipDR_1->push_back(eMipDR_1);
495  t_eECALDR_1->push_back(eECALDR_1);
496  t_eMipDR_2->push_back(eMipDR_2);
497  t_eECALDR_2->push_back(eECALDR_2);
498  t_hConeHB->push_back(hConeHB);
499  t_eHCALDRHB->push_back(eHCALDRHB);
500 
501  if (myverbose_ > 0) {
502  edm::LogVerbatim("IsoTrack") << "Track p " << pTrack->p() << " pt " << pTrack->pt() << " eta "
503  << pTrack->momentum().eta() << " phi " << pTrack->momentum().phi()
504  << " ieta/iphi (" << closestCell.ieta() << ", " << closestCell.iphi()
505  << ") Energy in cone " << hCone << " Charge Isolation " << conehmaxNearP
506  << " eMIP (" << eMipDR << ", " << eMipDR_1 << ", " << eMipDR_2 << ")"
507  << " Neutral isolation (ECAL) (" << eECALDR - eMipDR << ", "
508  << eECALDR_1 - eMipDR_1 << ", " << eECALDR_2 - eMipDR_2 << ") (ECAL NxN) "
509  << e15x15_20SigP.first - e11x11_20SigP.first << " (HCAL) " << eHCALDR - hCone;
510  }
511 
512  if (doMC_) {
513  int nSimHits = -999;
514  double hsim;
515  std::map<std::string, double> hsimInfo;
516  std::vector<int> multiplicity;
517  hsim = spr::eCone_hcal(
518  geo, pcalohh, trkDetItr->pointHCAL, trkDetItr->pointECAL, a_coneR_, trkDetItr->directionHCAL, nSimHits);
519  hsimInfo = spr::eHCALSimInfoCone(iEvent,
520  pcalohh,
521  SimTk,
522  SimVtx,
523  pTrack,
524  *associate,
525  geo,
526  trkDetItr->pointHCAL,
527  trkDetItr->pointECAL,
528  a_coneR_,
529  trkDetItr->directionHCAL,
530  multiplicity);
531 
532  t_hsimInfoMatched->push_back(hsimInfo["eMatched"]);
533  t_hsimInfoRest->push_back(hsimInfo["eRest"]);
534  t_hsimInfoPhoton->push_back(hsimInfo["eGamma"]);
535  t_hsimInfoNeutHad->push_back(hsimInfo["eNeutralHad"]);
536  t_hsimInfoCharHad->push_back(hsimInfo["eChargedHad"]);
537  t_hsimInfoPdgMatched->push_back(hsimInfo["pdgMatched"]);
538  t_hsimInfoTotal->push_back(hsimInfo["eTotal"]);
539 
540  t_hsimInfoNMatched->push_back(multiplicity.at(0));
541  t_hsimInfoNTotal->push_back(multiplicity.at(1));
542  t_hsimInfoNNeutHad->push_back(multiplicity.at(2));
543  t_hsimInfoNCharHad->push_back(multiplicity.at(3));
544  t_hsimInfoNPhoton->push_back(multiplicity.at(4));
545  t_hsimInfoNRest->push_back(multiplicity.at(5));
546 
547  t_hsim->push_back(hsim);
548  t_nSimHits->push_back(nSimHits);
549 
550  if (myverbose_ > 0) {
551  edm::LogVerbatim("IsoTrack") << "Matched (E) " << hsimInfo["eMatched"] << " (N) " << multiplicity.at(0)
552  << " Rest (E) " << hsimInfo["eRest"] << " (N) " << multiplicity.at(1)
553  << " Gamma (E) " << hsimInfo["eGamma"] << " (N) " << multiplicity.at(2)
554  << " Neutral Had (E) " << hsimInfo["eNeutralHad"] << " (N) "
555  << multiplicity.at(3) << " Charged Had (E) " << hsimInfo["eChargedHad"]
556  << " (N) " << multiplicity.at(4) << " Total (E) " << hsimInfo["eTotal"]
557  << " (N) " << multiplicity.at(5) << " PDG " << hsimInfo["pdgMatched"]
558  << " Total E " << hsim << " NHit " << nSimHits;
559  }
560  }
561  }
562  }
563 
564  tree_->Fill();
565 }

References a_charIsoR_, a_coneR_, a_mipR_, a_neutIsoR_, Calorimetry_cff::bField, spr::chargeIsolationCone(), clearTreeVectors(), doMC_, spr::eCone_ecal(), spr::eCone_hcal(), spr::eECALmatrix(), edm::EventSetup::get(), get, spr::goodTrack(), photonIsolationHIProducer_cfi::hbhe, HcalBarrel, HcalDetId::ieta(), iEvent, HcalDetId::iphi(), edm::HandleBase::isValid(), reco::TrackBase::momentum(), myverbose_, nEventProc_, BeamSpotPI::nTracks, reco::TrackBase::p(), reco::BeamSpot::position(), edm::ESHandle< T >::product(), spr::propagateCALO(), reco::TrackBase::pt(), selectionParameters_, t_Bunch, t_conehmaxNearP, t_e11x11_20Sig, t_e15x15_20Sig, t_eECALDR, t_eECALDR_1, t_eECALDR_2, t_eHCALDR, t_eHCALDRHB, t_eMipDR, t_eMipDR_1, t_eMipDR_2, t_EvtNo, t_hCone, t_hConeHB, t_hsim, t_hsimInfoCharHad, t_hsimInfoMatched, t_hsimInfoNCharHad, t_hsimInfoNeutHad, t_hsimInfoNMatched, t_hsimInfoNNeutHad, t_hsimInfoNPhoton, t_hsimInfoNRest, t_hsimInfoNTotal, t_hsimInfoPdgMatched, t_hsimInfoPhoton, t_hsimInfoRest, t_hsimInfoTotal, t_Lumi, t_nSimHits, t_RunNo, t_trackEta, t_trackHcalEta, t_trackHcalPhi, t_trackP, t_trackPhi, t_trackPt, theTrackQuality_, tMaxE_, tMinE_, tok_bs_, tok_caloEB_, tok_caloEE_, tok_caloHH_, tok_EB_, tok_EE_, tok_genTrack_, tok_hbhe_, tok_recVtx_, tok_simTk_, tok_simVtx_, trackerHitAssociatorConfig_, tree_, x, y, and z.

◆ beginJob()

void IsolatedTracksHcalScale::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 567 of file IsolatedTracksHcalScale.cc.

567  {
568  nEventProc_ = 0;
570 
572  tree_ = fs->make<TTree>("tree", "tree");
573  tree_->SetAutoSave(10000);
574 
575  tree_->Branch("t_RunNo", &t_RunNo, "t_RunNo/I");
576  tree_->Branch("t_Lumi", &t_Lumi, "t_Lumi/I");
577  tree_->Branch("t_Bunch", &t_Bunch, "t_Bunch/I");
578 
579  t_trackP = new std::vector<double>();
580  t_trackPt = new std::vector<double>();
581  t_trackEta = new std::vector<double>();
582  t_trackPhi = new std::vector<double>();
583  t_trackHcalEta = new std::vector<double>();
584  t_trackHcalPhi = new std::vector<double>();
585  t_hCone = new std::vector<double>();
586  t_conehmaxNearP = new std::vector<double>();
587  t_eMipDR = new std::vector<double>();
588  t_eECALDR = new std::vector<double>();
589  t_eHCALDR = new std::vector<double>();
590  t_e11x11_20Sig = new std::vector<double>();
591  t_e15x15_20Sig = new std::vector<double>();
592  t_eMipDR_1 = new std::vector<double>();
593  t_eECALDR_1 = new std::vector<double>();
594  t_eMipDR_2 = new std::vector<double>();
595  t_eECALDR_2 = new std::vector<double>();
596  t_hConeHB = new std::vector<double>();
597  t_eHCALDRHB = new std::vector<double>();
598 
599  tree_->Branch("t_trackP", "std::vector<double>", &t_trackP);
600  tree_->Branch("t_trackPt", "std::vector<double>", &t_trackPt);
601  tree_->Branch("t_trackEta", "std::vector<double>", &t_trackEta);
602  tree_->Branch("t_trackPhi", "std::vector<double>", &t_trackPhi);
603  tree_->Branch("t_trackHcalEta", "std::vector<double>", &t_trackHcalEta);
604  tree_->Branch("t_trackHcalPhi", "std::vector<double>", &t_trackHcalPhi);
605  tree_->Branch("t_hCone", "std::vector<double>", &t_hCone);
606  tree_->Branch("t_conehmaxNearP", "std::vector<double>", &t_conehmaxNearP);
607  tree_->Branch("t_eMipDR", "std::vector<double>", &t_eMipDR);
608  tree_->Branch("t_eECALDR", "std::vector<double>", &t_eECALDR);
609  tree_->Branch("t_eHCALDR", "std::vector<double>", &t_eHCALDR);
610  tree_->Branch("t_e11x11_20Sig", "std::vector<double>", &t_e11x11_20Sig);
611  tree_->Branch("t_e15x15_20Sig", "std::vector<double>", &t_e15x15_20Sig);
612  tree_->Branch("t_eMipDR_1", "std::vector<double>", &t_eMipDR_1);
613  tree_->Branch("t_eECALDR_1", "std::vector<double>", &t_eECALDR_1);
614  tree_->Branch("t_eMipDR_2", "std::vector<double>", &t_eMipDR_2);
615  tree_->Branch("t_eECALDR_2", "std::vector<double>", &t_eECALDR_2);
616  tree_->Branch("t_hConeHB", "std::vector<double>", &t_hConeHB);
617  tree_->Branch("t_eHCALDRHB", "std::vector<double>", &t_eHCALDRHB);
618 
619  if (doMC_) {
620  t_hsimInfoMatched = new std::vector<double>();
621  t_hsimInfoRest = new std::vector<double>();
622  t_hsimInfoPhoton = new std::vector<double>();
623  t_hsimInfoNeutHad = new std::vector<double>();
624  t_hsimInfoCharHad = new std::vector<double>();
625  t_hsimInfoPdgMatched = new std::vector<double>();
626  t_hsimInfoTotal = new std::vector<double>();
627  t_hsimInfoNMatched = new std::vector<int>();
628  t_hsimInfoNTotal = new std::vector<int>();
629  t_hsimInfoNNeutHad = new std::vector<int>();
630  t_hsimInfoNCharHad = new std::vector<int>();
631  t_hsimInfoNPhoton = new std::vector<int>();
632  t_hsimInfoNRest = new std::vector<int>();
633  t_hsim = new std::vector<double>();
634  t_nSimHits = new std::vector<int>();
635 
636  tree_->Branch("t_hsimInfoMatched", "std::vector<double>", &t_hsimInfoMatched);
637  tree_->Branch("t_hsimInfoRest", "std::vector<double>", &t_hsimInfoRest);
638  tree_->Branch("t_hsimInfoPhoton", "std::vector<double>", &t_hsimInfoPhoton);
639  tree_->Branch("t_hsimInfoNeutHad", "std::vector<double>", &t_hsimInfoNeutHad);
640  tree_->Branch("t_hsimInfoCharHad", "std::vector<double>", &t_hsimInfoCharHad);
641  tree_->Branch("t_hsimInfoPdgMatched", "std::vector<double>", &t_hsimInfoPdgMatched);
642  tree_->Branch("t_hsimInfoTotal", "std::vector<double>", &t_hsimInfoTotal);
643  tree_->Branch("t_hsimInfoNMatched", "std::vector<int>", &t_hsimInfoNMatched);
644  tree_->Branch("t_hsimInfoNTotal", "std::vector<int>", &t_hsimInfoNTotal);
645  tree_->Branch("t_hsimInfoNNeutHad", "std::vector<int>", &t_hsimInfoNNeutHad);
646  tree_->Branch("t_hsimInfoNCharHad", "std::vector<int>", &t_hsimInfoNCharHad);
647  tree_->Branch("t_hsimInfoNPhoton", "std::vector<int>", &t_hsimInfoNPhoton);
648  tree_->Branch("t_hsimInfoNRest", "std::vector<int>", &t_hsimInfoNRest);
649  tree_->Branch("t_hsim", "std::vector<double>", &t_hsim);
650  tree_->Branch("t_nSimHits", "std::vector<int>", &t_nSimHits);
651  }
652 }

References doMC_, TFileService::make(), nEventProc_, t_Bunch, t_conehmaxNearP, t_e11x11_20Sig, t_e15x15_20Sig, t_eECALDR, t_eECALDR_1, t_eECALDR_2, t_eHCALDR, t_eHCALDRHB, t_eMipDR, t_eMipDR_1, t_eMipDR_2, t_hCone, t_hConeHB, t_hsim, t_hsimInfoCharHad, t_hsimInfoMatched, t_hsimInfoNCharHad, t_hsimInfoNeutHad, t_hsimInfoNMatched, t_hsimInfoNNeutHad, t_hsimInfoNPhoton, t_hsimInfoNRest, t_hsimInfoNTotal, t_hsimInfoPdgMatched, t_hsimInfoPhoton, t_hsimInfoRest, t_hsimInfoTotal, t_Lumi, t_nSimHits, t_RunNo, t_trackEta, t_trackHcalEta, t_trackHcalPhi, t_trackP, t_trackPhi, t_trackPt, and tree_.

◆ clearTreeVectors()

void IsolatedTracksHcalScale::clearTreeVectors ( )
private

Definition at line 656 of file IsolatedTracksHcalScale.cc.

656  {
657  t_trackP->clear();
658  t_trackPt->clear();
659  t_trackEta->clear();
660  t_trackPhi->clear();
661  t_trackHcalEta->clear();
662  t_trackHcalPhi->clear();
663  t_hCone->clear();
664  t_conehmaxNearP->clear();
665  t_eMipDR->clear();
666  t_eECALDR->clear();
667  t_eHCALDR->clear();
668  t_e11x11_20Sig->clear();
669  t_e15x15_20Sig->clear();
670  t_eMipDR_1->clear();
671  t_eECALDR_1->clear();
672  t_eMipDR_2->clear();
673  t_eECALDR_2->clear();
674  t_hConeHB->clear();
675  t_eHCALDRHB->clear();
676 
677  if (doMC_) {
678  t_hsimInfoMatched->clear();
679  t_hsimInfoRest->clear();
680  t_hsimInfoPhoton->clear();
681  t_hsimInfoNeutHad->clear();
682  t_hsimInfoCharHad->clear();
683  t_hsimInfoPdgMatched->clear();
684  t_hsimInfoTotal->clear();
685  t_hsimInfoNMatched->clear();
686  t_hsimInfoNTotal->clear();
687  t_hsimInfoNNeutHad->clear();
688  t_hsimInfoNCharHad->clear();
689  t_hsimInfoNPhoton->clear();
690  t_hsimInfoNRest->clear();
691  t_hsim->clear();
692  t_nSimHits->clear();
693  }
694 }

References doMC_, t_conehmaxNearP, t_e11x11_20Sig, t_e15x15_20Sig, t_eECALDR, t_eECALDR_1, t_eECALDR_2, t_eHCALDR, t_eHCALDRHB, t_eMipDR, t_eMipDR_1, t_eMipDR_2, t_hCone, t_hConeHB, t_hsim, t_hsimInfoCharHad, t_hsimInfoMatched, t_hsimInfoNCharHad, t_hsimInfoNeutHad, t_hsimInfoNMatched, t_hsimInfoNNeutHad, t_hsimInfoNPhoton, t_hsimInfoNRest, t_hsimInfoNTotal, t_hsimInfoPdgMatched, t_hsimInfoPhoton, t_hsimInfoRest, t_hsimInfoTotal, t_nSimHits, t_trackEta, t_trackHcalEta, t_trackHcalPhi, t_trackP, t_trackPhi, and t_trackPt.

Referenced by analyze().

◆ endJob()

void IsolatedTracksHcalScale::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 654 of file IsolatedTracksHcalScale.cc.

654 { edm::LogVerbatim("IsoTrack") << "Number of Events Processed " << nEventProc_; }

References nEventProc_.

Referenced by o2olib.O2ORunMgr::executeJob().

◆ fillDescriptions()

void IsolatedTracksHcalScale::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 213 of file IsolatedTracksHcalScale.cc.

213  {
215  desc.addUntracked<bool>("doMC", false);
216  desc.addUntracked<int>("Verbosity", 0);
217  desc.addUntracked<std::string>("TrackQuality", "highPurity");
218  desc.addUntracked<double>("MinTrackPt", 10.0);
219  desc.addUntracked<double>("MaxDxyPV", 0.02);
220  desc.addUntracked<double>("MaxDzPV", 0.02);
221  desc.addUntracked<double>("MaxChi2", 5.0);
222  desc.addUntracked<double>("MaxDpOverP", 0.1);
223  desc.addUntracked<int>("MinOuterHit", 4);
224  desc.addUntracked<int>("MinLayerCrossed", 8);
225  desc.addUntracked<int>("MaxInMiss", 0);
226  desc.addUntracked<int>("MaxOutMiss", 0);
227  desc.addUntracked<double>("ConeRadius", 34.98);
228  desc.addUntracked<double>("ConeRadiusMIP", 14.0);
229  desc.addUntracked<double>("TimeMinCutECAL", -500.0);
230  desc.addUntracked<double>("TimeMaxCutECAL", 500.0);
231  descriptions.add("isolatedTracksHcalScale", desc);
232 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.

Member Data Documentation

◆ a_charIsoR_

double IsolatedTracksHcalScale::a_charIsoR_
private

Definition at line 121 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ a_coneR_

double IsolatedTracksHcalScale::a_coneR_
private

Definition at line 121 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ a_mipR_

double IsolatedTracksHcalScale::a_mipR_
private

Definition at line 121 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ a_neutIsoR_

double IsolatedTracksHcalScale::a_neutIsoR_
private

Definition at line 121 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ doMC_

bool IsolatedTracksHcalScale::doMC_
private

◆ minQuality_

std::string IsolatedTracksHcalScale::minQuality_
private

Definition at line 119 of file IsolatedTracksHcalScale.cc.

◆ myverbose_

int IsolatedTracksHcalScale::myverbose_
private

Definition at line 118 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ nEventProc_

int IsolatedTracksHcalScale::nEventProc_
private

Definition at line 139 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and endJob().

◆ selectionParameters_

spr::trackSelectionParameters IsolatedTracksHcalScale::selectionParameters_
private

Definition at line 120 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ t_Bunch

int IsolatedTracksHcalScale::t_Bunch
private

Definition at line 143 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and beginJob().

◆ t_conehmaxNearP

std::vector<double> * IsolatedTracksHcalScale::t_conehmaxNearP
private

Definition at line 146 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_e11x11_20Sig

std::vector<double>* IsolatedTracksHcalScale::t_e11x11_20Sig
private

Definition at line 147 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_e15x15_20Sig

std::vector<double> * IsolatedTracksHcalScale::t_e15x15_20Sig
private

Definition at line 147 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_eECALDR

std::vector<double> * IsolatedTracksHcalScale::t_eECALDR
private

Definition at line 146 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_eECALDR_1

std::vector<double> * IsolatedTracksHcalScale::t_eECALDR_1
private

Definition at line 148 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_eECALDR_2

std::vector<double> * IsolatedTracksHcalScale::t_eECALDR_2
private

Definition at line 148 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_eHCALDR

std::vector<double> * IsolatedTracksHcalScale::t_eHCALDR
private

Definition at line 145 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_eHCALDRHB

std::vector<double> * IsolatedTracksHcalScale::t_eHCALDRHB
private

Definition at line 149 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_eMipDR

std::vector<double> * IsolatedTracksHcalScale::t_eMipDR
private

Definition at line 146 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_eMipDR_1

std::vector<double>* IsolatedTracksHcalScale::t_eMipDR_1
private

Definition at line 148 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_eMipDR_2

std::vector<double> * IsolatedTracksHcalScale::t_eMipDR_2
private

Definition at line 148 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_EvtNo

int IsolatedTracksHcalScale::t_EvtNo
private

Definition at line 143 of file IsolatedTracksHcalScale.cc.

Referenced by analyze().

◆ t_hCone

std::vector<double>* IsolatedTracksHcalScale::t_hCone
private

Definition at line 146 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hConeHB

std::vector<double>* IsolatedTracksHcalScale::t_hConeHB
private

Definition at line 149 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsim

std::vector<double> * IsolatedTracksHcalScale::t_hsim
private

Definition at line 152 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoCharHad

std::vector<double> * IsolatedTracksHcalScale::t_hsimInfoCharHad
private

Definition at line 151 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoMatched

std::vector<double>* IsolatedTracksHcalScale::t_hsimInfoMatched
private

Definition at line 150 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoNCharHad

std::vector<int>* IsolatedTracksHcalScale::t_hsimInfoNCharHad
private

Definition at line 154 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoNeutHad

std::vector<double>* IsolatedTracksHcalScale::t_hsimInfoNeutHad
private

Definition at line 151 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoNMatched

std::vector<int>* IsolatedTracksHcalScale::t_hsimInfoNMatched
private

Definition at line 153 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoNNeutHad

std::vector<int> * IsolatedTracksHcalScale::t_hsimInfoNNeutHad
private

Definition at line 153 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoNPhoton

std::vector<int> * IsolatedTracksHcalScale::t_hsimInfoNPhoton
private

Definition at line 154 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoNRest

std::vector<int> * IsolatedTracksHcalScale::t_hsimInfoNRest
private

Definition at line 154 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoNTotal

std::vector<int> * IsolatedTracksHcalScale::t_hsimInfoNTotal
private

Definition at line 153 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoPdgMatched

std::vector<double> * IsolatedTracksHcalScale::t_hsimInfoPdgMatched
private

Definition at line 151 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoPhoton

std::vector<double> * IsolatedTracksHcalScale::t_hsimInfoPhoton
private

Definition at line 150 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoRest

std::vector<double> * IsolatedTracksHcalScale::t_hsimInfoRest
private

Definition at line 150 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_hsimInfoTotal

std::vector<double>* IsolatedTracksHcalScale::t_hsimInfoTotal
private

Definition at line 152 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_Lumi

int IsolatedTracksHcalScale::t_Lumi
private

Definition at line 143 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and beginJob().

◆ t_nSimHits

std::vector<int>* IsolatedTracksHcalScale::t_nSimHits
private

Definition at line 155 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_nTracks

int IsolatedTracksHcalScale::t_nTracks
private

Definition at line 143 of file IsolatedTracksHcalScale.cc.

◆ t_RunNo

int IsolatedTracksHcalScale::t_RunNo
private

Definition at line 143 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and beginJob().

◆ t_trackEta

std::vector<double> * IsolatedTracksHcalScale::t_trackEta
private

Definition at line 144 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_trackHcalEta

std::vector<double>* IsolatedTracksHcalScale::t_trackHcalEta
private

Definition at line 145 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_trackHcalPhi

std::vector<double> * IsolatedTracksHcalScale::t_trackHcalPhi
private

Definition at line 145 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_trackP

std::vector<double>* IsolatedTracksHcalScale::t_trackP
private

Definition at line 144 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_trackPhi

std::vector<double> * IsolatedTracksHcalScale::t_trackPhi
private

Definition at line 144 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ t_trackPt

std::vector<double> * IsolatedTracksHcalScale::t_trackPt
private

Definition at line 144 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), beginJob(), and clearTreeVectors().

◆ theTrackQuality_

std::string IsolatedTracksHcalScale::theTrackQuality_
private

Definition at line 119 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tMaxE_

double IsolatedTracksHcalScale::tMaxE_
private

Definition at line 122 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tMinE_

double IsolatedTracksHcalScale::tMinE_
private

Definition at line 122 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_bs_

edm::EDGetTokenT<reco::BeamSpot> IsolatedTracksHcalScale::tok_bs_
private

Definition at line 128 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_caloEB_

edm::EDGetTokenT<edm::PCaloHitContainer> IsolatedTracksHcalScale::tok_caloEB_
private

Definition at line 135 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_caloEE_

edm::EDGetTokenT<edm::PCaloHitContainer> IsolatedTracksHcalScale::tok_caloEE_
private

Definition at line 136 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_caloHH_

edm::EDGetTokenT<edm::PCaloHitContainer> IsolatedTracksHcalScale::tok_caloHH_
private

Definition at line 137 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_EB_

edm::EDGetTokenT<EcalRecHitCollection> IsolatedTracksHcalScale::tok_EB_
private

Definition at line 129 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_EE_

edm::EDGetTokenT<EcalRecHitCollection> IsolatedTracksHcalScale::tok_EE_
private

Definition at line 130 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_genTrack_

edm::EDGetTokenT<reco::TrackCollection> IsolatedTracksHcalScale::tok_genTrack_
private

Definition at line 126 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_hbhe_

edm::EDGetTokenT<HBHERecHitCollection> IsolatedTracksHcalScale::tok_hbhe_
private

Definition at line 131 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_recVtx_

edm::EDGetTokenT<reco::VertexCollection> IsolatedTracksHcalScale::tok_recVtx_
private

Definition at line 127 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_simTk_

edm::EDGetTokenT<edm::SimTrackContainer> IsolatedTracksHcalScale::tok_simTk_
private

Definition at line 133 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ tok_simVtx_

edm::EDGetTokenT<edm::SimVertexContainer> IsolatedTracksHcalScale::tok_simVtx_
private

Definition at line 134 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and IsolatedTracksHcalScale().

◆ trackerHitAssociatorConfig_

TrackerHitAssociator::Config IsolatedTracksHcalScale::trackerHitAssociatorConfig_
private

Definition at line 124 of file IsolatedTracksHcalScale.cc.

Referenced by analyze().

◆ tree_

TTree* IsolatedTracksHcalScale::tree_
private

Definition at line 141 of file IsolatedTracksHcalScale.cc.

Referenced by analyze(), and beginJob().

spr::trackSelectionParameters::maxDxyPV
double maxDxyPV
Definition: TrackSelection.h:22
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
DDAxes::y
StandaloneTrackMonitor_cfi.trackQuality
trackQuality
Definition: StandaloneTrackMonitor_cfi.py:11
IsolatedTracksHcalScale::tok_simVtx_
edm::EDGetTokenT< edm::SimVertexContainer > tok_simVtx_
Definition: IsolatedTracksHcalScale.cc:134
IsolatedTracksHcalScale::tok_caloEE_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEE_
Definition: IsolatedTracksHcalScale.cc:136
IsolatedTracksHcalScale::clearTreeVectors
void clearTreeVectors()
Definition: IsolatedTracksHcalScale.cc:656
spr::trackSelectionParameters::maxDzPV
double maxDzPV
Definition: TrackSelection.h:22
IsolatedTracksHcalScale::t_hConeHB
std::vector< double > * t_hConeHB
Definition: IsolatedTracksHcalScale.cc:149
IsolatedTracksHcalScale::t_Lumi
int t_Lumi
Definition: IsolatedTracksHcalScale.cc:143
IsolatedTracksHcalScale::t_hsimInfoNPhoton
std::vector< int > * t_hsimInfoNPhoton
Definition: IsolatedTracksHcalScale.cc:154
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
spr::trackSelectionParameters::maxChi2
double maxChi2
Definition: TrackSelection.h:22
reco::TrackBase::p
double p() const
momentum vector magnitude
Definition: TrackBase.h:631
IsolatedTracksHcalScale::t_hsimInfoTotal
std::vector< double > * t_hsimInfoTotal
Definition: IsolatedTracksHcalScale.cc:152
IsolatedTracksHcalScale::theTrackQuality_
std::string theTrackQuality_
Definition: IsolatedTracksHcalScale.cc:119
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
IsolatedTracksHcalScale::t_hsim
std::vector< double > * t_hsim
Definition: IsolatedTracksHcalScale.cc:152
IsolatedTracksHcalScale::t_hsimInfoNTotal
std::vector< int > * t_hsimInfoNTotal
Definition: IsolatedTracksHcalScale.cc:153
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
IsolatedTracksHcalScale::t_hsimInfoNMatched
std::vector< int > * t_hsimInfoNMatched
Definition: IsolatedTracksHcalScale.cc:153
IsolatedTracksHcalScale::doMC_
bool doMC_
Definition: IsolatedTracksHcalScale.cc:117
IsolatedTracksHcalScale::tok_caloEB_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEB_
Definition: IsolatedTracksHcalScale.cc:135
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition: TrackBase.h:150
edm::SortedCollection
Definition: SortedCollection.h:49
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:46
IsolatedTracksHcalScale::a_charIsoR_
double a_charIsoR_
Definition: IsolatedTracksHcalScale.cc:121
spr::goodTrack
bool goodTrack(const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false)
Definition: TrackSelection.cc:10
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DDAxes::x
CaloTopologyRecord
Definition: CaloTopologyRecord.h:10
IsolatedTracksHcalScale::tree_
TTree * tree_
Definition: IsolatedTracksHcalScale.cc:141
HcalBarrel
Definition: HcalAssistant.h:33
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
BeamSpotPI::nTracks
Definition: BeamSpotPayloadInspectorHelper.h:41
edm::Handle< reco::TrackCollection >
CaloTopology
Definition: CaloTopology.h:19
IsolatedTracksHcalScale::t_hsimInfoNNeutHad
std::vector< int > * t_hsimInfoNNeutHad
Definition: IsolatedTracksHcalScale.cc:153
IsolatedTracksHcalScale::t_eMipDR_2
std::vector< double > * t_eMipDR_2
Definition: IsolatedTracksHcalScale.cc:148
IsolatedTracksHcalScale::t_hCone
std::vector< double > * t_hCone
Definition: IsolatedTracksHcalScale.cc:146
reco::TrackBase::pt
double pt() const
track transverse momentum
Definition: TrackBase.h:637
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
IsolatedTracksHcalScale::t_trackEta
std::vector< double > * t_trackEta
Definition: IsolatedTracksHcalScale.cc:144
CaloGeometry
Definition: CaloGeometry.h:21
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
IsolatedTracksHcalScale::t_hsimInfoNeutHad
std::vector< double > * t_hsimInfoNeutHad
Definition: IsolatedTracksHcalScale.cc:151
spr::eECALmatrix
double eECALmatrix(const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
IsolatedTracksHcalScale::trackerHitAssociatorConfig_
TrackerHitAssociator::Config trackerHitAssociatorConfig_
Definition: IsolatedTracksHcalScale.cc:124
IsolatedTracksHcalScale::t_trackPt
std::vector< double > * t_trackPt
Definition: IsolatedTracksHcalScale.cc:144
IsolatedTracksHcalScale::a_mipR_
double a_mipR_
Definition: IsolatedTracksHcalScale.cc:121
IsolatedTracksHcalScale::t_Bunch
int t_Bunch
Definition: IsolatedTracksHcalScale.cc:143
IsolatedTracksHcalScale::tMaxE_
double tMaxE_
Definition: IsolatedTracksHcalScale.cc:122
DDAxes::z
reco::Track
Definition: Track.h:27
edm::ESHandle< MagneticField >
EcalSeverityLevelAlgoRcd
Definition: EcalSeverityLevelAlgoRcd.h:12
IsolatedTracksHcalScale::tok_EE_
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
Definition: IsolatedTracksHcalScale.cc:130
IsolatedTracksHcalScale::tok_recVtx_
edm::EDGetTokenT< reco::VertexCollection > tok_recVtx_
Definition: IsolatedTracksHcalScale.cc:127
spr::trackSelectionParameters::minPt
double minPt
Definition: TrackSelection.h:20
spr::trackSelectionParameters::minOuterHit
int minOuterHit
Definition: TrackSelection.h:23
reco::BeamSpot::position
const Point & position() const
position
Definition: BeamSpot.h:59
Point3DBase< float, GlobalTag >
spr::chargeIsolationCone
double chargeIsolationCone(unsigned int trkIndex, std::vector< spr::propagatedTrackDirection > &trkDirs, double dR, int &nNearTRKs, bool debug=false)
Definition: ChargeIsolation.cc:288
IsolatedTracksHcalScale::t_hsimInfoNCharHad
std::vector< int > * t_hsimInfoNCharHad
Definition: IsolatedTracksHcalScale.cc:154
spr::trackSelectionParameters::maxDpOverP
double maxDpOverP
Definition: TrackSelection.h:22
spr::trackSelectionParameters::minLayerCrossed
int minLayerCrossed
Definition: TrackSelection.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
IsolatedTracksHcalScale::nEventProc_
int nEventProc_
Definition: IsolatedTracksHcalScale.cc:139
IsolatedTracksHcalScale::t_trackP
std::vector< double > * t_trackP
Definition: IsolatedTracksHcalScale.cc:144
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
IsolatedTracksHcalScale::t_EvtNo
int t_EvtNo
Definition: IsolatedTracksHcalScale.cc:143
IsolatedTracksHcalScale::t_hsimInfoCharHad
std::vector< double > * t_hsimInfoCharHad
Definition: IsolatedTracksHcalScale.cc:151
EcalChannelStatusRcd
Definition: EcalChannelStatusRcd.h:5
IsolatedTracksHcalScale::t_eMipDR_1
std::vector< double > * t_eMipDR_1
Definition: IsolatedTracksHcalScale.cc:148
spr::trackSelectionParameters::maxOutMiss
int maxOutMiss
Definition: TrackSelection.h:24
IsolatedTracksHcalScale::t_conehmaxNearP
std::vector< double > * t_conehmaxNearP
Definition: IsolatedTracksHcalScale.cc:146
HcalDetId
Definition: HcalDetId.h:12
edm::Service< TFileService >
spr::eCone_hcal
double eCone_hcal(const CaloGeometry *geo, edm::Handle< T > &hits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, int detOnly=-1, int useRaw=0, bool debug=false)
iEvent
int iEvent
Definition: GenABIO.cc:224
IsolatedTracksHcalScale::t_RunNo
int t_RunNo
Definition: IsolatedTracksHcalScale.cc:143
IsolatedTracksHcalScale::selectionParameters_
spr::trackSelectionParameters selectionParameters_
Definition: IsolatedTracksHcalScale.cc:120
IsolatedTracksHcalScale::tok_bs_
edm::EDGetTokenT< reco::BeamSpot > tok_bs_
Definition: IsolatedTracksHcalScale.cc:128
IsolatedTracksHcalScale::t_eECALDR_1
std::vector< double > * t_eECALDR_1
Definition: IsolatedTracksHcalScale.cc:148
IsolatedTracksHcalScale::a_coneR_
double a_coneR_
Definition: IsolatedTracksHcalScale.cc:121
IsolatedTracksHcalScale::t_trackHcalPhi
std::vector< double > * t_trackHcalPhi
Definition: IsolatedTracksHcalScale.cc:145
IsolatedTracksHcalScale::t_eECALDR_2
std::vector< double > * t_eECALDR_2
Definition: IsolatedTracksHcalScale.cc:148
IsolatedTracksHcalScale::t_eHCALDR
std::vector< double > * t_eHCALDR
Definition: IsolatedTracksHcalScale.cc:145
get
#define get
spr::trackSelectionParameters::minQuality
reco::TrackBase::TrackQuality minQuality
Definition: TrackSelection.h:21
IsolatedTracksHcalScale::t_eECALDR
std::vector< double > * t_eECALDR
Definition: IsolatedTracksHcalScale.cc:146
IsolatedTracksHcalScale::t_e11x11_20Sig
std::vector< double > * t_e11x11_20Sig
Definition: IsolatedTracksHcalScale.cc:147
IsolatedTracksHcalScale::t_hsimInfoNRest
std::vector< int > * t_hsimInfoNRest
Definition: IsolatedTracksHcalScale.cc:154
IsolatedTracksHcalScale::t_hsimInfoPdgMatched
std::vector< double > * t_hsimInfoPdgMatched
Definition: IsolatedTracksHcalScale.cc:151
photonIsolationHIProducer_cfi.hbhe
hbhe
Definition: photonIsolationHIProducer_cfi.py:8
spr::propagateCALO
std::vector< spr::propagatedTrackID > propagateCALO(edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, const std::string &theTrackQuality, bool debug=false)
Definition: CaloPropagateTrack.cc:141
reco::TrackBase::qualityByName
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
IsolatedTracksHcalScale::t_eMipDR
std::vector< double > * t_eMipDR
Definition: IsolatedTracksHcalScale.cc:146
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
IsolatedTracksHcalScale::tok_caloHH_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloHH_
Definition: IsolatedTracksHcalScale.cc:137
IsolatedTracksHcalScale::myverbose_
int myverbose_
Definition: IsolatedTracksHcalScale.cc:118
IsolatedTracksHcalScale::tok_EB_
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
Definition: IsolatedTracksHcalScale.cc:129
Calorimetry_cff.bField
bField
Definition: Calorimetry_cff.py:292
IsolatedTracksHcalScale::tok_simTk_
edm::EDGetTokenT< edm::SimTrackContainer > tok_simTk_
Definition: IsolatedTracksHcalScale.cc:133
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
spr::trackSelectionParameters::maxInMiss
int maxInMiss
Definition: TrackSelection.h:24
IsolatedTracksHcalScale::tMinE_
double tMinE_
Definition: IsolatedTracksHcalScale.cc:122
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
IsolatedTracksHcalScale::a_neutIsoR_
double a_neutIsoR_
Definition: IsolatedTracksHcalScale.cc:121
IsolatedTracksHcalScale::t_eHCALDRHB
std::vector< double > * t_eHCALDRHB
Definition: IsolatedTracksHcalScale.cc:149
IsolatedTracksHcalScale::t_e15x15_20Sig
std::vector< double > * t_e15x15_20Sig
Definition: IsolatedTracksHcalScale.cc:147
IsolatedTracksHcalScale::t_trackHcalEta
std::vector< double > * t_trackHcalEta
Definition: IsolatedTracksHcalScale.cc:145
IsolatedTracksHcalScale::t_nSimHits
std::vector< int > * t_nSimHits
Definition: IsolatedTracksHcalScale.cc:155
IsolatedTracksHcalScale::tok_genTrack_
edm::EDGetTokenT< reco::TrackCollection > tok_genTrack_
Definition: IsolatedTracksHcalScale.cc:126
IsolatedTracksHcalScale::t_hsimInfoRest
std::vector< double > * t_hsimInfoRest
Definition: IsolatedTracksHcalScale.cc:150
reco::TrackBase::momentum
const Vector & momentum() const
track momentum vector
Definition: TrackBase.h:664
IsolatedTracksHcalScale::t_hsimInfoPhoton
std::vector< double > * t_hsimInfoPhoton
Definition: IsolatedTracksHcalScale.cc:150
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
spr::eCone_ecal
double eCone_ecal(const CaloGeometry *geo, edm::Handle< T > &barrelhits, edm::Handle< T > &endcaphits, const GlobalPoint &hpoint1, const GlobalPoint &point1, double dR, const GlobalVector &trackMom, int &nRecHits, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)
MagneticField
Definition: MagneticField.h:19
edm::Log
Definition: MessageLogger.h:70
IsolatedTracksHcalScale::tok_hbhe_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
Definition: IsolatedTracksHcalScale.cc:131
edm::InputTag
Definition: InputTag.h:15
IsolatedTracksHcalScale::t_hsimInfoMatched
std::vector< double > * t_hsimInfoMatched
Definition: IsolatedTracksHcalScale.cc:150
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
IsolatedTracksHcalScale::t_trackPhi
std::vector< double > * t_trackPhi
Definition: IsolatedTracksHcalScale.cc:144