CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
EcalTPGAnalyzer Class Reference

#include <EcalTPGAnalyzer.h>

Inheritance diagram for EcalTPGAnalyzer:
edm::one::EDAnalyzer< edm::one::WatchRuns > edm::one::EDAnalyzerBase edm::EDConsumerBase

Classes

struct  EcalTPGVariables
 

Public Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
 EcalTPGAnalyzer (const edm::ParameterSet &)
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
 ~EcalTPGAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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::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
 
bool registeredToConsumeMany (TypeID const &, 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::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

const bool allowTP_
 
const edm::InputTag digiCollectionEB_
 
const edm::InputTag digiCollectionEE_
 
const edm::EDGetTokenT< EBDigiCollectionebDigiToken_
 
const edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecordebGeometryToken_
 
const edm::EDGetTokenT< EEDigiCollectioneeDigiToken_
 
const edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecordeeGeometryToken_
 
const EcalTrigTowerConstituentsMapeTTmap_
 
const edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecordeTTMapToken_
 
TFile * file_
 
const std::string gtRecordCollectionTag_
 
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcdl1GtMaskToken_
 
const edm::EDGetTokenT< L1GlobalTriggerReadoutRecordl1GtReadoutRecordToken_
 
const bool print_
 
const CaloSubdetectorGeometrytheBarrelGeometry_
 
const CaloSubdetectorGeometrytheEndcapGeometry_
 
const edm::InputTag tpCollection_
 
const edm::InputTag tpEmulatorCollection_
 
const edm::EDGetTokenT< EcalTrigPrimDigiCollectiontpEmulToken_
 
const edm::EDGetTokenT< EcalTrigPrimDigiCollectiontpToken_
 
TTree * tree_
 
EcalTPGVariables treeVariables_
 
const bool useEE_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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 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<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 42 of file EcalTPGAnalyzer.h.

Constructor & Destructor Documentation

◆ EcalTPGAnalyzer()

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

Definition at line 27 of file EcalTPGAnalyzer.cc.

References EcalTPGAnalyzer::EcalTPGVariables::activeTriggers, edm::BeginRun, EcalTPGAnalyzer::EcalTPGVariables::bxNb, EcalTPGAnalyzer::EcalTPGVariables::eRec, EcalTPGAnalyzer::EcalTPGVariables::evtNb, file_, EcalTPGAnalyzer::EcalTPGVariables::ieta, EcalTPGAnalyzer::EcalTPGVariables::iphi, EcalTPGAnalyzer::EcalTPGVariables::nbOfActiveTriggers, EcalTPGAnalyzer::EcalTPGVariables::nbOfTowers, EcalTPGAnalyzer::EcalTPGVariables::nbOfXtals, EcalTPGAnalyzer::EcalTPGVariables::orbitNb, EcalTPGAnalyzer::EcalTPGVariables::rawTPData, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul1, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul2, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul3, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul4, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul5, EcalTPGAnalyzer::EcalTPGVariables::runNb, tree_, and treeVariables_.

28  : tpCollection_(iConfig.getParameter<edm::InputTag>("TPCollection")),
29  tpEmulatorCollection_(iConfig.getParameter<edm::InputTag>("TPEmulatorCollection")),
30  digiCollectionEB_(iConfig.getParameter<edm::InputTag>("DigiCollectionEB")),
31  digiCollectionEE_(iConfig.getParameter<edm::InputTag>("DigiCollectionEE")),
32  gtRecordCollectionTag_(iConfig.getParameter<std::string>("GTRecordCollection")),
33  l1GtReadoutRecordToken_(consumes<L1GlobalTriggerReadoutRecord>(edm::InputTag(gtRecordCollectionTag_))),
34  tpToken_(consumes<EcalTrigPrimDigiCollection>(tpCollection_)),
35  tpEmulToken_(consumes<EcalTrigPrimDigiCollection>(tpEmulatorCollection_)),
36  ebDigiToken_(consumes<EBDigiCollection>(digiCollectionEB_)),
37  eeDigiToken_(consumes<EEDigiCollection>(digiCollectionEE_)),
38  eTTMapToken_(esConsumes<edm::Transition::BeginRun>()),
39  ebGeometryToken_(esConsumes<edm::Transition::BeginRun>(edm::ESInputTag("", "EcalBarrel"))),
40  eeGeometryToken_(esConsumes<edm::Transition::BeginRun>(edm::ESInputTag("", "EcalEndcap"))),
42  allowTP_(iConfig.getParameter<bool>("ReadTriggerPrimitives")),
43  useEE_(iConfig.getParameter<bool>("UseEndCap")),
44  print_(iConfig.getParameter<bool>("Print")) {
45  // file
46  file_ = new TFile("ECALTPGtree.root", "RECREATE");
47  file_->cd();
48 
49  // tree
50  tree_ = new TTree("EcalTPGAnalysis", "EcalTPGAnalysis");
51 
52  tree_->Branch("runNb", &treeVariables_.runNb, "runNb/i"); //
53  tree_->Branch("evtNb", &treeVariables_.evtNb, "evtNb/i"); //
54  tree_->Branch("bxNb", &treeVariables_.bxNb, "bxNb/i"); //
55  tree_->Branch("orbitNb", &treeVariables_.orbitNb, "orbitNb/i"); //
56  tree_->Branch("nbOfActiveTriggers", &treeVariables_.nbOfActiveTriggers, "nbOfActiveTriggers/i"); //
57  tree_->Branch("activeTriggers", treeVariables_.activeTriggers, "activeTriggers[nbOfActiveTriggers]/I"); //
58 
59  tree_->Branch("nbOfTowers", &treeVariables_.nbOfTowers, "nbOfTowers/i"); //
60  tree_->Branch("ieta", treeVariables_.ieta, "ieta[nbOfTowers]/I"); //
61  tree_->Branch("iphi", treeVariables_.iphi, "iphi[nbOfTowers]/I"); //
62  tree_->Branch("nbOfXtals", treeVariables_.nbOfXtals, "nbOfXtals[nbOfTowers]/I"); //
63  tree_->Branch("rawTPData", treeVariables_.rawTPData, "rawTPData[nbOfTowers]/I"); //
64  tree_->Branch("rawTPEmul1", treeVariables_.rawTPEmul1, "rawTPEmul1[nbOfTowers]/I"); //
65  tree_->Branch("rawTPEmul2", treeVariables_.rawTPEmul2, "rawTPEmul2[nbOfTowers]/I"); //
66  tree_->Branch("rawTPEmul3", treeVariables_.rawTPEmul3, "rawTPEmul3[nbOfTowers]/I"); //
67  tree_->Branch("rawTPEmul4", treeVariables_.rawTPEmul4, "rawTPEmul4[nbOfTowers]/I"); //
68  tree_->Branch("rawTPEmul5", treeVariables_.rawTPEmul5, "rawTPEmul5[nbOfTowers]/I"); //
69  tree_->Branch("eRec", treeVariables_.eRec, "eRec[nbOfTowers]/F"); //
70 }
const edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > eTTMapToken_
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
const bool print_
const edm::InputTag tpCollection_
const edm::EDGetTokenT< EcalTrigPrimDigiCollection > tpToken_
EcalTPGVariables treeVariables_
const std::string gtRecordCollectionTag_
const edm::EDGetTokenT< EcalTrigPrimDigiCollection > tpEmulToken_
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > l1GtMaskToken_
const edm::InputTag digiCollectionEB_
const edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > eeGeometryToken_
const edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > ebGeometryToken_
const bool useEE_
const edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GtReadoutRecordToken_
const bool allowTP_
const edm::EDGetTokenT< EEDigiCollection > eeDigiToken_
const edm::EDGetTokenT< EBDigiCollection > ebDigiToken_
const edm::InputTag digiCollectionEE_
const edm::InputTag tpEmulatorCollection_

◆ ~EcalTPGAnalyzer()

EcalTPGAnalyzer::~EcalTPGAnalyzer ( )
override

Definition at line 72 of file EcalTPGAnalyzer.cc.

References file_, and tree_.

72  {
73  file_->cd();
74  tree_->Write();
75  file_->Close();
76 }

Member Function Documentation

◆ analyze()

void EcalTPGAnalyzer::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overridevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 87 of file EcalTPGAnalyzer.cc.

References EcalTPGAnalyzer::EcalTPGVariables::activeTriggers, EcalTPGAnalyzer::EcalTPGVariables::bxNb, gather_cfg::cout, ztail::d, L1GlobalTriggerReadoutRecord::decisionWord(), hgcalPerformanceValidation::df, ebDigiToken_, eeDigiToken_, EcalTPGAnalyzer::EcalTPGVariables::eRec, eTTmap_, EcalTPGAnalyzer::EcalTPGVariables::evtNb, edm::EventSetup::getData(), mps_fire::i, EcalTrigTowerDetId::ieta(), EcalTPGAnalyzer::EcalTPGVariables::ieta, towerEner::ieta_, iEvent, EcalTrigTowerDetId::iphi(), EcalTPGAnalyzer::EcalTPGVariables::iphi, towerEner::iphi_, dqmiolumiharvest::j, l1GtMaskToken_, l1GtReadoutRecordToken_, EcalTPGAnalyzer::EcalTPGVariables::nbOfActiveTriggers, EcalTPGAnalyzer::EcalTPGVariables::nbOfTowers, EcalTPGAnalyzer::EcalTPGVariables::nbOfXtals, EcalTPGAnalyzer::EcalTPGVariables::orbitNb, print_, edm::Handle< T >::product(), EcalTPGAnalyzer::EcalTPGVariables::rawTPData, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul1, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul2, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul3, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul4, EcalTPGAnalyzer::EcalTPGVariables::rawTPEmul5, EcalTPGAnalyzer::EcalTPGVariables::runNb, edm::SortedCollection< T, SORT >::size(), edm::DataFrameContainer::size(), EcalTrigTowerConstituentsMap::towerOf(), cmsswSequenceInfo::tp, tpEmulToken_, towerEner::tpgADC_, tpToken_, tree_, treeVariables_, and useEE_.

87  {
88  using namespace edm;
89  using namespace std;
90 
91  if (print_)
92  std::cout << "===========" << iEvent.id() << std::endl;
93 
94  map<EcalTrigTowerDetId, towerEner> mapTower;
95  map<EcalTrigTowerDetId, towerEner>::iterator itTT;
96 
98  // get Evts info
100 
101  treeVariables_.runNb = iEvent.id().run();
102  treeVariables_.evtNb = iEvent.id().event();
103  treeVariables_.bxNb = iEvent.bunchCrossing();
104  treeVariables_.orbitNb = iEvent.orbitNumber();
105 
107  // get L1 info
109 
111  iEvent.getByToken(l1GtReadoutRecordToken_, gtRecord);
112  DecisionWord dWord = gtRecord->decisionWord(); // this will get the decision word *before* masking disabled bits
113 
114  const auto& l1GtTmAlgo = iSetup.getData(l1GtMaskToken_);
115  std::vector<unsigned int> triggerMaskAlgoTrig = l1GtTmAlgo.gtTriggerMask();
116 
117  // apply masks on algo
118  int iDaq = 0;
119  int iBit = -1;
121  for (std::vector<bool>::iterator itBit = dWord.begin(); itBit != dWord.end(); ++itBit) {
122  iBit++;
123  int maskBit = triggerMaskAlgoTrig[iBit] & (1 << iDaq);
124  if (maskBit)
125  *itBit = false;
126  if (*itBit) {
129  }
130  }
131 
133  // Get TP data
135 
137  iEvent.getByToken(tpToken_, tp);
138  if (print_)
139  std::cout << "TP collection size=" << tp.product()->size() << std::endl;
140 
141  for (unsigned int i = 0; i < tp.product()->size(); i++) {
142  EcalTriggerPrimitiveDigi d = (*(tp.product()))[i];
143  const EcalTrigTowerDetId TPtowid = d.id();
144  towerEner tE;
145  tE.iphi_ = TPtowid.iphi();
146  tE.ieta_ = TPtowid.ieta();
147  tE.tpgADC_ = d[0].raw();
148  mapTower[TPtowid] = tE;
149  }
150 
152  // Get Emulators TP
154 
156  iEvent.getByToken(tpEmulToken_, tpEmul);
157  if (print_)
158  std::cout << "TPEmulator collection size=" << tpEmul.product()->size() << std::endl;
159 
160  for (unsigned int i = 0; i < tpEmul.product()->size(); i++) {
161  EcalTriggerPrimitiveDigi d = (*(tpEmul.product()))[i];
162  const EcalTrigTowerDetId TPtowid = d.id();
163  itTT = mapTower.find(TPtowid);
164  if (itTT != mapTower.end())
165  for (int j = 0; j < 5; j++)
166  (itTT->second).tpgEmul_[j] = d[j].raw();
167  }
168 
170  // Get nb of crystals read out
172 
173  // Get EB xtal digi inputs
175  iEvent.getByToken(ebDigiToken_, digiEB);
176 
177  for (unsigned int i = 0; i < digiEB.product()->size(); i++) {
178  const EBDataFrame& df = (*(digiEB.product()))[i];
179  const EBDetId& id = df.id();
180  const EcalTrigTowerDetId towid = id.tower();
181  itTT = mapTower.find(towid);
182  if (itTT != mapTower.end())
183  (itTT->second).nbXtal_++;
184  }
185 
186  if (useEE_) {
187  // Get EE xtal digi inputs
189  iEvent.getByToken(eeDigiToken_, digiEE);
190  for (unsigned int i = 0; i < digiEE.product()->size(); i++) {
191  const EEDataFrame& df = (*(digiEE.product()))[i];
192  const EEDetId& id = df.id();
193  const EcalTrigTowerDetId towid = eTTmap_->towerOf(id);
194  itTT = mapTower.find(towid);
195  if (itTT != mapTower.end())
196  (itTT->second).nbXtal_++;
197  }
198  }
199 
201  // Get rechits
203 
204  //... to be completed
205 
207  // fill tree
209 
210  treeVariables_.nbOfTowers = mapTower.size();
211  int towerNb = 0;
212  for (itTT = mapTower.begin(); itTT != mapTower.end(); ++itTT) {
213  treeVariables_.ieta[towerNb] = (itTT->second).ieta_;
214  treeVariables_.iphi[towerNb] = (itTT->second).iphi_;
215  treeVariables_.nbOfXtals[towerNb] = (itTT->second).nbXtal_;
216  treeVariables_.rawTPData[towerNb] = (itTT->second).tpgADC_;
217  treeVariables_.rawTPEmul1[towerNb] = (itTT->second).tpgEmul_[0];
218  treeVariables_.rawTPEmul2[towerNb] = (itTT->second).tpgEmul_[1];
219  treeVariables_.rawTPEmul3[towerNb] = (itTT->second).tpgEmul_[2];
220  treeVariables_.rawTPEmul4[towerNb] = (itTT->second).tpgEmul_[3];
221  treeVariables_.rawTPEmul5[towerNb] = (itTT->second).tpgEmul_[4];
222  treeVariables_.eRec[towerNb] = (itTT->second).eRec_;
223  towerNb++;
224  }
225 
226  tree_->Fill();
227 }
const bool print_
int ieta() const
get the tower ieta
size_type size() const
T const * product() const
Definition: Handle.h:70
const edm::EDGetTokenT< EcalTrigPrimDigiCollection > tpToken_
const DecisionWord & decisionWord(int bxInEventValue) const
EcalTrigTowerDetId towerOf(const DetId &id) const
Get the tower id for this det id (or null if not known)
int iEvent
Definition: GenABIO.cc:224
EcalTPGVariables treeVariables_
std::vector< bool > DecisionWord
typedefs
const edm::EDGetTokenT< EcalTrigPrimDigiCollection > tpEmulToken_
const edm::ESGetToken< L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd > l1GtMaskToken_
d
Definition: ztail.py:151
const EcalTrigTowerConstituentsMap * eTTmap_
const bool useEE_
const edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GtReadoutRecordToken_
const edm::EDGetTokenT< EEDigiCollection > eeDigiToken_
HLT enums.
const edm::EDGetTokenT< EBDigiCollection > ebDigiToken_
int iphi() const
get the tower iphi

◆ beginRun()

void EcalTPGAnalyzer::beginRun ( edm::Run const &  ,
edm::EventSetup const &  evtSetup 
)
override

Definition at line 78 of file EcalTPGAnalyzer.cc.

References ebGeometryToken_, eeGeometryToken_, eTTmap_, eTTMapToken_, edm::EventSetup::getData(), theBarrelGeometry_, and theEndcapGeometry_.

78  {
79  // geometry
80  eTTmap_ = &evtSetup.getData(eTTMapToken_);
81  theBarrelGeometry_ = &evtSetup.getData(ebGeometryToken_);
82  theEndcapGeometry_ = &evtSetup.getData(eeGeometryToken_);
83 }
const edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > eTTMapToken_
const CaloSubdetectorGeometry * theEndcapGeometry_
const CaloSubdetectorGeometry * theBarrelGeometry_
const EcalTrigTowerConstituentsMap * eTTmap_
const edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > eeGeometryToken_
const edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > ebGeometryToken_

◆ endRun()

void EcalTPGAnalyzer::endRun ( edm::Run const &  ,
edm::EventSetup const &  evtSetup 
)
override

Definition at line 85 of file EcalTPGAnalyzer.cc.

85 {}

Member Data Documentation

◆ allowTP_

const bool EcalTPGAnalyzer::allowTP_
private

Definition at line 96 of file EcalTPGAnalyzer.h.

◆ digiCollectionEB_

const edm::InputTag EcalTPGAnalyzer::digiCollectionEB_
private

Definition at line 81 of file EcalTPGAnalyzer.h.

◆ digiCollectionEE_

const edm::InputTag EcalTPGAnalyzer::digiCollectionEE_
private

Definition at line 82 of file EcalTPGAnalyzer.h.

◆ ebDigiToken_

const edm::EDGetTokenT<EBDigiCollection> EcalTPGAnalyzer::ebDigiToken_
private

Definition at line 88 of file EcalTPGAnalyzer.h.

Referenced by analyze().

◆ ebGeometryToken_

const edm::ESGetToken<CaloSubdetectorGeometry, EcalBarrelGeometryRecord> EcalTPGAnalyzer::ebGeometryToken_
private

Definition at line 92 of file EcalTPGAnalyzer.h.

Referenced by beginRun().

◆ eeDigiToken_

const edm::EDGetTokenT<EEDigiCollection> EcalTPGAnalyzer::eeDigiToken_
private

Definition at line 89 of file EcalTPGAnalyzer.h.

Referenced by analyze().

◆ eeGeometryToken_

const edm::ESGetToken<CaloSubdetectorGeometry, EcalEndcapGeometryRecord> EcalTPGAnalyzer::eeGeometryToken_
private

Definition at line 93 of file EcalTPGAnalyzer.h.

Referenced by beginRun().

◆ eTTmap_

const EcalTrigTowerConstituentsMap* EcalTPGAnalyzer::eTTmap_
private

Definition at line 102 of file EcalTPGAnalyzer.h.

Referenced by analyze(), and beginRun().

◆ eTTMapToken_

const edm::ESGetToken<EcalTrigTowerConstituentsMap, IdealGeometryRecord> EcalTPGAnalyzer::eTTMapToken_
private

Definition at line 91 of file EcalTPGAnalyzer.h.

Referenced by beginRun().

◆ file_

TFile* EcalTPGAnalyzer::file_
private

Definition at line 75 of file EcalTPGAnalyzer.h.

Referenced by EcalTPGAnalyzer(), and ~EcalTPGAnalyzer().

◆ gtRecordCollectionTag_

const std::string EcalTPGAnalyzer::gtRecordCollectionTag_
private

Definition at line 83 of file EcalTPGAnalyzer.h.

◆ l1GtMaskToken_

const edm::ESGetToken<L1GtTriggerMask, L1GtTriggerMaskAlgoTrigRcd> EcalTPGAnalyzer::l1GtMaskToken_
private

Definition at line 94 of file EcalTPGAnalyzer.h.

Referenced by analyze().

◆ l1GtReadoutRecordToken_

const edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> EcalTPGAnalyzer::l1GtReadoutRecordToken_
private

Definition at line 85 of file EcalTPGAnalyzer.h.

Referenced by analyze().

◆ print_

const bool EcalTPGAnalyzer::print_
private

Definition at line 98 of file EcalTPGAnalyzer.h.

Referenced by analyze().

◆ theBarrelGeometry_

const CaloSubdetectorGeometry* EcalTPGAnalyzer::theBarrelGeometry_
private

Definition at line 100 of file EcalTPGAnalyzer.h.

Referenced by beginRun().

◆ theEndcapGeometry_

const CaloSubdetectorGeometry* EcalTPGAnalyzer::theEndcapGeometry_
private

Definition at line 101 of file EcalTPGAnalyzer.h.

Referenced by beginRun().

◆ tpCollection_

const edm::InputTag EcalTPGAnalyzer::tpCollection_
private

Definition at line 79 of file EcalTPGAnalyzer.h.

◆ tpEmulatorCollection_

const edm::InputTag EcalTPGAnalyzer::tpEmulatorCollection_
private

Definition at line 80 of file EcalTPGAnalyzer.h.

◆ tpEmulToken_

const edm::EDGetTokenT<EcalTrigPrimDigiCollection> EcalTPGAnalyzer::tpEmulToken_
private

Definition at line 87 of file EcalTPGAnalyzer.h.

Referenced by analyze().

◆ tpToken_

const edm::EDGetTokenT<EcalTrigPrimDigiCollection> EcalTPGAnalyzer::tpToken_
private

Definition at line 86 of file EcalTPGAnalyzer.h.

Referenced by analyze().

◆ tree_

TTree* EcalTPGAnalyzer::tree_
private

Definition at line 76 of file EcalTPGAnalyzer.h.

Referenced by analyze(), EcalTPGAnalyzer(), and ~EcalTPGAnalyzer().

◆ treeVariables_

EcalTPGVariables EcalTPGAnalyzer::treeVariables_
private

Definition at line 77 of file EcalTPGAnalyzer.h.

Referenced by analyze(), and EcalTPGAnalyzer().

◆ useEE_

const bool EcalTPGAnalyzer::useEE_
private

Definition at line 97 of file EcalTPGAnalyzer.h.

Referenced by analyze().