CMS 3D CMS Logo

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

Public Member Functions

 HcalIsoTrackAnalyzer (edm::ParameterSet const &)
 
 ~HcalIsoTrackAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const noexcept final
 
bool wantsGlobalRuns () const noexcept final
 
bool wantsInputProcessBlocks () const noexcept final
 
bool wantsProcessBlocks () const noexcept 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 noexcept
 
bool wantsStreamRuns () const noexcept
 
 ~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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > 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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices 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 (edm::Event const &, edm::EventSetup const &) override
 
void beginJob () override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
double gainFactor (const HcalDbService *dbserv, const HcalDetId &id)
 
double respCorr (const DetId &id)
 

Private Attributes

const int dataType_
 
const std::vector< int > debEvents_
 
const bool fillInRange_
 
const edm::InputTag labelIsoTkEvt_
 
const edm::InputTag labelIsoTkVar_
 
unsigned int nHigh_
 
unsigned int nLow_
 
unsigned int nRange_
 
unsigned int nRun_
 
const double pTrackHigh_
 
const double pTrackLow_
 
HcalRespCorrsrespCorrs_
 
int t_allvertex
 
int t_DataType
 
std::vector< unsigned int > t_DetIds
 
std::vector< unsigned int > t_DetIds1
 
std::vector< unsigned int > t_DetIds3
 
double t_eAnnular
 
double t_eHcal
 
double t_eHcal10
 
double t_eHcal30
 
double t_emaxNearP
 
double t_eMipDR
 
double t_eMipDR2
 
double t_eMipDR3
 
double t_eMipDR4
 
double t_eMipDR5
 
int t_Event
 
unsigned int t_EventNo
 
double t_EventWeight
 
double t_gentrackP
 
int t_goodPV
 
double t_hAnnular
 
std::vector< double > t_HitEnergies
 
std::vector< double > t_HitEnergies1
 
std::vector< double > t_HitEnergies3
 
std::vector< bool > t_hltbits
 
double t_hmaxNearP
 
int t_ieta
 
std::vector< int > t_ietaAll
 
std::vector< int > t_ietaGood
 
int t_iphi
 
bool t_L1Bit
 
double t_l1eta
 
double t_l1phi
 
double t_l1pt
 
double t_l3eta
 
double t_l3phi
 
double t_l3pt
 
double t_mindR1
 
double t_mindR2
 
int t_nTrk
 
int t_nVtx
 
double t_p
 
double t_phi
 
double t_pt
 
bool t_qltyFlag
 
bool t_qltyMissFlag
 
bool t_qltyPVFlag
 
double t_rhoh
 
int t_Run
 
unsigned int t_RunNo
 
bool t_selectTk
 
int t_Tracks
 
int t_TracksLoose
 
int t_TracksProp
 
int t_TracksSaved
 
int t_TracksTight
 
std::vector< int > t_trackType
 
std::vector< bool > t_trgbits
 
bool t_TrigPass
 
bool t_TrigPassSel
 
const HcalTopologytheHBHETopology_
 
const edm::ESGetToken< HcalDbService, HcalDbRecordtok_dbservice_
 
const edm::ESGetToken< HcalTopology, HcalRecNumberingRecordtok_htopo_
 
const edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcdtok_respcorr_
 
edm::EDGetTokenT< HcalIsoTrkEventVariablesCollectiontokIsoTrkEvt_
 
edm::EDGetTokenT< HcalIsoTrkCalibVariablesCollectiontokIsoTrkVar_
 
TTree * tree
 
TTree * tree2
 
const int unCorrect_
 
const int useRaw_
 

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
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 32 of file HcalIsoTrackAnalyzer.cc.

Constructor & Destructor Documentation

◆ HcalIsoTrackAnalyzer()

HcalIsoTrackAnalyzer::HcalIsoTrackAnalyzer ( edm::ParameterSet const &  iConfig)
explicit

Definition at line 86 of file HcalIsoTrackAnalyzer.cc.

References dataType_, debEvents_, fillInRange_, TFileService::kSharedResource, labelIsoTkEvt_, labelIsoTkVar_, pTrackHigh_, pTrackLow_, unCorrect_, and useRaw_.

87  : pTrackLow_(iConfig.getParameter<double>("momentumLow")),
88  pTrackHigh_(iConfig.getParameter<double>("momentumHigh")),
89  useRaw_(iConfig.getUntrackedParameter<int>("useRaw", 0)),
90  dataType_(iConfig.getUntrackedParameter<int>("dataType", 0)),
91  unCorrect_(iConfig.getUntrackedParameter<int>("unCorrect", 0)),
92  fillInRange_(iConfig.getUntrackedParameter<bool>("fillInRange", false)),
93  labelIsoTkVar_(iConfig.getParameter<edm::InputTag>("isoTrackVarLabel")),
94  labelIsoTkEvt_(iConfig.getParameter<edm::InputTag>("isoTrackEvtLabel")),
95  debEvents_(iConfig.getParameter<std::vector<int>>("debugEvents")),
96  tok_htopo_(esConsumes<HcalTopology, HcalRecNumberingRecord, edm::Transition::BeginRun>()),
97  tok_respcorr_(esConsumes<HcalRespCorrs, HcalRespCorrsRcd, edm::Transition::BeginRun>()),
98  tok_dbservice_(esConsumes<HcalDbService, HcalDbRecord>()),
99  tokIsoTrkVar_(consumes<HcalIsoTrkCalibVariablesCollection>(labelIsoTkVar_)),
100  tokIsoTrkEvt_(consumes<HcalIsoTrkEventVariablesCollection>(labelIsoTkEvt_)),
101  theHBHETopology_(nullptr),
102  respCorrs_(nullptr),
103  nRun_(0),
104  nRange_(0),
105  nLow_(0),
106  nHigh_(0) {
107  usesResource(TFileService::kSharedResource);
108 
109  //now do whatever initialization is needed
110  edm::LogVerbatim("HcalIsoTrack") << "Labels used " << labelIsoTkVar_ << " " << labelIsoTkEvt_;
111 
112  edm::LogVerbatim("HcalIsoTrack") << "Parameters read from config file \n\t momentumLow_ " << pTrackLow_
113  << "\t momentumHigh_ " << pTrackHigh_ << "\t useRaw_ " << useRaw_
114  << "\t dataType_ " << dataType_ << "\t unCorrect " << unCorrect_
115  << "\t fillInRange " << fillInRange_ << "\t and " << debEvents_.size()
116  << " events to be debugged";
117 }
static const std::string kSharedResource
Definition: TFileService.h:76
Log< level::Info, true > LogVerbatim
const HcalTopology * theHBHETopology_
const std::vector< int > debEvents_
const edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbservice_
edm::EDGetTokenT< HcalIsoTrkEventVariablesCollection > tokIsoTrkEvt_
const edm::InputTag labelIsoTkEvt_
const edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcd > tok_respcorr_
edm::EDGetTokenT< HcalIsoTrkCalibVariablesCollection > tokIsoTrkVar_
const edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_htopo_
const edm::InputTag labelIsoTkVar_

◆ ~HcalIsoTrackAnalyzer()

HcalIsoTrackAnalyzer::~HcalIsoTrackAnalyzer ( )
override

Definition at line 119 of file HcalIsoTrackAnalyzer.cc.

References respCorrs_.

119  {
120  if (respCorrs_)
121  delete respCorrs_;
122 }

Member Function Documentation

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 124 of file HcalIsoTrackAnalyzer.cc.

References PixelBaryCentreAnalyzer_cfg::conditions, alignCSCRings::corr, dataType_, debEvents_, debug, fillInRange_, spr::find(), gainFactor(), edm::EventSetup::getData(), iEvent, isotrackApplyRegressor::k, nHigh_, nLow_, nRange_, pTrackHigh_, pTrackLow_, respCorr(), singleTopDQM_cfi::select, t_allvertex, t_DataType, t_DetIds, t_DetIds1, t_DetIds3, t_eAnnular, t_eHcal, t_eHcal10, t_eHcal30, t_emaxNearP, t_eMipDR, t_eMipDR2, t_eMipDR3, t_eMipDR4, t_eMipDR5, t_Event, t_EventNo, t_EventWeight, t_gentrackP, t_goodPV, t_hAnnular, t_HitEnergies, t_HitEnergies1, t_HitEnergies3, t_hltbits, t_hmaxNearP, t_ieta, t_ietaAll, t_ietaGood, t_iphi, t_L1Bit, t_l1eta, t_l1phi, t_l1pt, t_l3eta, t_l3phi, t_l3pt, t_mindR1, t_mindR2, t_nTrk, t_nVtx, t_p, t_phi, t_pt, t_qltyFlag, t_qltyMissFlag, t_qltyPVFlag, t_rhoh, t_Run, t_RunNo, t_selectTk, t_Tracks, t_TracksLoose, t_TracksProp, t_TracksSaved, t_TracksTight, t_trackType, t_trgbits, t_TrigPass, t_TrigPassSel, tok_dbservice_, tokIsoTrkEvt_, tokIsoTrkVar_, tree2, unCorrect_, and useRaw_.

124  {
125  const HcalDbService* conditions = &iSetup.getData(tok_dbservice_);
126  t_Run = iEvent.id().run();
127  t_Event = iEvent.id().event();
129 #ifdef EDM_ML_DEBUG
130  bool debug = (debEvents_.empty())
131  ? true
132  : (std::find(debEvents_.begin(), debEvents_.end(), iEvent.id().event()) != debEvents_.end());
133  if (debug)
134  edm::LogVerbatim("HcalIsoTrack") << "Run " << t_Run << " Event " << t_Event << " type " << t_DataType
135  << " Luminosity " << iEvent.luminosityBlock() << " Bunch "
136  << iEvent.bunchCrossing();
137 #endif
138 
139  // Fill from IsoTrkCalibVariables collection
140  auto const& isotrkCalibColl = iEvent.getHandle(tokIsoTrkVar_);
141  if (isotrkCalibColl.isValid()) {
142  auto isotrkCalib = *isotrkCalibColl.product();
143 #ifdef EDM_ML_DEBUG
144  if (debug)
145  edm::LogVerbatim("HcalIsoTrack") << "Finds HcalIsoTrkCalibVariablesCollection with " << isotrkCalib.size()
146  << " entries";
147  int k(0);
148 #endif
149  for (const auto& itr : isotrkCalib) {
150  t_ieta = itr.ieta_;
151  t_iphi = itr.iphi_;
152  t_goodPV = itr.goodPV_;
153  t_nVtx = itr.nVtx_;
154  t_nTrk = itr.nTrk_;
155  t_EventWeight = itr.eventWeight_;
156  t_p = itr.p_;
157  t_pt = itr.pt_;
158  t_phi = itr.phi_;
159 #ifdef EDM_ML_DEBUG
160  ++k;
161  if (debug)
162  edm::LogVerbatim("HcalIsoTrack") << "Track " << k << " p:pt:phi " << t_p << ":" << t_pt << ":" << t_phi
163  << " nvtx:ntrk:goodPV:wt " << t_nVtx << ":" << t_nTrk << ":" << t_goodPV << ":"
164  << t_EventWeight << " ieta:iphi " << t_ieta << ":" << t_iphi;
165 #endif
166  t_l1pt = itr.l1pt_;
167  t_l1eta = itr.l1eta_;
168  t_l1phi = itr.l1phi_;
169  t_l3pt = itr.l3pt_;
170  t_l3eta = itr.l3eta_;
171  t_l3phi = itr.l3phi_;
172  t_mindR1 = itr.mindR1_;
173  t_mindR2 = itr.mindR2_;
174 #ifdef EDM_ML_DEBUG
175  if (debug)
176  edm::LogVerbatim("HcalIsoTrack") << "L1 pt:eta:phi " << t_l1pt << ":" << t_l1eta << ":" << t_l1phi
177  << " L3 pt:eta:phi " << t_l3pt << ":" << t_l3eta << ":" << t_l3phi << " R1:R2 "
178  << t_mindR1 << ":" << t_mindR2;
179 #endif
180  t_eMipDR = itr.eMipDR_[0];
181  t_eMipDR2 = itr.eMipDR_[1];
182  t_eMipDR3 = itr.eMipDR_[2];
183  t_eMipDR4 = itr.eMipDR_[3];
184  t_eMipDR5 = itr.eMipDR_[4];
185 #ifdef EDM_ML_DEBUG
186  if (debug)
187  edm::LogVerbatim("HcalIsoTrack") << "eMIPDR 1:2:3:4:5 " << t_eMipDR << ":" << t_eMipDR2 << ":" << t_eMipDR3
188  << ":" << t_eMipDR4 << ":" << t_eMipDR5;
189 #endif
190  t_hmaxNearP = itr.hmaxNearP_;
191  t_emaxNearP = itr.emaxNearP_;
192  t_eAnnular = itr.eAnnular_;
193  t_hAnnular = itr.hAnnular_;
194 #ifdef EDM_ML_DEBUG
195  if (debug)
196  edm::LogVerbatim("HcalIsoTrack") << "emaxNearP:hmaxNearP " << t_emaxNearP << ":" << t_hmaxNearP
197  << " eAnnlar:hAnnular" << t_eAnnular << ":" << t_hAnnular;
198 #endif
199  t_gentrackP = itr.gentrackP_;
200  t_rhoh = itr.rhoh_;
201  t_selectTk = itr.selectTk_;
202  t_qltyFlag = itr.qltyFlag_;
203  t_qltyMissFlag = itr.qltyMissFlag_;
204  t_qltyPVFlag = itr.qltyPVFlag_;
205 #ifdef EDM_ML_DEBUG
206  if (debug)
207  edm::LogVerbatim("HcalIsoTrack") << "gentrackP " << t_gentrackP << " rhoh " << t_rhoh
208  << " qltyFlag:qltyMissFlag:qltyPVFlag:selectTk " << t_qltyFlag << ":"
209  << t_qltyMissFlag << ":" << t_qltyPVFlag << ":" << t_selectTk;
210 #endif
211  t_trgbits = itr.trgbits_;
212  t_DetIds = itr.detIds_;
213  t_DetIds1 = itr.detIds1_;
214  t_DetIds3 = itr.detIds3_;
215  if (useRaw_ == 1) {
216  t_eHcal = itr.eHcalAux_;
217  t_eHcal10 = itr.eHcal10Aux_;
218  t_eHcal30 = itr.eHcal30Aux_;
219  t_HitEnergies = itr.hitEnergiesAux_;
220  t_HitEnergies1 = itr.hitEnergies1Aux_;
221  t_HitEnergies3 = itr.hitEnergies3Aux_;
222  } else if (useRaw_ == 2) {
223  t_eHcal = itr.eHcalRaw_;
224  t_eHcal10 = itr.eHcal10Raw_;
225  t_eHcal30 = itr.eHcal30Raw_;
226  t_HitEnergies = itr.hitEnergiesRaw_;
227  t_HitEnergies1 = itr.hitEnergies1Raw_;
228  t_HitEnergies3 = itr.hitEnergies3Raw_;
229  } else {
230  t_eHcal = itr.eHcal_;
231  t_eHcal10 = itr.eHcal10_;
232  t_eHcal30 = itr.eHcal30_;
233  t_HitEnergies = itr.hitEnergies_;
234  t_HitEnergies1 = itr.hitEnergies1_;
235  t_HitEnergies3 = itr.hitEnergies3_;
236  if (unCorrect_ > 0) {
237  t_eHcal = t_eHcal10 = t_eHcal30 = 0;
238  for (unsigned int k = 0; k < t_DetIds.size(); ++k) {
240  if (corr != 0)
241  t_HitEnergies[k] /= corr;
242  t_eHcal += t_HitEnergies[k];
243  }
244  for (unsigned int k = 0; k < t_DetIds1.size(); ++k) {
246  if (corr != 0)
247  t_HitEnergies1[k] /= corr;
249  }
250  for (unsigned int k = 0; k < t_DetIds3.size(); ++k) {
252  if (corr != 0)
253  t_HitEnergies3[k] /= corr;
255  }
256  }
257  }
258 #ifdef EDM_ML_DEBUG
259  if (debug)
260  edm::LogVerbatim("HcalIsoTrack") << "eHcal:eHcal10:eHCal30 " << t_eHcal << ":" << t_eHcal10 << t_eHcal30;
261 #endif
262  bool select(true);
263  if (fillInRange_) {
264  if ((t_p < pTrackLow_) || (t_p > pTrackHigh_))
265  select = false;
266  }
267  if (select) {
268  tree->Fill();
269  edm::LogVerbatim("HcalIsoTrackX") << "Run " << t_Run << " Event " << t_Event << " p " << t_p;
270  }
271  if (t_p < pTrackLow_) {
272  ++nLow_;
273  } else if (t_p > pTrackHigh_) {
274  ++nHigh_;
275  } else {
276  ++nRange_;
277  }
278  }
279  } else {
280  edm::LogVerbatim("HcalIsoTrack") << "Cannot find HcalIsoTrkCalibVariablesCollection";
281  }
282 
283  // Fill from IsoTrkEventVariables collection
284  auto const& isotrkEventColl = iEvent.getHandle(tokIsoTrkEvt_);
285  if (isotrkEventColl.isValid()) {
286  auto isotrkEvent = isotrkEventColl.product();
287 #ifdef EDM_ML_DEBUG
288  if (debug)
289  edm::LogVerbatim("HcalIsoTrack") << "Finds HcalIsoTrkEventVariablesCollection with " << isotrkEvent->size()
290  << " entries";
291 #endif
292  auto itr = isotrkEvent->begin();
293  if (itr != isotrkEvent->end()) {
294  t_RunNo = iEvent.id().run();
295  t_EventNo = iEvent.id().event();
296  t_TrigPass = itr->trigPass_;
297  t_TrigPassSel = itr->trigPassSel_;
298  t_L1Bit = itr->l1Bit_;
299  t_Tracks = itr->tracks_;
300  t_TracksProp = itr->tracksProp_;
301  t_TracksSaved = itr->tracksSaved_;
302  t_TracksLoose = itr->tracksLoose_;
303  t_TracksTight = itr->tracksTight_;
304  t_allvertex = itr->allvertex_;
305  t_ietaAll = itr->ietaAll_;
306  t_ietaGood = itr->ietaGood_;
307  t_trackType = itr->trackType_;
308  t_hltbits = itr->hltbits_;
309  tree2->Fill();
310  }
311  } else {
312  edm::LogVerbatim("HcalIsoTrack") << "Cannot find HcalIsoTrkEventVariablesCollections";
313  }
314 }
Log< level::Info, true > LogVerbatim
std::vector< double > t_HitEnergies1
const std::vector< int > debEvents_
const edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbservice_
std::vector< double > t_HitEnergies3
edm::EDGetTokenT< HcalIsoTrkEventVariablesCollection > tokIsoTrkEvt_
std::vector< int > t_ietaGood
std::vector< unsigned int > t_DetIds3
std::vector< unsigned int > t_DetIds
std::vector< double > t_HitEnergies
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
int iEvent
Definition: GenABIO.cc:224
dictionary corr
double respCorr(const DetId &id)
std::vector< bool > t_trgbits
edm::EDGetTokenT< HcalIsoTrkCalibVariablesCollection > tokIsoTrkVar_
std::vector< int > t_ietaAll
#define debug
Definition: HDRShower.cc:19
double gainFactor(const HcalDbService *dbserv, const HcalDetId &id)
std::vector< int > t_trackType
std::vector< bool > t_hltbits
Definition: tree.py:1
std::vector< unsigned int > t_DetIds1

◆ beginJob()

void HcalIsoTrackAnalyzer::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 316 of file HcalIsoTrackAnalyzer.cc.

References compareTotals::fs, t_allvertex, t_DataType, t_DetIds, t_DetIds1, t_DetIds3, t_eAnnular, t_eHcal, t_eHcal10, t_eHcal30, t_emaxNearP, t_eMipDR, t_eMipDR2, t_eMipDR3, t_eMipDR4, t_eMipDR5, t_Event, t_EventNo, t_EventWeight, t_gentrackP, t_goodPV, t_hAnnular, t_HitEnergies, t_HitEnergies1, t_HitEnergies3, t_hltbits, t_hmaxNearP, t_ieta, t_ietaAll, t_ietaGood, t_iphi, t_L1Bit, t_l1eta, t_l1phi, t_l1pt, t_l3eta, t_l3phi, t_l3pt, t_mindR1, t_mindR2, t_nTrk, t_nVtx, t_p, t_phi, t_pt, t_qltyFlag, t_qltyMissFlag, t_qltyPVFlag, t_rhoh, t_Run, t_RunNo, t_selectTk, t_Tracks, t_TracksLoose, t_TracksProp, t_TracksSaved, t_TracksTight, t_trackType, t_trgbits, t_TrigPass, t_TrigPassSel, and tree2.

316  {
318  tree = fs->make<TTree>("CalibTree", "CalibTree");
319 
320  tree->Branch("t_Run", &t_Run, "t_Run/I");
321  tree->Branch("t_Event", &t_Event, "t_Event/I");
322  tree->Branch("t_DataType", &t_DataType, "t_DataType/I");
323  tree->Branch("t_ieta", &t_ieta, "t_ieta/I");
324  tree->Branch("t_iphi", &t_iphi, "t_iphi/I");
325  tree->Branch("t_EventWeight", &t_EventWeight, "t_EventWeight/D");
326  tree->Branch("t_nVtx", &t_nVtx, "t_nVtx/I");
327  tree->Branch("t_nTrk", &t_nTrk, "t_nTrk/I");
328  tree->Branch("t_goodPV", &t_goodPV, "t_goodPV/I");
329  tree->Branch("t_l1pt", &t_l1pt, "t_l1pt/D");
330  tree->Branch("t_l1eta", &t_l1eta, "t_l1eta/D");
331  tree->Branch("t_l1phi", &t_l1phi, "t_l1phi/D");
332  tree->Branch("t_l3pt", &t_l3pt, "t_l3pt/D");
333  tree->Branch("t_l3eta", &t_l3eta, "t_l3eta/D");
334  tree->Branch("t_l3phi", &t_l3phi, "t_l3phi/D");
335  tree->Branch("t_p", &t_p, "t_p/D");
336  tree->Branch("t_pt", &t_pt, "t_pt/D");
337  tree->Branch("t_phi", &t_phi, "t_phi/D");
338  tree->Branch("t_mindR1", &t_mindR1, "t_mindR1/D");
339  tree->Branch("t_mindR2", &t_mindR2, "t_mindR2/D");
340  tree->Branch("t_eMipDR", &t_eMipDR, "t_eMipDR/D");
341  tree->Branch("t_eMipDR2", &t_eMipDR2, "t_eMipDR2/D");
342  tree->Branch("t_eMipDR3", &t_eMipDR3, "t_eMipDR3/D");
343  tree->Branch("t_eMipDR4", &t_eMipDR4, "t_eMipDR4/D");
344  tree->Branch("t_eMipDR5", &t_eMipDR5, "t_eMipDR5/D");
345  tree->Branch("t_eHcal", &t_eHcal, "t_eHcal/D");
346  tree->Branch("t_eHcal10", &t_eHcal10, "t_eHcal10/D");
347  tree->Branch("t_eHcal30", &t_eHcal30, "t_eHcal30/D");
348  tree->Branch("t_hmaxNearP", &t_hmaxNearP, "t_hmaxNearP/D");
349  tree->Branch("t_emaxNearP", &t_emaxNearP, "t_emaxNearP/D");
350  tree->Branch("t_eAnnular", &t_eAnnular, "t_eAnnular/D");
351  tree->Branch("t_hAnnular", &t_hAnnular, "t_hAnnular/D");
352  tree->Branch("t_rhoh", &t_rhoh, "t_rhoh/D");
353  tree->Branch("t_selectTk", &t_selectTk, "t_selectTk/O");
354  tree->Branch("t_qltyFlag", &t_qltyFlag, "t_qltyFlag/O");
355  tree->Branch("t_qltyMissFlag", &t_qltyMissFlag, "t_qltyMissFlag/O");
356  tree->Branch("t_qltyPVFlag", &t_qltyPVFlag, "t_qltyPVFlag/O");
357  tree->Branch("t_gentrackP", &t_gentrackP, "t_gentrackP/D");
358 
359  tree->Branch("t_DetIds", &t_DetIds);
360  tree->Branch("t_HitEnergies", &t_HitEnergies);
361  tree->Branch("t_trgbits", &t_trgbits);
362  tree->Branch("t_DetIds1", &t_DetIds1);
363  tree->Branch("t_DetIds3", &t_DetIds3);
364  tree->Branch("t_HitEnergies1", &t_HitEnergies1);
365  tree->Branch("t_HitEnergies3", &t_HitEnergies3);
366 
367  tree2 = fs->make<TTree>("EventInfo", "Event Information");
368 
369  tree2->Branch("t_RunNo", &t_RunNo, "t_RunNo/i");
370  tree2->Branch("t_EventNo", &t_EventNo, "t_EventNo/i");
371  tree2->Branch("t_Tracks", &t_Tracks, "t_Tracks/I");
372  tree2->Branch("t_TracksProp", &t_TracksProp, "t_TracksProp/I");
373  tree2->Branch("t_TracksSaved", &t_TracksSaved, "t_TracksSaved/I");
374  tree2->Branch("t_TracksLoose", &t_TracksLoose, "t_TracksLoose/I");
375  tree2->Branch("t_TracksTight", &t_TracksTight, "t_TracksTight/I");
376  tree2->Branch("t_TrigPass", &t_TrigPass, "t_TrigPass/O");
377  tree2->Branch("t_TrigPassSel", &t_TrigPassSel, "t_TrigPassSel/O");
378  tree2->Branch("t_L1Bit", &t_L1Bit, "t_L1Bit/O");
379  tree2->Branch("t_allvertex", &t_allvertex, "t_allvertex/I");
380  tree2->Branch("t_ietaAll", &t_ietaAll);
381  tree2->Branch("t_ietaGood", &t_ietaGood);
382  tree2->Branch("t_trackType", &t_trackType);
383  tree2->Branch("t_hltbits", &t_hltbits);
384 }
std::vector< double > t_HitEnergies1
std::vector< double > t_HitEnergies3
std::vector< int > t_ietaGood
std::vector< unsigned int > t_DetIds3
std::vector< unsigned int > t_DetIds
std::vector< double > t_HitEnergies
std::vector< bool > t_trgbits
std::vector< int > t_ietaAll
std::vector< int > t_trackType
std::vector< bool > t_hltbits
Definition: tree.py:1
std::vector< unsigned int > t_DetIds1

◆ beginRun()

void HcalIsoTrackAnalyzer::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivate

Definition at line 387 of file HcalIsoTrackAnalyzer.cc.

References edm::EventSetup::getData(), respCorrs_, edm::RunBase::run(), HcalCondObjectContainerBase::setTopo(), theHBHETopology_, tok_htopo_, and tok_respcorr_.

387  {
388  theHBHETopology_ = &iSetup.getData(tok_htopo_);
389  const HcalRespCorrs* resp = &iSetup.getData(tok_respcorr_);
390  respCorrs_ = new HcalRespCorrs(*resp);
392  edm::LogVerbatim("HcalIsoTrack") << "beginRun " << iRun.run() << " get responseCoorection " << respCorrs_;
393 }
Log< level::Info, true > LogVerbatim
const HcalTopology * theHBHETopology_
const edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcd > tok_respcorr_
const edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_htopo_
void setTopo(const HcalTopology *topo)

◆ endRun()

void HcalIsoTrackAnalyzer::endRun ( edm::Run const &  iRun,
edm::EventSetup const &   
)
overrideprivate

Definition at line 396 of file HcalIsoTrackAnalyzer.cc.

References nHigh_, nLow_, nRange_, nRun_, pTrackHigh_, pTrackLow_, respCorrs_, and edm::RunBase::run().

396  {
397  nRun_++;
398  edm::LogVerbatim("HcalIsoTrack") << "endRun[" << nRun_ << "] " << iRun.run() << " with " << nLow_
399  << " events with p < " << pTrackLow_ << ", " << nHigh_ << " events with p > "
400  << pTrackHigh_ << ", and " << nRange_ << " events in the right momentum range";
401  if (respCorrs_) {
402  delete respCorrs_;
403  respCorrs_ = nullptr;
404  }
405 }
Log< level::Info, true > LogVerbatim

◆ fillDescriptions()

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

Definition at line 407 of file HcalIsoTrackAnalyzer.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, events, and ProducerED_cfi::InputTag.

407  {
409  desc.add<double>("momentumLow", 40.0);
410  desc.add<double>("momentumHigh", 60.0);
411  desc.addUntracked<int>("useRaw", 0);
412  desc.addUntracked<int>("dataType", 0);
413  desc.addUntracked<int>("unCorrect", 0);
414  desc.addUntracked<bool>("fillInRange", false);
415  desc.add<edm::InputTag>("isoTrackVarLabel", edm::InputTag("alcaHcalIsotrkProducer", "HcalIsoTrack"));
416  desc.add<edm::InputTag>("isoTrackEvtLabel", edm::InputTag("alcaHcalIsotrkProducer", "HcalIsoTrackEvent"));
417  std::vector<int> events;
418  desc.add<std::vector<int>>("debugEvents", events);
419  descriptions.add("hcalIsoTrackAnalyzer", desc);
420 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)
int events

◆ gainFactor()

double HcalIsoTrackAnalyzer::gainFactor ( const HcalDbService dbserv,
const HcalDetId id 
)
private

Definition at line 429 of file HcalIsoTrackAnalyzer.cc.

References PixelBaryCentreAnalyzer_cfg::conditions, Hcal_Conditions_forGlobalTag_cff::gain, and HcalCalibrations::respcorrgain().

Referenced by analyze().

429  {
430  double gain(0.0);
431  const HcalCalibrations& calibs = conditions->getHcalCalibrations(id);
432  for (int capid = 0; capid < 4; ++capid)
433  gain += (0.25 * calibs.respcorrgain(capid));
434  return gain;
435 }
constexpr double respcorrgain(int fCapId) const
get response corrected gain for capid=0..3

◆ respCorr()

double HcalIsoTrackAnalyzer::respCorr ( const DetId id)
private

Definition at line 422 of file HcalIsoTrackAnalyzer.cc.

References reco::JetExtendedAssociation::getValue(), HcalCondObjectContainer< Item >::getValues(), and respCorrs_.

Referenced by analyze().

422  {
423  double cfac(1.0);
424  if (respCorrs_ != nullptr)
425  cfac = (respCorrs_->getValues(id))->getValue();
426  return cfac;
427 }
const Item * getValues(DetId fId, bool throwOnFail=true) const
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found

Member Data Documentation

◆ dataType_

const int HcalIsoTrackAnalyzer::dataType_
private

Definition at line 48 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and HcalIsoTrackAnalyzer().

◆ debEvents_

const std::vector<int> HcalIsoTrackAnalyzer::debEvents_
private

Definition at line 51 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and HcalIsoTrackAnalyzer().

◆ fillInRange_

const bool HcalIsoTrackAnalyzer::fillInRange_
private

Definition at line 49 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and HcalIsoTrackAnalyzer().

◆ labelIsoTkEvt_

const edm::InputTag HcalIsoTrackAnalyzer::labelIsoTkEvt_
private

Definition at line 50 of file HcalIsoTrackAnalyzer.cc.

Referenced by HcalIsoTrackAnalyzer().

◆ labelIsoTkVar_

const edm::InputTag HcalIsoTrackAnalyzer::labelIsoTkVar_
private

Definition at line 50 of file HcalIsoTrackAnalyzer.cc.

Referenced by HcalIsoTrackAnalyzer().

◆ nHigh_

unsigned int HcalIsoTrackAnalyzer::nHigh_
private

Definition at line 60 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and endRun().

◆ nLow_

unsigned int HcalIsoTrackAnalyzer::nLow_
private

Definition at line 60 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and endRun().

◆ nRange_

unsigned int HcalIsoTrackAnalyzer::nRange_
private

Definition at line 60 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and endRun().

◆ nRun_

unsigned int HcalIsoTrackAnalyzer::nRun_
private

Definition at line 60 of file HcalIsoTrackAnalyzer.cc.

Referenced by endRun().

◆ pTrackHigh_

const double HcalIsoTrackAnalyzer::pTrackHigh_
private

Definition at line 47 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), endRun(), and HcalIsoTrackAnalyzer().

◆ pTrackLow_

const double HcalIsoTrackAnalyzer::pTrackLow_
private

Definition at line 47 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), endRun(), and HcalIsoTrackAnalyzer().

◆ respCorrs_

HcalRespCorrs* HcalIsoTrackAnalyzer::respCorrs_
private

Definition at line 58 of file HcalIsoTrackAnalyzer.cc.

Referenced by beginRun(), endRun(), respCorr(), and ~HcalIsoTrackAnalyzer().

◆ t_allvertex

int HcalIsoTrackAnalyzer::t_allvertex
private

Definition at line 81 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_DataType

int HcalIsoTrackAnalyzer::t_DataType
private

Definition at line 63 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_DetIds

std::vector<unsigned int> HcalIsoTrackAnalyzer::t_DetIds
private

Definition at line 74 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_DetIds1

std::vector<unsigned int> HcalIsoTrackAnalyzer::t_DetIds1
private

Definition at line 74 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_DetIds3

std::vector<unsigned int> HcalIsoTrackAnalyzer::t_DetIds3
private

Definition at line 74 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eAnnular

double HcalIsoTrackAnalyzer::t_eAnnular
private

Definition at line 71 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eHcal

double HcalIsoTrackAnalyzer::t_eHcal
private

Definition at line 72 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eHcal10

double HcalIsoTrackAnalyzer::t_eHcal10
private

Definition at line 72 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eHcal30

double HcalIsoTrackAnalyzer::t_eHcal30
private

Definition at line 72 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_emaxNearP

double HcalIsoTrackAnalyzer::t_emaxNearP
private

Definition at line 71 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eMipDR

double HcalIsoTrackAnalyzer::t_eMipDR
private

Definition at line 69 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eMipDR2

double HcalIsoTrackAnalyzer::t_eMipDR2
private

Definition at line 69 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eMipDR3

double HcalIsoTrackAnalyzer::t_eMipDR3
private

Definition at line 69 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eMipDR4

double HcalIsoTrackAnalyzer::t_eMipDR4
private

Definition at line 69 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_eMipDR5

double HcalIsoTrackAnalyzer::t_eMipDR5
private

Definition at line 70 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_Event

int HcalIsoTrackAnalyzer::t_Event
private

Definition at line 63 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_EventNo

unsigned int HcalIsoTrackAnalyzer::t_EventNo
private

Definition at line 78 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_EventWeight

double HcalIsoTrackAnalyzer::t_EventWeight
private

Definition at line 65 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_gentrackP

double HcalIsoTrackAnalyzer::t_gentrackP
private

Definition at line 70 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_goodPV

int HcalIsoTrackAnalyzer::t_goodPV
private

Definition at line 64 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_hAnnular

double HcalIsoTrackAnalyzer::t_hAnnular
private

Definition at line 71 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_HitEnergies

std::vector<double> HcalIsoTrackAnalyzer::t_HitEnergies
private

Definition at line 75 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_HitEnergies1

std::vector<double> HcalIsoTrackAnalyzer::t_HitEnergies1
private

Definition at line 75 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_HitEnergies3

std::vector<double> HcalIsoTrackAnalyzer::t_HitEnergies3
private

Definition at line 75 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_hltbits

std::vector<bool> HcalIsoTrackAnalyzer::t_hltbits
private

Definition at line 83 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_hmaxNearP

double HcalIsoTrackAnalyzer::t_hmaxNearP
private

Definition at line 70 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_ieta

int HcalIsoTrackAnalyzer::t_ieta
private

Definition at line 63 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_ietaAll

std::vector<int> HcalIsoTrackAnalyzer::t_ietaAll
private

Definition at line 82 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_ietaGood

std::vector<int> HcalIsoTrackAnalyzer::t_ietaGood
private

Definition at line 82 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_iphi

int HcalIsoTrackAnalyzer::t_iphi
private

Definition at line 63 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_L1Bit

bool HcalIsoTrackAnalyzer::t_L1Bit
private

Definition at line 79 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_l1eta

double HcalIsoTrackAnalyzer::t_l1eta
private

Definition at line 66 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_l1phi

double HcalIsoTrackAnalyzer::t_l1phi
private

Definition at line 66 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_l1pt

double HcalIsoTrackAnalyzer::t_l1pt
private

Definition at line 66 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_l3eta

double HcalIsoTrackAnalyzer::t_l3eta
private

Definition at line 67 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_l3phi

double HcalIsoTrackAnalyzer::t_l3phi
private

Definition at line 67 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_l3pt

double HcalIsoTrackAnalyzer::t_l3pt
private

Definition at line 67 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_mindR1

double HcalIsoTrackAnalyzer::t_mindR1
private

Definition at line 68 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_mindR2

double HcalIsoTrackAnalyzer::t_mindR2
private

Definition at line 68 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_nTrk

int HcalIsoTrackAnalyzer::t_nTrk
private

Definition at line 64 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_nVtx

int HcalIsoTrackAnalyzer::t_nVtx
private

Definition at line 64 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_p

double HcalIsoTrackAnalyzer::t_p
private

Definition at line 65 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_phi

double HcalIsoTrackAnalyzer::t_phi
private

Definition at line 65 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_pt

double HcalIsoTrackAnalyzer::t_pt
private

Definition at line 65 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_qltyFlag

bool HcalIsoTrackAnalyzer::t_qltyFlag
private

Definition at line 73 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_qltyMissFlag

bool HcalIsoTrackAnalyzer::t_qltyMissFlag
private

Definition at line 73 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_qltyPVFlag

bool HcalIsoTrackAnalyzer::t_qltyPVFlag
private

Definition at line 73 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_rhoh

double HcalIsoTrackAnalyzer::t_rhoh
private

Definition at line 72 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_Run

int HcalIsoTrackAnalyzer::t_Run
private

Definition at line 63 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_RunNo

unsigned int HcalIsoTrackAnalyzer::t_RunNo
private

Definition at line 78 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_selectTk

bool HcalIsoTrackAnalyzer::t_selectTk
private

Definition at line 73 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_Tracks

int HcalIsoTrackAnalyzer::t_Tracks
private

Definition at line 80 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_TracksLoose

int HcalIsoTrackAnalyzer::t_TracksLoose
private

Definition at line 81 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_TracksProp

int HcalIsoTrackAnalyzer::t_TracksProp
private

Definition at line 80 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_TracksSaved

int HcalIsoTrackAnalyzer::t_TracksSaved
private

Definition at line 80 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_TracksTight

int HcalIsoTrackAnalyzer::t_TracksTight
private

Definition at line 81 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_trackType

std::vector<int> HcalIsoTrackAnalyzer::t_trackType
private

Definition at line 82 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_trgbits

std::vector<bool> HcalIsoTrackAnalyzer::t_trgbits
private

Definition at line 76 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_TrigPass

bool HcalIsoTrackAnalyzer::t_TrigPass
private

Definition at line 79 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ t_TrigPassSel

bool HcalIsoTrackAnalyzer::t_TrigPassSel
private

Definition at line 79 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ theHBHETopology_

const HcalTopology* HcalIsoTrackAnalyzer::theHBHETopology_
private

Definition at line 57 of file HcalIsoTrackAnalyzer.cc.

Referenced by beginRun().

◆ tok_dbservice_

const edm::ESGetToken<HcalDbService, HcalDbRecord> HcalIsoTrackAnalyzer::tok_dbservice_
private

Definition at line 54 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze().

◆ tok_htopo_

const edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> HcalIsoTrackAnalyzer::tok_htopo_
private

Definition at line 52 of file HcalIsoTrackAnalyzer.cc.

Referenced by beginRun().

◆ tok_respcorr_

const edm::ESGetToken<HcalRespCorrs, HcalRespCorrsRcd> HcalIsoTrackAnalyzer::tok_respcorr_
private

Definition at line 53 of file HcalIsoTrackAnalyzer.cc.

Referenced by beginRun().

◆ tokIsoTrkEvt_

edm::EDGetTokenT<HcalIsoTrkEventVariablesCollection> HcalIsoTrackAnalyzer::tokIsoTrkEvt_
private

Definition at line 56 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze().

◆ tokIsoTrkVar_

edm::EDGetTokenT<HcalIsoTrkCalibVariablesCollection> HcalIsoTrackAnalyzer::tokIsoTrkVar_
private

Definition at line 55 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze().

◆ tree

TTree* HcalIsoTrackAnalyzer::tree
private

◆ tree2

TTree * HcalIsoTrackAnalyzer::tree2
private

Definition at line 62 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ unCorrect_

const int HcalIsoTrackAnalyzer::unCorrect_
private

Definition at line 48 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and HcalIsoTrackAnalyzer().

◆ useRaw_

const int HcalIsoTrackAnalyzer::useRaw_
private

Definition at line 48 of file HcalIsoTrackAnalyzer.cc.

Referenced by analyze(), and HcalIsoTrackAnalyzer().