CMS 3D CMS Logo

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

Private Attributes

edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecordbarrelGeomToken_
 
TH1I * ecal_et_ [2]
 
TH1I * ecal_fgvb_ [2]
 
std::vector< std::string > ecal_parts_
 
TH1I * ecal_tt_ [2]
 
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecordendcapGeomToken_
 
float eRec_
 
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecordeTTmapToken_
 
int fg_
 
edm::ESGetToken< CaloGeometry, CaloGeometryRecordgeomToken_
 
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
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

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::EcalTrigPrimAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 46 of file EcalTrigPrimAnalyzer.cc.

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 }

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_.

◆ ~EcalTrigPrimAnalyzer()

EcalTrigPrimAnalyzer::~EcalTrigPrimAnalyzer ( )
override

Definition at line 85 of file EcalTrigPrimAnalyzer.cc.

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 }

References histfile_.

Member Function Documentation

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 98 of file EcalTrigPrimAnalyzer.cc.

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 }

References barrelGeomToken_, submitPVResolutionJobs::count, ztail::d, ecal_et_, ecal_fgvb_, ecal_tt_, endcapGeomToken_, HCALHighEnergyHPDFilter_cfi::energy, eRec_, eTTmapToken_, fg_, geomToken_, CaloSubdetectorGeometry::getGeometry(), edm::EventSetup::getHandle(), EcalTPGScale::getTPGInGeV(), hTPoverRechit_, hTPvsRechit_, mps_fire::i, EcalTrigTowerDetId::ieta(), ieta_, iEvent, EcalTrigTowerDetId::iphi(), iphi_, dqmiolumiharvest::j, label_, edm::Handle< T >::product(), edm::ESHandle< T >::product(), recHits_, rechits_labelEB_, rechits_labelEE_, funct::sin(), edm::SortedCollection< T, SORT >::size(), theta(), tokens_, EBDetId::tower(), cmsswSequenceInfo::tp, tpgADC_, tpgGeV_, tree_, and ttf_.

◆ endJob()

void EcalTrigPrimAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 222 of file EcalTrigPrimAnalyzer.cc.

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 }

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

Member Data Documentation

◆ barrelGeomToken_

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

Definition at line 74 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ ecal_et_

TH1I* EcalTrigPrimAnalyzer::ecal_et_[2]
private

Definition at line 56 of file EcalTrigPrimAnalyzer.h.

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

◆ ecal_fgvb_

TH1I* EcalTrigPrimAnalyzer::ecal_fgvb_[2]
private

Definition at line 58 of file EcalTrigPrimAnalyzer.h.

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

◆ ecal_parts_

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

Definition at line 55 of file EcalTrigPrimAnalyzer.h.

Referenced by EcalTrigPrimAnalyzer().

◆ ecal_tt_

TH1I* EcalTrigPrimAnalyzer::ecal_tt_[2]
private

Definition at line 57 of file EcalTrigPrimAnalyzer.h.

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

◆ endcapGeomToken_

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

Definition at line 73 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ eRec_

float EcalTrigPrimAnalyzer::eRec_
private

Definition at line 66 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ eTTmapToken_

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

Definition at line 75 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ fg_

int EcalTrigPrimAnalyzer::fg_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ geomToken_

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

Definition at line 72 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ histBar

TH1I * EcalTrigPrimAnalyzer::histBar
private

Definition at line 59 of file EcalTrigPrimAnalyzer.h.

◆ histEndc

TH1I* EcalTrigPrimAnalyzer::histEndc
private

Definition at line 59 of file EcalTrigPrimAnalyzer.h.

◆ histfile_

TFile* EcalTrigPrimAnalyzer::histfile_
private

Definition at line 60 of file EcalTrigPrimAnalyzer.h.

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

◆ hTPoverRechit_

TH1F* EcalTrigPrimAnalyzer::hTPoverRechit_
private

Definition at line 62 of file EcalTrigPrimAnalyzer.h.

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

◆ hTPvsRechit_

TH2F* EcalTrigPrimAnalyzer::hTPvsRechit_
private

Definition at line 61 of file EcalTrigPrimAnalyzer.h.

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

◆ ieta_

int EcalTrigPrimAnalyzer::ieta_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ iphi_

int EcalTrigPrimAnalyzer::iphi_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ label_

edm::InputTag EcalTrigPrimAnalyzer::label_
private

◆ recHits_

bool EcalTrigPrimAnalyzer::recHits_
private

Definition at line 78 of file EcalTrigPrimAnalyzer.h.

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

◆ rechits_labelEB_

edm::InputTag EcalTrigPrimAnalyzer::rechits_labelEB_
private

Definition at line 70 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ rechits_labelEE_

edm::InputTag EcalTrigPrimAnalyzer::rechits_labelEE_
private

Definition at line 71 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ tokens_

EcalTPGScale::Tokens EcalTrigPrimAnalyzer::tokens_
private

Definition at line 76 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze().

◆ tpgADC_

int EcalTrigPrimAnalyzer::tpgADC_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ tpgGeV_

float EcalTrigPrimAnalyzer::tpgGeV_
private

Definition at line 66 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ tree_

TTree* EcalTrigPrimAnalyzer::tree_
private

Definition at line 63 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

◆ ttf_

int EcalTrigPrimAnalyzer::ttf_
private

Definition at line 65 of file EcalTrigPrimAnalyzer.h.

Referenced by analyze(), and EcalTrigPrimAnalyzer().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
mps_fire.i
i
Definition: mps_fire.py:428
EcalTrigTowerDetId::iphi
int iphi() const
get the tower iphi
Definition: EcalTrigTowerDetId.h:52
edm::ESInputTag
Definition: ESInputTag.h:87
EcalTrigPrimAnalyzer::ecal_fgvb_
TH1I * ecal_fgvb_[2]
Definition: EcalTrigPrimAnalyzer.h:58
EcalTrigPrimAnalyzer::ieta_
int ieta_
Definition: EcalTrigPrimAnalyzer.h:65
EcalTPGScale
Definition: EcalTPGScale.h:16
EcalTrigPrimAnalyzer::barrelGeomToken_
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > barrelGeomToken_
Definition: EcalTrigPrimAnalyzer.h:74
edm::Handle::product
T const * product() const
Definition: Handle.h:70
EcalTrigPrimAnalyzer::hTPvsRechit_
TH2F * hTPvsRechit_
Definition: EcalTrigPrimAnalyzer.h:61
EcalTrigPrimAnalyzer::endcapGeomToken_
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > endcapGeomToken_
Definition: EcalTrigPrimAnalyzer.h:73
EBDetId
Definition: EBDetId.h:17
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalTrigPrimAnalyzer::histfile_
TFile * histfile_
Definition: EcalTrigPrimAnalyzer.h:60
EcalTrigPrimAnalyzer::ecal_et_
TH1I * ecal_et_[2]
Definition: EcalTrigPrimAnalyzer.h:56
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:46
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
EcalTrigTowerDetId
Definition: EcalTrigTowerDetId.h:14
EcalTrigPrimAnalyzer::ttf_
int ttf_
Definition: EcalTrigPrimAnalyzer.h:65
edm::Handle
Definition: AssociativeIterator.h:50
EcalTrigPrimAnalyzer::ecal_parts_
std::vector< std::string > ecal_parts_
Definition: EcalTrigPrimAnalyzer.h:55
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
EcalTrigPrimAnalyzer::geomToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
Definition: EcalTrigPrimAnalyzer.h:72
EBDetId::tower
EcalTrigTowerDetId tower() const
get the HCAL/trigger iphi of this crystal
Definition: EBDetId.h:57
EcalTrigPrimAnalyzer::rechits_labelEB_
edm::InputTag rechits_labelEB_
Definition: EcalTrigPrimAnalyzer.h:70
edm::ESHandle< CaloGeometry >
submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
cmsswSequenceInfo.tp
tp
Definition: cmsswSequenceInfo.py:17
EEDetId
Definition: EEDetId.h:14
EcalTrigPrimAnalyzer::label_
edm::InputTag label_
Definition: EcalTrigPrimAnalyzer.h:68
EcalTrigPrimAnalyzer::tpgADC_
int tpgADC_
Definition: EcalTrigPrimAnalyzer.h:65
EcalTrigPrimAnalyzer::tree_
TTree * tree_
Definition: EcalTrigPrimAnalyzer.h:63
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:148
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
EcalTrigTowerDetId::ieta
int ieta() const
get the tower ieta
Definition: EcalTrigTowerDetId.h:44
EcalTrigPrimAnalyzer::eTTmapToken_
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > eTTmapToken_
Definition: EcalTrigPrimAnalyzer.h:75
EcalTrigPrimAnalyzer::tpgGeV_
float tpgGeV_
Definition: EcalTrigPrimAnalyzer.h:66
EcalTrigPrimAnalyzer::recHits_
bool recHits_
Definition: EcalTrigPrimAnalyzer.h:78
std
Definition: JetResolutionObject.h:76
EcalTrigPrimAnalyzer::ecal_tt_
TH1I * ecal_tt_[2]
Definition: EcalTrigPrimAnalyzer.h:57
EcalTrigPrimAnalyzer::hTPoverRechit_
TH1F * hTPoverRechit_
Definition: EcalTrigPrimAnalyzer.h:62
EcalTrigPrimAnalyzer::rechits_labelEE_
edm::InputTag rechits_labelEE_
Definition: EcalTrigPrimAnalyzer.h:71
EcalTrigPrimAnalyzer::fg_
int fg_
Definition: EcalTrigPrimAnalyzer.h:65
EcalTriggerPrimitiveDigi
Definition: EcalTriggerPrimitiveDigi.h:16
EcalTrigPrimAnalyzer::iphi_
int iphi_
Definition: EcalTrigPrimAnalyzer.h:65
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
ztail.d
d
Definition: ztail.py:151
EcalTrigPrimAnalyzer::tokens_
EcalTPGScale::Tokens tokens_
Definition: EcalTrigPrimAnalyzer.h:76
EcalTrigPrimAnalyzer::eRec_
float eRec_
Definition: EcalTrigPrimAnalyzer.h:66
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::InputTag
Definition: InputTag.h:15