CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
EcalTrigPrimAnalyzer Class Reference

#include <EcalTrigPrimAnalyzer.h>

Inheritance diagram for EcalTrigPrimAnalyzer:
edm::one::EDAnalyzer<> edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
 EcalTrigPrimAnalyzer (const edm::ParameterSet &)
 
void endJob () override
 
 ~EcalTrigPrimAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 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

edm::ESGetToken
< CaloSubdetectorGeometry,
EcalBarrelGeometryRecord
barrelGeomToken_
 
TH1I * ecal_et_ [2]
 
TH1I * ecal_fgvb_ [2]
 
std::vector< std::string > ecal_parts_
 
TH1I * ecal_tt_ [2]
 
edm::ESGetToken
< CaloSubdetectorGeometry,
EcalEndcapGeometryRecord
endcapGeomToken_
 
float eRec_
 
edm::ESGetToken
< EcalTrigTowerConstituentsMap,
IdealGeometryRecord
eTTmapToken_
 
int fg_
 
edm::ESGetToken< CaloGeometry,
CaloGeometryRecord
geomToken_
 
TH1I * histBar
 
TH1I * histEndc
 
TFile * histfile_
 
TH1F * hTPoverRechit_
 
TH2F * hTPvsRechit_
 
int ieta_
 
int iphi_
 
edm::InputTag label_
 
bool recHits_
 
edm::InputTag rechits_labelEB_
 
edm::InputTag rechits_labelEE_
 
EcalTPGScale::Tokens tokens_
 
int tpgADC_
 
float tpgGeV_
 
TTree * tree_
 
int ttf_
 

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< B > consumes (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 () noexcept
 
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...
 
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

Description: test of the output of EcalTrigPrimProducer

Description: rereads the result of the EcalTrigPrimProducer

Definition at line 45 of file EcalTrigPrimAnalyzer.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file EcalTrigPrimAnalyzer.cc.

References barrelGeomToken_, ecal_et_, ecal_fgvb_, ecal_parts_, ecal_tt_, endcapGeomToken_, eRec_, eTTmapToken_, fg_, geomToken_, edm::ParameterSet::getParameter(), histfile_, hTPoverRechit_, hTPvsRechit_, mps_fire::i, ieta_, iphi_, label_, recHits_, rechits_labelEB_, rechits_labelEE_, runGCPTkAlMap::title, tpgADC_, tpgGeV_, tree_, and ttf_.

48 
49 {
50  ecal_parts_.push_back("Barrel");
51  ecal_parts_.push_back("Endcap");
52 
53  histfile_ = new TFile("histos.root", "RECREATE");
54  tree_ = new TTree("TPGtree", "TPGtree");
55  tree_->Branch("iphi", &iphi_, "iphi/I");
56  tree_->Branch("ieta", &ieta_, "ieta/I");
57  tree_->Branch("eRec", &eRec_, "eRec/F");
58  tree_->Branch("tpgADC", &tpgADC_, "tpgADC/I");
59  tree_->Branch("tpgGeV", &tpgGeV_, "tpgGeV/F");
60  tree_->Branch("ttf", &ttf_, "ttf/I");
61  tree_->Branch("fg", &fg_, "fg/I");
62  for (unsigned int i = 0; i < 2; ++i) {
63  ecal_et_[i] = new TH1I(ecal_parts_[i].c_str(), "Et", 255, 0, 255);
64  char title[30];
65  sprintf(title, "%s_ttf", ecal_parts_[i].c_str());
66  ecal_tt_[i] = new TH1I(title, "TTF", 10, 0, 10);
67  sprintf(title, "%s_fgvb", ecal_parts_[i].c_str());
68  ecal_fgvb_[i] = new TH1I(title, "FGVB", 10, 0, 10);
69  }
70 
71  recHits_ = iConfig.getParameter<bool>("AnalyzeRecHits");
72  label_ = iConfig.getParameter<edm::InputTag>("inputTP");
73  if (recHits_) {
74  hTPvsRechit_ = new TH2F("TP_vs_RecHit", "TP vs rechit", 256, -1, 255, 255, 0, 255);
75  hTPoverRechit_ = new TH1F("TP_over_RecHit", "TP over rechit", 500, 0, 4);
76  rechits_labelEB_ = iConfig.getParameter<edm::InputTag>("inputRecHitsEB");
77  rechits_labelEE_ = iConfig.getParameter<edm::InputTag>("inputRecHitsEE");
78  geomToken_ = esConsumes<CaloGeometry, CaloGeometryRecord>();
79  endcapGeomToken_ = esConsumes<CaloSubdetectorGeometry, EcalEndcapGeometryRecord>(edm::ESInputTag("", "EcalEndcap"));
80  barrelGeomToken_ = esConsumes<CaloSubdetectorGeometry, EcalBarrelGeometryRecord>(edm::ESInputTag("", "EcalBarrel"));
81  eTTmapToken_ = esConsumes<EcalTrigTowerConstituentsMap, IdealGeometryRecord>();
82  }
83 }
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > barrelGeomToken_
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > endcapGeomToken_
std::vector< std::string > ecal_parts_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > eTTmapToken_
EcalTPGScale::Tokens tokens_
edm::InputTag rechits_labelEE_
edm::InputTag rechits_labelEB_
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
EcalTrigPrimAnalyzer::~EcalTrigPrimAnalyzer ( )
override

Definition at line 85 of file EcalTrigPrimAnalyzer.cc.

References histfile_.

85  {
86  // do anything here that needs to be done at desctruction time
87  // (e.g. close files, deallocate resources etc.)
88 
89  histfile_->Write();
90  histfile_->Close();
91 }

Member Function Documentation

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

Implements edm::one::EDAnalyzerBase.

Definition at line 98 of file EcalTrigPrimAnalyzer.cc.

References barrelGeomToken_, EcalTriggerPrimitiveDigi::compressedEt(), submitPVResolutionJobs::count, ztail::d, ecal_et_, ecal_fgvb_, ecal_tt_, endcapGeomToken_, relval_parameters_module::energy, eRec_, eTTmapToken_, fg_, EcalTriggerPrimitiveDigi::fineGrain(), geomToken_, edm::Event::getByLabel(), edm::EventSetup::getHandle(), EcalTPGScale::getTPGInGeV(), hTPoverRechit_, hTPvsRechit_, mps_fire::i, EcalTriggerPrimitiveDigi::id(), EcalTrigTowerDetId::ieta(), ieta_, EcalTrigTowerDetId::ietaAbs(), EcalTrigTowerDetId::iphi(), iphi_, dqmiolumiharvest::j, label_, recHits_, rechits_labelEB_, rechits_labelEE_, funct::sin(), EcalTrigTowerDetId::subDet(), theta(), tokens_, EBDetId::tower(), cmsswSequenceInfo::tp, tpgADC_, tpgGeV_, tree_, ttf_, and EcalTriggerPrimitiveDigi::ttFlag().

98  {
99  using namespace edm;
100  using namespace std;
101 
102  // Get input
104  iEvent.getByLabel(label_, tp);
105  for (unsigned int i = 0; i < tp.product()->size(); i++) {
106  EcalTriggerPrimitiveDigi d = (*(tp.product()))[i];
107  int subdet = d.id().subDet() - 1;
108  if (subdet == 0) {
109  ecal_et_[subdet]->Fill(d.compressedEt());
110  } else {
111  if (d.id().ietaAbs() == 27 || d.id().ietaAbs() == 28) {
112  if (i % 2)
113  ecal_et_[subdet]->Fill(d.compressedEt() * 2.);
114  } else
115  ecal_et_[subdet]->Fill(d.compressedEt());
116  }
117  ecal_tt_[subdet]->Fill(d.ttFlag());
118  ecal_fgvb_[subdet]->Fill(d.fineGrain());
119  }
120  if (!recHits_)
121  return;
122 
123  // comparison with RecHits
124  edm::Handle<EcalRecHitCollection> rechit_EB_col;
125  iEvent.getByLabel(rechits_labelEB_, rechit_EB_col);
126 
127  edm::Handle<EcalRecHitCollection> rechit_EE_col;
128  iEvent.getByLabel(rechits_labelEE_, rechit_EE_col);
129 
130  edm::ESHandle<CaloGeometry> theGeometry = iSetup.getHandle(geomToken_);
131  edm::ESHandle<CaloSubdetectorGeometry> theBarrelGeometry_handle = iSetup.getHandle(barrelGeomToken_);
132  edm::ESHandle<CaloSubdetectorGeometry> theEndcapGeometry_handle = iSetup.getHandle(endcapGeomToken_);
133 
134  const CaloSubdetectorGeometry *theEndcapGeometry = theEndcapGeometry_handle.product();
135  const CaloSubdetectorGeometry *theBarrelGeometry = theBarrelGeometry_handle.product();
137 
138  map<EcalTrigTowerDetId, float> mapTow_Et;
139 
140  for (unsigned int i = 0; i < rechit_EB_col.product()->size(); i++) {
141  const EBDetId &myid1 = (*rechit_EB_col.product())[i].id();
142  EcalTrigTowerDetId towid1 = myid1.tower();
143  float theta = theBarrelGeometry->getGeometry(myid1)->getPosition().theta();
144  float Etsum = ((*rechit_EB_col.product())[i].energy()) * sin(theta);
145  bool test_alreadyin = false;
146  map<EcalTrigTowerDetId, float>::iterator ittest = mapTow_Et.find(towid1);
147  if (ittest != mapTow_Et.end())
148  test_alreadyin = true;
149  if (test_alreadyin)
150  continue;
151  unsigned int j = i + 1;
152  bool loopend = false;
153  unsigned int count = 0;
154  while (j < rechit_EB_col.product()->size() && !loopend) {
155  count++;
156  const EBDetId &myid2 = (*rechit_EB_col.product())[j].id();
157  EcalTrigTowerDetId towid2 = myid2.tower();
158  if (towid1 == towid2) {
159  float theta = theBarrelGeometry->getGeometry(myid2)->getPosition().theta();
160  Etsum += (*rechit_EB_col.product())[j].energy() * sin(theta);
161  }
162  j++;
163  if (count > 1800)
164  loopend = true;
165  }
166  mapTow_Et.insert(pair<EcalTrigTowerDetId, float>(towid1, Etsum));
167  }
168 
169  for (unsigned int i = 0; i < rechit_EE_col.product()->size(); i++) {
170  const EEDetId &myid1 = (*rechit_EE_col.product())[i].id();
171  EcalTrigTowerDetId towid1 = (*eTTmap_).towerOf(myid1);
172  float theta = theEndcapGeometry->getGeometry(myid1)->getPosition().theta();
173  float Etsum = (*rechit_EE_col.product())[i].energy() * sin(theta);
174  bool test_alreadyin = false;
175  map<EcalTrigTowerDetId, float>::iterator ittest = mapTow_Et.find(towid1);
176  if (ittest != mapTow_Et.end())
177  test_alreadyin = true;
178  if (test_alreadyin)
179  continue;
180  unsigned int j = i + 1;
181  bool loopend = false;
182  unsigned int count = 0;
183  while (j < rechit_EE_col.product()->size() && !loopend) {
184  const EEDetId &myid2 = (*rechit_EE_col.product())[j].id();
185  EcalTrigTowerDetId towid2 = (*eTTmap_).towerOf(myid2);
186  if (towid1 == towid2) {
187  float theta = theEndcapGeometry->getGeometry(myid2)->getPosition().theta();
188  Etsum += (*rechit_EE_col.product())[j].energy() * sin(theta);
189  }
190  // else loopend=true;
191  j++;
192  if (count > 500)
193  loopend = true;
194  }
195  // alreadyin_EE.push_back(towid1);
196  mapTow_Et.insert(pair<EcalTrigTowerDetId, float>(towid1, Etsum));
197  }
198 
199  EcalTPGScale ecalScale(tokens_, iSetup);
200  for (unsigned int i = 0; i < tp.product()->size(); i++) {
201  EcalTriggerPrimitiveDigi d = (*(tp.product()))[i];
202  const EcalTrigTowerDetId TPtowid = d.id();
203  map<EcalTrigTowerDetId, float>::iterator it = mapTow_Et.find(TPtowid);
204  float Et = ecalScale.getTPGInGeV(d.compressedEt(), TPtowid);
205  if (d.id().ietaAbs() == 27 || d.id().ietaAbs() == 28)
206  Et *= 2;
207  iphi_ = TPtowid.iphi();
208  ieta_ = TPtowid.ieta();
209  tpgADC_ = d.compressedEt();
210  tpgGeV_ = Et;
211  ttf_ = d.ttFlag();
212  fg_ = d.fineGrain();
213  if (it != mapTow_Et.end()) {
214  hTPvsRechit_->Fill(it->second, Et);
215  hTPoverRechit_->Fill(Et / it->second);
216  eRec_ = it->second;
217  }
218  tree_->Fill();
219  }
220 }
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Geom::Theta< T > theta() const
int ieta() const
get the tower ieta
tuple d
Definition: ztail.py:151
int compressedEt() const
get the encoded/compressed Et of interesting sample
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > barrelGeomToken_
int ietaAbs() const
get the absolute value of the tower ieta
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > endcapGeomToken_
EcalTrigTowerDetId tower() const
get the HCAL/trigger iphi of this crystal
Definition: EBDetId.h:57
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:500
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > eTTmapToken_
int iphi() const
get the tower iphi
const EcalTrigTowerDetId & id() const
EcalTPGScale::Tokens tokens_
edm::InputTag rechits_labelEE_
edm::InputTag rechits_labelEB_
EcalSubdetector subDet() const
get the subDetector associated to the Trigger Tower
bool fineGrain() const
get the fine-grain bit of interesting sample
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:157
int ttFlag() const
get the Trigger tower Flag of interesting sample
void EcalTrigPrimAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 222 of file EcalTrigPrimAnalyzer.cc.

References ecal_et_, ecal_fgvb_, ecal_tt_, hTPoverRechit_, hTPvsRechit_, mps_fire::i, and recHits_.

222  {
223  for (unsigned int i = 0; i < 2; ++i) {
224  ecal_et_[i]->Write();
225  ecal_tt_[i]->Write();
226  ecal_fgvb_[i]->Write();
227  }
228  if (recHits_) {
229  hTPvsRechit_->Write();
230  hTPoverRechit_->Write();
231  }
232 }

Member Data Documentation

edm::ESGetToken<CaloSubdetectorGeometry, EcalBarrelGeometryRecord> EcalTrigPrimAnalyzer::barrelGeomToken_
private

Definition at line 74 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

TH1I* EcalTrigPrimAnalyzer::ecal_et_[2]
private

Definition at line 56 of file EcalTrigPrimAnalyzer.h.

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

TH1I* EcalTrigPrimAnalyzer::ecal_fgvb_[2]
private

Definition at line 58 of file EcalTrigPrimAnalyzer.h.

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

std::vector<std::string> EcalTrigPrimAnalyzer::ecal_parts_
private

Definition at line 55 of file EcalTrigPrimAnalyzer.h.

Referenced by EcalTrigPrimAnalyzer().

TH1I* EcalTrigPrimAnalyzer::ecal_tt_[2]
private

Definition at line 57 of file EcalTrigPrimAnalyzer.h.

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

edm::ESGetToken<CaloSubdetectorGeometry, EcalEndcapGeometryRecord> EcalTrigPrimAnalyzer::endcapGeomToken_
private

Definition at line 73 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

float EcalTrigPrimAnalyzer::eRec_
private

Definition at line 66 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

edm::ESGetToken<EcalTrigTowerConstituentsMap, IdealGeometryRecord> EcalTrigPrimAnalyzer::eTTmapToken_
private

Definition at line 75 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

int EcalTrigPrimAnalyzer::fg_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> EcalTrigPrimAnalyzer::geomToken_
private

Definition at line 72 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

TH1I * EcalTrigPrimAnalyzer::histBar
private

Definition at line 59 of file EcalTrigPrimAnalyzer.h.

TH1I* EcalTrigPrimAnalyzer::histEndc
private

Definition at line 59 of file EcalTrigPrimAnalyzer.h.

TFile* EcalTrigPrimAnalyzer::histfile_
private

Definition at line 60 of file EcalTrigPrimAnalyzer.h.

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

TH1F* EcalTrigPrimAnalyzer::hTPoverRechit_
private

Definition at line 62 of file EcalTrigPrimAnalyzer.h.

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

TH2F* EcalTrigPrimAnalyzer::hTPvsRechit_
private

Definition at line 61 of file EcalTrigPrimAnalyzer.h.

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

int EcalTrigPrimAnalyzer::ieta_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

int EcalTrigPrimAnalyzer::iphi_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

edm::InputTag EcalTrigPrimAnalyzer::label_
private
bool EcalTrigPrimAnalyzer::recHits_
private

Definition at line 78 of file EcalTrigPrimAnalyzer.h.

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

edm::InputTag EcalTrigPrimAnalyzer::rechits_labelEB_
private

Definition at line 70 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

edm::InputTag EcalTrigPrimAnalyzer::rechits_labelEE_
private

Definition at line 71 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

EcalTPGScale::Tokens EcalTrigPrimAnalyzer::tokens_
private

Definition at line 76 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze().

int EcalTrigPrimAnalyzer::tpgADC_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

float EcalTrigPrimAnalyzer::tpgGeV_
private

Definition at line 66 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

TTree* EcalTrigPrimAnalyzer::tree_
private

Definition at line 63 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

int EcalTrigPrimAnalyzer::ttf_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().