CMS 3D CMS Logo

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

#include <EcalEBTrigPrimAnalyzer.h>

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

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
 EcalEBTrigPrimAnalyzer (const edm::ParameterSet &)
 
void endJob () override
 
 ~EcalEBTrigPrimAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () 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
 
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)
 

Private Member Functions

int getIndex (const EBDigiCollection *, EcalTrigTowerDetId &id)
 
void init (const edm::EventSetup &)
 

Private Attributes

bool debug_
 
TH1I * ecal_et_ [2]
 
TH1I * ecal_fgvb_ [2]
 
std::vector< std::string > ecal_parts_
 
TH1I * ecal_tt_ [2]
 
float eRec_
 
edm::ESHandle< EcalTrigTowerConstituentsMapeTTmap_
 
int fg_
 
TH1F * hAllRechitEt_
 
TH1F * hAllTPperEvt_
 
TH1F * hDeltaEt_
 
TH1I * histBar
 
TH1I * histEndc
 
TFile * histfile_
 
TH1F * hRatioEt_
 
TH1F * hRechitEt_
 
TH2F * hRH_iphiVsieta_
 
TH2F * hRH_iphiVsieta_fullrange_
 
TH2F * hTP_iphiVsieta_
 
TH2F * hTP_iphiVsieta_fullrange_
 
TH1F * hTPEt_
 
TH1F * hTPoverRechit_
 
TH1F * hTPperEvt_
 
TH2F * hTPvsRechit_
 
TH2F * hTPvsTow_eta_
 
TH2F * hTPvsTow_ieta_
 
int nEvents_
 
edm::EDGetTokenT< EcalEBTrigPrimDigiCollectionprimToken_
 
bool recHits_
 
edm::EDGetTokenT< EcalRecHitCollectionrechits_labelEB_
 
int rhIeta_
 
int rhIphi_
 
edm::EDGetTokenT< EBDigiCollectiontokenEBdigi_
 
int tpgADC_
 
float tpgGeV_
 
int tpIeta_
 
int tpIphi_
 
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
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>
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)
 
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 24 of file EcalEBTrigPrimAnalyzer.h.

Constructor & Destructor Documentation

◆ EcalEBTrigPrimAnalyzer()

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

Definition at line 35 of file EcalEBTrigPrimAnalyzer.cc.

37 {
38  ecal_parts_.push_back("Barrel");
39 
40  histfile_ = new TFile("histos.root", "RECREATE");
41  tree_ = new TTree("TPGtree", "TPGtree");
42  tree_->Branch("tpIphi", &tpIphi_, "tpIphi/I");
43  tree_->Branch("tpIeta", &tpIeta_, "tpIeta/I");
44  tree_->Branch("rhIphi", &rhIphi_, "rhIphi/I");
45  tree_->Branch("rhIeta", &rhIeta_, "rhIeta/I");
46  tree_->Branch("eRec", &eRec_, "eRec/F");
47  tree_->Branch("tpgADC", &tpgADC_, "tpgADC/I");
48  tree_->Branch("tpgGeV", &tpgGeV_, "tpgGeV/F");
49  tree_->Branch("ttf", &ttf_, "ttf/I");
50  tree_->Branch("fg", &fg_, "fg/I");
51  for (unsigned int i = 0; i < ecal_parts_.size(); ++i) {
52  char title[30];
53  sprintf(title, "%s_Et", ecal_parts_[i].c_str());
54  ecal_et_[i] = new TH1I(title, "Et", 255, 0, 255);
55  sprintf(title, "%s_ttf", ecal_parts_[i].c_str());
56  ecal_tt_[i] = new TH1I(title, "TTF", 10, 0, 10);
57  sprintf(title, "%s_fgvb", ecal_parts_[i].c_str());
58  ecal_fgvb_[i] = new TH1I(title, "FGVB", 10, 0, 10);
59  }
60 
61  recHits_ = iConfig.getParameter<bool>("AnalyzeRecHits");
62  debug_ = iConfig.getParameter<bool>("Debug");
63  rechits_labelEB_ = consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("inputRecHitsEB"));
64  primToken_ = consumes<EcalEBTrigPrimDigiCollection>(iConfig.getParameter<edm::InputTag>("inputTP"));
65  tokenEBdigi_ = consumes<EBDigiCollection>(iConfig.getParameter<edm::InputTag>("barrelEcalDigis"));
66  nEvents_ = 0;
67 
68  hTPvsTow_eta_ = new TH2F("TP_vs_Tow_eta", "TP vs Tow eta ; #eta(tow); #eta(tp)", 50, -2.5, 2.5, 50, -2.5, 2.5);
69  hAllTPperEvt_ = new TH1F("AllTPperEvt", "TP per Event; N_{TP}; ", 100, 0., 20000.);
70  hTPperEvt_ = new TH1F("TPperEvt", "N_{TP} per Event; N_{TP}; ", 100, 0., 500.);
71  hTP_iphiVsieta_ = new TH2F("TP_iphiVsieta", "TP i#phi vs i#eta ; i#eta(tp); i#phi(tp)", 10, 70, 80, 10, 340, 350);
73  new TH2F("TP_iphiVsieta_fullrange", "TP i#phi vs i#eta ; i#eta(tp); i#phi(tp)", 200, -100, 100, 350, 0, 350);
74 
75  if (recHits_) {
77  new TH2F("TP_vs_Tow_ieta", "TP vs Tow ieta ; i#eta(tow); i#eta(tp)", 200, -100, 100, 200, -100, 100);
78 
79  hTPvsRechit_ = new TH2F("TP_vs_RecHit", "TP vs rechit Et;E_{T}(rh) (GeV);E_{T}(tp) (GeV)", 100, 0, 50, 100, 0, 50);
80  hDeltaEt_ = new TH1F("DeltaEt", "[Et(rh)-Et(TP)]/Et(rh); [E_{T}(rh)-E_{T}(tp)]/E_{T}(rh); Counts", 200, -1, 1);
81  hTPoverRechit_ = new TH1F("TP_over_RecHit", "Et(TP/rechit); E_{T}(tp)/E_{T}(rh); Counts", 200, 0, 2);
82  hRechitEt_ = new TH1F("RecHitEt", "E_{T};E_{T}(rh) (GeV);Counts", 100, 0, 50);
83  hTPEt_ = new TH1F("TPEt", "E_{T}{tp);E_{T}(rh) (GeV);Count", 100, 0, 50);
84  hRatioEt_ = new TH1F("RatioTPoverRH", "Et", 100, 0, 50);
85  hAllRechitEt_ = new TH1F("AllRecHit", "Et", 100, 0, 50);
86 
87  hRH_iphiVsieta_ = new TH2F("RH_iphiVsieta", "RH i#phi vs i#eta ; i#eta(rh); i#phi(rh)", 10, 70, 80, 10, 340, 350);
89  new TH2F("RH_iphiVsieta_fullrange", "RH i#phi vs i#eta ; i#eta(rh); i#phi(rh)", 200, -100, 100, 350, 0, 350);
90  }
91 }

References edm::ParameterSet::getParameter(), mps_fire::i, and overlapproblemtsosanalyzer_cfi::title.

◆ ~EcalEBTrigPrimAnalyzer()

EcalEBTrigPrimAnalyzer::~EcalEBTrigPrimAnalyzer ( )
override

Definition at line 93 of file EcalEBTrigPrimAnalyzer.cc.

93  {
94  // do anything here that needs to be done at desctruction time
95  // (e.g. close files, deallocate resources etc.)
96 
97  histfile_->Write();
98  histfile_->Close();
99 }

Member Function Documentation

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 108 of file EcalEBTrigPrimAnalyzer.cc.

108  {
109  using namespace edm;
110  using namespace std;
111  nEvents_++;
112 
113  if (nEvents_ == 1)
114  this->init(iSetup);
115 
116  // Get input
118  iEvent.getByToken(primToken_, tp);
119  //
120  /*
121  edm::Handle<EBDigiCollection> barrelDigiHandle;
122  const EBDigiCollection *ebdigi=NULL;
123  iEvent.getByToken(tokenEBdigi_,barrelDigiHandle);
124  ebdigi=barrelDigiHandle.product();
125  */
126 
127  for (unsigned int i = 0; i < tp.product()->size(); i++) {
128  EcalEBTriggerPrimitiveDigi d = (*(tp.product()))[i];
129  int subdet = 0;
130  if (subdet == 0) {
131  ecal_et_[subdet]->Fill(d.encodedEt());
132  }
133  }
134 
135  // if (!recHits_) return;
136 
137  edm::Handle<EcalRecHitCollection> rechit_EB_col;
138  if (recHits_) {
139  // get the RecHits
140  iEvent.getByToken(rechits_labelEB_, rechit_EB_col);
141  }
142 
143  edm::ESHandle<CaloSubdetectorGeometry> theBarrelGeometry_handle;
144  iSetup.get<EcalBarrelGeometryRecord>().get("EcalBarrel", theBarrelGeometry_handle);
145  const CaloSubdetectorGeometry* theBarrelGeometry = theBarrelGeometry_handle.product();
146 
147  if (debug_) {
148  std::cout << " TP analyzer =================> Treating event " << iEvent.id() << " Number of TPs "
149  << tp.product()->size() << std::endl;
150  if (recHits_)
151  std::cout << " Number of EB rechits " << rechit_EB_col.product()->size() << std::endl;
152  }
153  hAllTPperEvt_->Fill(float(tp.product()->size()));
154 
155  //if ( iEvent.id().event() != 648) return;
156 
157  //EcalEBTPGScale ecalScale ;
158  EcalTPGScale ecalScale;
159  ecalScale.setEventSetup(iSetup);
160 
161  // for(unsigned int iDigi = 0; iDigi < ebdigi->size() ; ++iDigi) {
162  // EBDataFrame myFrame((*ebdigi)[iDigi]);
163  // const EBDetId & myId = myFrame.id();
164 
165  int nTP = 0;
166  for (unsigned int i = 0; i < tp.product()->size(); i++) {
167  EcalEBTriggerPrimitiveDigi d = (*(tp.product()))[i];
168  const EBDetId TPid = d.id();
169  // if ( myId != TPid ) continue;
170 
171  /*
172  int index=getIndex(ebdigi,coarser);
173  std::cout << " Same xTal " << myId << " " << TPid << " coarser " << coarser << " index " << index << std::endl;
174  double Et = ecalScale.getTPGInGeV(d.encodedEt(), coarser) ;
175  */
176  //this works if the energy is compressed into 8 bits float Et=d.compressedEt()/2.; // 2ADC counts/GeV
177  float Et = d.encodedEt() / 8.; // 8 ADCcounts/GeV
178  if (Et <= 5)
179  continue;
180  //if ( Et<= 0 ) continue;
181  nTP++;
182 
183  std::cout << " TP digi size " << d.size() << std::endl;
184  for (int iBx = 0; iBx < d.size(); iBx++) {
185  std::cout << " TP samples " << d.sample(iBx) << std::endl;
186  }
187 
188  // EcalTrigTowerDetId coarser=(*eTTmap_).towerOf(myId);
189  // does not work float etaTow = theBarrelGeometry->getGeometry(coarser)->getPosition().theta();
190  // float etaTP = theBarrelGeometry->getGeometry(TPid)->getPosition().eta();
191  // does not work hTPvsTow_eta_->Fill ( etaTow, etaTP );
192  // hTPvsTow_ieta_->Fill ( coarser.ieta(), TPid.ieta() );
193 
194  tpIphi_ = TPid.iphi();
195  tpIeta_ = TPid.ieta();
196  tpgADC_ = d.encodedEt();
197  tpgGeV_ = Et;
198 
199  hTP_iphiVsieta_->Fill(TPid.ieta(), TPid.iphi(), Et);
200  hTP_iphiVsieta_fullrange_->Fill(TPid.ieta(), TPid.iphi(), Et);
201 
202  if (recHits_) {
203  for (unsigned int j = 0; j < rechit_EB_col.product()->size(); j++) {
204  const EBDetId& myid1 = (*rechit_EB_col.product())[j].id();
205  float theta = theBarrelGeometry->getGeometry(myid1)->getPosition().theta();
206  float rhEt = ((*rechit_EB_col.product())[j].energy()) * sin(theta);
207  if (myid1 == TPid) {
208  if (debug_)
209  std::cout << " Analyzer same cristal " << myid1 << " " << TPid << std::endl;
210  // if ( rhEt < 1.5 && Et > 10 ) {
211  // std::cout << " TP analyzer =================> Treating event "<<iEvent.id()<< ", Number of EB rechits "<< rechit_EB_col.product()->size() << " Number of TPs " << tp.product()->size() << std::endl;
212  //std::cout << " TP compressed et " << d.encodedEt() << " Et in GeV " << Et << " RH Et " << rhEt << " Et/rhEt " << Et/rhEt << std::endl;
213  //}
214 
215  //std::cout << " TP out " << d << std::endl;
216 
217  // for (int isam=0;isam< d.size();++isam) {
218  // std::cout << " d[isam].raw() " << d[isam].raw() << std::endl;
219  //}
220 
221  rhIphi_ = myid1.iphi();
222  rhIeta_ = myid1.ieta();
223  hRH_iphiVsieta_->Fill(myid1.ieta(), myid1.iphi(), rhEt);
224  hRH_iphiVsieta_fullrange_->Fill(myid1.ieta(), myid1.iphi(), rhEt);
225 
226  hTPvsRechit_->Fill(rhEt, Et);
227  hTPoverRechit_->Fill(Et / rhEt);
228  hDeltaEt_->Fill((rhEt - Et) / rhEt);
229  if (debug_)
230  std::cout << " TP compressed et " << d.encodedEt() << " Et in GeV " << Et << " RH Et " << rhEt
231  << " Et/rhEt " << Et / rhEt << std::endl;
232  hRechitEt_->Fill(rhEt);
233  hTPEt_->Fill(Et);
234  if (rhEt < 1000000)
235  eRec_ = rhEt;
236  tree_->Fill();
237  }
238 
239  } // end loop of recHits
240  } // if recHits
241 
242  } // end loop over TP collection
243 
244  // } // end loop over digi collection
245 
246  hTPperEvt_->Fill(float(nTP));
247 
248  if (recHits_) {
249  hRatioEt_->Divide(hTPEt_, hRechitEt_);
250  for (unsigned int j = 0; j < rechit_EB_col.product()->size(); j++) {
251  const EBDetId& myid1 = (*rechit_EB_col.product())[j].id();
252  float theta = theBarrelGeometry->getGeometry(myid1)->getPosition().theta();
253  float rhEt = ((*rechit_EB_col.product())[j].energy()) * sin(theta);
254  if (rhEt > 0)
255  hAllRechitEt_->Fill(rhEt);
256  }
257  }
258 }

References gather_cfg::cout, ztail::d, HCALHighEnergyHPDFilter_cfi::energy, edm::EventSetup::get(), edm::get(), CaloSubdetectorGeometry::getGeometry(), mps_fire::i, EBDetId::ieta(), iEvent, init, EBDetId::iphi(), dqmiolumiharvest::j, edm::Handle< T >::product(), edm::ESHandle< T >::product(), EcalTPGScale::setEventSetup(), funct::sin(), edm::SortedCollection< T, SORT >::size(), theta(), and cmsswSequenceInfo::tp.

◆ endJob()

void EcalEBTrigPrimAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 260 of file EcalEBTrigPrimAnalyzer.cc.

260  {
261  for (unsigned int i = 0; i < ecal_parts_.size(); ++i) {
262  ecal_et_[i]->Write();
263  ecal_tt_[i]->Write();
264  ecal_fgvb_[i]->Write();
265  }
266 
267  hAllTPperEvt_->Write();
268  hTPperEvt_->Write();
269 
270  if (recHits_) {
271  hTPvsTow_ieta_->Write();
272  hTPvsTow_eta_->Write();
273  hTPvsRechit_->Write();
274  hTPoverRechit_->Write();
275  hAllRechitEt_->Write();
276  hRechitEt_->Write();
277  hDeltaEt_->Write();
278  hTPEt_->Write();
279  hRatioEt_->Write();
280  hTP_iphiVsieta_->Write();
281  hRH_iphiVsieta_->Write();
282  hTP_iphiVsieta_fullrange_->Write();
283  hRH_iphiVsieta_fullrange_->Write();
284  }
285 }

References mps_fire::i.

◆ getIndex()

int EcalEBTrigPrimAnalyzer::getIndex ( const EBDigiCollection ,
EcalTrigTowerDetId id 
)
inlineprivate

Definition at line 73 of file EcalEBTrigPrimAnalyzer.h.

73 { return id.hashedIndex(); }

◆ init()

void EcalEBTrigPrimAnalyzer::init ( const edm::EventSetup iSetup)
private

Definition at line 101 of file EcalEBTrigPrimAnalyzer.cc.

101 { iSetup.get<IdealGeometryRecord>().get(eTTmap_); }

References edm::EventSetup::get(), and edm::get().

Member Data Documentation

◆ debug_

bool EcalEBTrigPrimAnalyzer::debug_
private

Definition at line 70 of file EcalEBTrigPrimAnalyzer.h.

◆ ecal_et_

TH1I* EcalEBTrigPrimAnalyzer::ecal_et_[2]
private

Definition at line 38 of file EcalEBTrigPrimAnalyzer.h.

◆ ecal_fgvb_

TH1I* EcalEBTrigPrimAnalyzer::ecal_fgvb_[2]
private

Definition at line 40 of file EcalEBTrigPrimAnalyzer.h.

◆ ecal_parts_

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

Definition at line 37 of file EcalEBTrigPrimAnalyzer.h.

◆ ecal_tt_

TH1I* EcalEBTrigPrimAnalyzer::ecal_tt_[2]
private

Definition at line 39 of file EcalEBTrigPrimAnalyzer.h.

◆ eRec_

float EcalEBTrigPrimAnalyzer::eRec_
private

Definition at line 63 of file EcalEBTrigPrimAnalyzer.h.

◆ eTTmap_

edm::ESHandle<EcalTrigTowerConstituentsMap> EcalEBTrigPrimAnalyzer::eTTmap_
private

Definition at line 71 of file EcalEBTrigPrimAnalyzer.h.

◆ fg_

int EcalEBTrigPrimAnalyzer::fg_
private

Definition at line 61 of file EcalEBTrigPrimAnalyzer.h.

◆ hAllRechitEt_

TH1F* EcalEBTrigPrimAnalyzer::hAllRechitEt_
private

Definition at line 48 of file EcalEBTrigPrimAnalyzer.h.

◆ hAllTPperEvt_

TH1F* EcalEBTrigPrimAnalyzer::hAllTPperEvt_
private

Definition at line 43 of file EcalEBTrigPrimAnalyzer.h.

◆ hDeltaEt_

TH1F* EcalEBTrigPrimAnalyzer::hDeltaEt_
private

Definition at line 47 of file EcalEBTrigPrimAnalyzer.h.

◆ histBar

TH1I * EcalEBTrigPrimAnalyzer::histBar
private

Definition at line 41 of file EcalEBTrigPrimAnalyzer.h.

◆ histEndc

TH1I* EcalEBTrigPrimAnalyzer::histEndc
private

Definition at line 41 of file EcalEBTrigPrimAnalyzer.h.

◆ histfile_

TFile* EcalEBTrigPrimAnalyzer::histfile_
private

Definition at line 42 of file EcalEBTrigPrimAnalyzer.h.

◆ hRatioEt_

TH1F* EcalEBTrigPrimAnalyzer::hRatioEt_
private

Definition at line 51 of file EcalEBTrigPrimAnalyzer.h.

◆ hRechitEt_

TH1F* EcalEBTrigPrimAnalyzer::hRechitEt_
private

Definition at line 49 of file EcalEBTrigPrimAnalyzer.h.

◆ hRH_iphiVsieta_

TH2F* EcalEBTrigPrimAnalyzer::hRH_iphiVsieta_
private

Definition at line 55 of file EcalEBTrigPrimAnalyzer.h.

◆ hRH_iphiVsieta_fullrange_

TH2F* EcalEBTrigPrimAnalyzer::hRH_iphiVsieta_fullrange_
private

Definition at line 57 of file EcalEBTrigPrimAnalyzer.h.

◆ hTP_iphiVsieta_

TH2F* EcalEBTrigPrimAnalyzer::hTP_iphiVsieta_
private

Definition at line 54 of file EcalEBTrigPrimAnalyzer.h.

◆ hTP_iphiVsieta_fullrange_

TH2F* EcalEBTrigPrimAnalyzer::hTP_iphiVsieta_fullrange_
private

Definition at line 56 of file EcalEBTrigPrimAnalyzer.h.

◆ hTPEt_

TH1F* EcalEBTrigPrimAnalyzer::hTPEt_
private

Definition at line 50 of file EcalEBTrigPrimAnalyzer.h.

◆ hTPoverRechit_

TH1F* EcalEBTrigPrimAnalyzer::hTPoverRechit_
private

Definition at line 46 of file EcalEBTrigPrimAnalyzer.h.

◆ hTPperEvt_

TH1F* EcalEBTrigPrimAnalyzer::hTPperEvt_
private

Definition at line 44 of file EcalEBTrigPrimAnalyzer.h.

◆ hTPvsRechit_

TH2F* EcalEBTrigPrimAnalyzer::hTPvsRechit_
private

Definition at line 45 of file EcalEBTrigPrimAnalyzer.h.

◆ hTPvsTow_eta_

TH2F* EcalEBTrigPrimAnalyzer::hTPvsTow_eta_
private

Definition at line 53 of file EcalEBTrigPrimAnalyzer.h.

◆ hTPvsTow_ieta_

TH2F* EcalEBTrigPrimAnalyzer::hTPvsTow_ieta_
private

Definition at line 52 of file EcalEBTrigPrimAnalyzer.h.

◆ nEvents_

int EcalEBTrigPrimAnalyzer::nEvents_
private

Definition at line 33 of file EcalEBTrigPrimAnalyzer.h.

◆ primToken_

edm::EDGetTokenT<EcalEBTrigPrimDigiCollection> EcalEBTrigPrimAnalyzer::primToken_
private

Definition at line 66 of file EcalEBTrigPrimAnalyzer.h.

◆ recHits_

bool EcalEBTrigPrimAnalyzer::recHits_
private

Definition at line 69 of file EcalEBTrigPrimAnalyzer.h.

◆ rechits_labelEB_

edm::EDGetTokenT<EcalRecHitCollection> EcalEBTrigPrimAnalyzer::rechits_labelEB_
private

Definition at line 67 of file EcalEBTrigPrimAnalyzer.h.

◆ rhIeta_

int EcalEBTrigPrimAnalyzer::rhIeta_
private

Definition at line 62 of file EcalEBTrigPrimAnalyzer.h.

◆ rhIphi_

int EcalEBTrigPrimAnalyzer::rhIphi_
private

Definition at line 62 of file EcalEBTrigPrimAnalyzer.h.

◆ tokenEBdigi_

edm::EDGetTokenT<EBDigiCollection> EcalEBTrigPrimAnalyzer::tokenEBdigi_
private

Definition at line 68 of file EcalEBTrigPrimAnalyzer.h.

◆ tpgADC_

int EcalEBTrigPrimAnalyzer::tpgADC_
private

Definition at line 61 of file EcalEBTrigPrimAnalyzer.h.

◆ tpgGeV_

float EcalEBTrigPrimAnalyzer::tpgGeV_
private

Definition at line 63 of file EcalEBTrigPrimAnalyzer.h.

◆ tpIeta_

int EcalEBTrigPrimAnalyzer::tpIeta_
private

Definition at line 61 of file EcalEBTrigPrimAnalyzer.h.

◆ tpIphi_

int EcalEBTrigPrimAnalyzer::tpIphi_
private

Definition at line 61 of file EcalEBTrigPrimAnalyzer.h.

◆ tree_

TTree* EcalEBTrigPrimAnalyzer::tree_
private

Definition at line 59 of file EcalEBTrigPrimAnalyzer.h.

◆ ttf_

int EcalEBTrigPrimAnalyzer::ttf_
private

Definition at line 61 of file EcalEBTrigPrimAnalyzer.h.

EcalEBTrigPrimAnalyzer::tpgADC_
int tpgADC_
Definition: EcalEBTrigPrimAnalyzer.h:61
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
EcalEBTrigPrimAnalyzer::histfile_
TFile * histfile_
Definition: EcalEBTrigPrimAnalyzer.h:42
EcalEBTrigPrimAnalyzer::hTPvsTow_ieta_
TH2F * hTPvsTow_ieta_
Definition: EcalEBTrigPrimAnalyzer.h:52
EBDetId::ieta
int ieta() const
get the crystal ieta
Definition: EBDetId.h:49
mps_fire.i
i
Definition: mps_fire.py:355
EcalTPGScale
Definition: EcalTPGScale.h:8
edm::Handle::product
T const * product() const
Definition: Handle.h:70
EcalEBTrigPrimAnalyzer::hTPoverRechit_
TH1F * hTPoverRechit_
Definition: EcalEBTrigPrimAnalyzer.h:46
EcalEBTrigPrimAnalyzer::rhIphi_
int rhIphi_
Definition: EcalEBTrigPrimAnalyzer.h:62
EBDetId
Definition: EBDetId.h:17
edm
HLT enums.
Definition: AlignableModifier.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
EcalEBTrigPrimAnalyzer::tpIeta_
int tpIeta_
Definition: EcalEBTrigPrimAnalyzer.h:61
EcalEBTrigPrimAnalyzer::nEvents_
int nEvents_
Definition: EcalEBTrigPrimAnalyzer.h:33
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
EcalEBTrigPrimAnalyzer::hTP_iphiVsieta_
TH2F * hTP_iphiVsieta_
Definition: EcalEBTrigPrimAnalyzer.h:54
EcalTPGScale::setEventSetup
void setEventSetup(const edm::EventSetup &evtSetup)
Definition: EcalTPGScale.cc:16
EcalEBTrigPrimAnalyzer::init
void init(const edm::EventSetup &)
Definition: EcalEBTrigPrimAnalyzer.cc:101
edm::Handle
Definition: AssociativeIterator.h:50
EcalBarrelGeometryRecord
Definition: EcalBarrelGeometryRecord.h:23
EcalEBTrigPrimAnalyzer::hAllRechitEt_
TH1F * hAllRechitEt_
Definition: EcalEBTrigPrimAnalyzer.h:48
EcalEBTrigPrimAnalyzer::ecal_fgvb_
TH1I * ecal_fgvb_[2]
Definition: EcalEBTrigPrimAnalyzer.h:40
EcalEBTrigPrimAnalyzer::rhIeta_
int rhIeta_
Definition: EcalEBTrigPrimAnalyzer.h:62
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
EcalEBTrigPrimAnalyzer::hTPEt_
TH1F * hTPEt_
Definition: EcalEBTrigPrimAnalyzer.h:50
EcalEBTrigPrimAnalyzer::ttf_
int ttf_
Definition: EcalEBTrigPrimAnalyzer.h:61
EcalEBTrigPrimAnalyzer::hRatioEt_
TH1F * hRatioEt_
Definition: EcalEBTrigPrimAnalyzer.h:51
EcalEBTrigPrimAnalyzer::recHits_
bool recHits_
Definition: EcalEBTrigPrimAnalyzer.h:69
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
EcalEBTrigPrimAnalyzer::eTTmap_
edm::ESHandle< EcalTrigTowerConstituentsMap > eTTmap_
Definition: EcalEBTrigPrimAnalyzer.h:71
EcalEBTrigPrimAnalyzer::ecal_parts_
std::vector< std::string > ecal_parts_
Definition: EcalEBTrigPrimAnalyzer.h:37
EcalEBTrigPrimAnalyzer::hRH_iphiVsieta_fullrange_
TH2F * hRH_iphiVsieta_fullrange_
Definition: EcalEBTrigPrimAnalyzer.h:57
EcalEBTrigPrimAnalyzer::tree_
TTree * tree_
Definition: EcalEBTrigPrimAnalyzer.h:59
edm::ESHandle< CaloSubdetectorGeometry >
EcalEBTrigPrimAnalyzer::hTPvsRechit_
TH2F * hTPvsRechit_
Definition: EcalEBTrigPrimAnalyzer.h:45
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
EcalEBTrigPrimAnalyzer::hDeltaEt_
TH1F * hDeltaEt_
Definition: EcalEBTrigPrimAnalyzer.h:47
cmsswSequenceInfo.tp
tp
Definition: cmsswSequenceInfo.py:17
EcalEBTrigPrimAnalyzer::tpIphi_
int tpIphi_
Definition: EcalEBTrigPrimAnalyzer.h:61
EcalEBTrigPrimAnalyzer::hRH_iphiVsieta_
TH2F * hRH_iphiVsieta_
Definition: EcalEBTrigPrimAnalyzer.h:55
EcalEBTrigPrimAnalyzer::primToken_
edm::EDGetTokenT< EcalEBTrigPrimDigiCollection > primToken_
Definition: EcalEBTrigPrimAnalyzer.h:66
EcalEBTrigPrimAnalyzer::fg_
int fg_
Definition: EcalEBTrigPrimAnalyzer.h:61
EcalEBTrigPrimAnalyzer::hRechitEt_
TH1F * hRechitEt_
Definition: EcalEBTrigPrimAnalyzer.h:49
EcalEBTrigPrimAnalyzer::rechits_labelEB_
edm::EDGetTokenT< EcalRecHitCollection > rechits_labelEB_
Definition: EcalEBTrigPrimAnalyzer.h:67
EcalEBTrigPrimAnalyzer::hAllTPperEvt_
TH1F * hAllTPperEvt_
Definition: EcalEBTrigPrimAnalyzer.h:43
iEvent
int iEvent
Definition: GenABIO.cc:224
CaloSubdetectorGeometry::getGeometry
virtual std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
Definition: CaloSubdetectorGeometry.cc:36
get
#define get
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
EcalEBTrigPrimAnalyzer::eRec_
float eRec_
Definition: EcalEBTrigPrimAnalyzer.h:63
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
EcalEBTriggerPrimitiveDigi
Definition: EcalEBTriggerPrimitiveDigi.h:15
std
Definition: JetResolutionObject.h:76
EcalEBTrigPrimAnalyzer::tpgGeV_
float tpgGeV_
Definition: EcalEBTrigPrimAnalyzer.h:63
EcalEBTrigPrimAnalyzer::hTPvsTow_eta_
TH2F * hTPvsTow_eta_
Definition: EcalEBTrigPrimAnalyzer.h:53
EcalEBTrigPrimAnalyzer::ecal_et_
TH1I * ecal_et_[2]
Definition: EcalEBTrigPrimAnalyzer.h:38
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
EBDetId::iphi
int iphi() const
get the crystal iphi
Definition: EBDetId.h:51
ztail.d
d
Definition: ztail.py:151
EcalEBTrigPrimAnalyzer::debug_
bool debug_
Definition: EcalEBTrigPrimAnalyzer.h:70
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
EcalEBTrigPrimAnalyzer::hTPperEvt_
TH1F * hTPperEvt_
Definition: EcalEBTrigPrimAnalyzer.h:44
EcalEBTrigPrimAnalyzer::tokenEBdigi_
edm::EDGetTokenT< EBDigiCollection > tokenEBdigi_
Definition: EcalEBTrigPrimAnalyzer.h:68
EcalEBTrigPrimAnalyzer::hTP_iphiVsieta_fullrange_
TH2F * hTP_iphiVsieta_fullrange_
Definition: EcalEBTrigPrimAnalyzer.h:56
edm::InputTag
Definition: InputTag.h:15
IdealGeometryRecord
Definition: IdealGeometryRecord.h:27
EcalEBTrigPrimAnalyzer::ecal_tt_
TH1I * ecal_tt_[2]
Definition: EcalEBTrigPrimAnalyzer.h:39