CMS 3D CMS Logo

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

Public Member Functions

 HGCalBHValidation (const edm::ParameterSet &ps)
 
 ~HGCalBHValidation () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources >
 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)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Protected Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
template<class T >
void analyzeDigi (const T &, double const &, bool const &, int const &, unsigned int &)
 
void beginJob () override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
- 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)
 

Private Attributes

int etaMax_
 
edm::Service< TFileServicefs_
 
const std::string g4Label_
 
const int geomType_
 
const edm::InputTag hcalDigis_
 
const std::string hcalHits_
 
TH2D * hdi2Oc_
 
TH2D * hdi3Oc_
 
TH1D * hdigEn_
 
TH1D * hdigLn_
 
TH2D * hdigOc_
 
TH2D * hsi2Oc_
 
TH2D * hsi3Oc_
 
TH1D * hsimE1_
 
TH1D * hsimE2_
 
TH1D * hsimLn_
 
TH2D * hsimOc_
 
TH1D * hsimTm_
 
const bool ifHCAL_
 
const int iSample_
 
const double threshold_
 
edm::EDGetToken tok_hbhe_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_hits_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Detailed Description

Definition at line 38 of file HGCalBHValidation.cc.

Constructor & Destructor Documentation

◆ HGCalBHValidation()

HGCalBHValidation::HGCalBHValidation ( const edm::ParameterSet ps)
explicit

Definition at line 70 of file HGCalBHValidation.cc.

71  : g4Label_(ps.getUntrackedParameter<std::string>("ModuleLabel", "g4SimHits")),
72  hcalHits_((ps.getUntrackedParameter<std::string>("HitCollection", "HcalHits"))),
73  hcalDigis_(ps.getUntrackedParameter<edm::InputTag>("DigiCollection")),
74  iSample_(ps.getUntrackedParameter<int>("Sample", 5)),
75  geomType_(ps.getUntrackedParameter<int>("GeometryType", 0)),
76  threshold_(ps.getUntrackedParameter<double>("Threshold", 12.0)),
77  ifHCAL_(ps.getUntrackedParameter<bool>("ifHCAL", false)),
78  etaMax_(100) {
79  usesResource(TFileService::kSharedResource);
80 
81  tok_hits_ = consumes<edm::PCaloHitContainer>(edm::InputTag(g4Label_, hcalHits_));
82  if (ifHCAL_)
83  tok_hbhe_ = consumes<QIE11DigiCollection>(hcalDigis_);
84  else
85  tok_hbhe_ = consumes<HGCalDigiCollection>(hcalDigis_);
86  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation::Input for SimHit:" << edm::InputTag(g4Label_, hcalHits_)
87  << " Digits:" << hcalDigis_ << " Sample: " << iSample_ << " Threshold "
88  << threshold_;
89 }

References g4Label_, hcalDigis_, hcalHits_, ifHCAL_, HLT_2018_cff::InputTag, iSample_, TFileService::kSharedResource, threshold_, tok_hbhe_, and tok_hits_.

◆ ~HGCalBHValidation()

HGCalBHValidation::~HGCalBHValidation ( )
inlineoverride

Definition at line 41 of file HGCalBHValidation.cc.

41 {}

Member Function Documentation

◆ analyze()

void HGCalBHValidation::analyze ( edm::Event const &  e,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 131 of file HGCalBHValidation.cc.

131  {
132  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation:Run = " << e.id().run() << " Event = " << e.id().event();
133 
134  //SimHits
136  e.getByToken(tok_hits_, hitsHcal);
137  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation.: PCaloHitContainer"
138  << " obtained with flag " << hitsHcal.isValid();
139  if (hitsHcal.isValid()) {
140  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation: PCaloHit buffer " << hitsHcal->size();
141  unsigned i(0);
142  std::map<unsigned int, double> map_try;
143  for (edm::PCaloHitContainer::const_iterator it = hitsHcal->begin(); it != hitsHcal->end(); ++it) {
144  double energy = it->energy();
145  double time = it->time();
146  unsigned int id = it->id();
147  int subdet, z, depth, eta, phi, lay;
148  bool hbhe, bh;
149  if (geomType_ == 0) {
150  HcalTestNumbering::unpackHcalIndex(id, subdet, z, depth, eta, phi, lay);
151  if (z == 0)
152  eta = -eta;
153  hbhe = ((subdet == static_cast<int>(HcalEndcap)) || (subdet == static_cast<int>(HcalBarrel)));
154  bh = (subdet == static_cast<int>(HcalEndcap));
155  } else {
156  hbhe = bh = (DetId(id).det() == DetId::HGCalHSc);
157  if (bh) {
158  eta = HGCScintillatorDetId(id).ieta();
159  phi = HGCScintillatorDetId(id).iphi();
160  lay = HGCScintillatorDetId(id).layer();
161  }
162  }
163  if (hbhe)
164  hsi2Oc_->Fill((eta + 0.1), (phi - 0.1), energy);
165  if (bh) {
166  hsimE1_->Fill(energy);
167  hsimTm_->Fill(time, energy);
168  hsimOc_->Fill((eta + 0.1), (phi - 0.1), energy);
169  hsimLn_->Fill(lay, energy);
170  hsi3Oc_->Fill((eta + 0.1), lay, energy);
171  double ensum(0);
172  if (map_try.count(id) != 0)
173  ensum = map_try[id];
174  ensum += energy;
175  map_try[id] = ensum;
176  ++i;
177  edm::LogVerbatim("HGCalValidation")
178  << "HGCalBHHit[" << i << "] ID " << std::hex << " " << id << std::dec << " SubDet " << subdet << " depth "
179  << depth << " Eta " << eta << " Phi " << phi << " layer " << lay << " E " << energy << " time " << time;
180  }
181  }
182  for (std::map<unsigned int, double>::iterator itr = map_try.begin(); itr != map_try.end(); ++itr) {
183  hsimE2_->Fill((*itr).second);
184  }
185  }
186 
187  //Digits
188  unsigned int kount(0);
189  if ((geomType_ == 0) && ifHCAL_) {
191  e.getByToken(tok_hbhe_, hbhecoll);
192  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation.: "
193  << "HBHEQIE11DigiCollection obtained "
194  << "with flag " << hbhecoll.isValid();
195  if (hbhecoll.isValid()) {
196  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation: HBHEDigit "
197  << "buffer " << hbhecoll->size();
198  for (QIE11DigiCollection::const_iterator it = hbhecoll->begin(); it != hbhecoll->end(); ++it) {
199  QIE11DataFrame df(*it);
200  HcalDetId cell(df.id());
201  bool hbhe =
202  ((cell.subdetId() == static_cast<int>(HcalEndcap)) || (cell.subdetId() == static_cast<int>(HcalBarrel)));
203  if (hbhe) {
204  bool bh = (cell.subdetId() == static_cast<int>(HcalEndcap));
205  int depth = cell.depth();
206  double energy = df[iSample_].adc();
207  analyzeDigi(cell, energy, bh, depth, kount);
208  }
209  }
210  }
211  } else {
213  e.getByToken(tok_hbhe_, hbhecoll);
214  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation.: "
215  << "HGCalDigiCollection obtained with"
216  << " flag " << hbhecoll.isValid();
217  if (hbhecoll.isValid()) {
218  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation: HGCalDigi "
219  << "buffer " << hbhecoll->size();
220  for (HGCalDigiCollection::const_iterator it = hbhecoll->begin(); it != hbhecoll->end(); ++it) {
221  HGCalDataFrame df(*it);
222  double energy = df[iSample_].data();
223  if (geomType_ == 0) {
224  HcalDetId cell(df.id());
225  bool hbhe =
226  ((cell.subdetId() == static_cast<int>(HcalEndcap)) || (cell.subdetId() == static_cast<int>(HcalBarrel)));
227  if (hbhe) {
228  bool bh = (cell.subdetId() == static_cast<int>(HcalEndcap));
229  int depth = cell.depth();
230  analyzeDigi(cell, energy, bh, depth, kount);
231  }
232  } else {
233  bool bh = (DetId(df.id()).det() == DetId::HGCalHSc);
234  if (bh) {
235  HGCScintillatorDetId cell(df.id());
236  int depth = cell.layer();
237  analyzeDigi(cell, energy, bh, depth, kount);
238  }
239  }
240  }
241  }
242  }
243 }

References analyzeDigi(), edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), HGCDataFrame< D, S >::data(), TauDecayModes::dec, LEDCalibrationChannels::depth, DetId::det(), MillePedeFileConverter_cfg::e, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, geomType_, photonIsolationHIProducer_cfi::hbhe, HcalBarrel, HcalEndcap, DetId::HGCalHSc, hsi2Oc_, hsi3Oc_, hsimE1_, hsimE2_, hsimLn_, hsimOc_, hsimTm_, mps_fire::i, HGCDataFrame< D, S >::id(), triggerObjects_cff::id, QIE11DataFrame::id(), HGCScintillatorDetId::ieta(), ifHCAL_, HGCScintillatorDetId::iphi(), iSample_, edm::HandleBase::isValid(), HGCScintillatorDetId::layer(), phi, edm::SortedCollection< T, SORT >::size(), edm::DataFrameContainer::size(), ntuplemaker::time, tok_hbhe_, tok_hits_, HcalTestNumbering::unpackHcalIndex(), and z.

◆ analyzeDigi()

template<class T >
void HGCalBHValidation::analyzeDigi ( const T cell,
double const &  energy,
bool const &  bh,
int const &  depth,
unsigned int &  kount 
)
protected

Definition at line 246 of file HGCalBHValidation.cc.

247  {
248  if (energy > threshold_) {
249  int eta = cell.ieta();
250  int phi = cell.iphi();
251  hdi2Oc_->Fill((eta + 0.1), (phi - 0.1));
252  if (bh) {
253  hdigEn_->Fill(energy);
254  hdigOc_->Fill((eta + 0.1), (phi - 0.1));
255  hdigLn_->Fill(depth);
256  hdi3Oc_->Fill((eta + 0.1), depth);
257  ++kount;
258  edm::LogVerbatim("HGCalValidation")
259  << "HGCalBHDigit[" << kount << "] ID " << cell << " E " << energy << ":" << (energy > threshold_);
260  }
261  }
262 }

References LEDCalibrationChannels::depth, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, hdi2Oc_, hdi3Oc_, hdigEn_, hdigLn_, hdigOc_, phi, and threshold_.

Referenced by analyze().

◆ beginJob()

void HGCalBHValidation::beginJob ( void  )
inlineoverrideprotectedvirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 46 of file HGCalBHValidation.cc.

46 {}

◆ beginRun()

void HGCalBHValidation::beginRun ( edm::Run const &  ,
edm::EventSetup const &  es 
)
overrideprotected

Definition at line 103 of file HGCalBHValidation.cc.

103  {
104  if (geomType_ == 0) {
107  es.get<HcalParametersRcd>().get(label, parHandle);
108  const HcalParameters* hpar = &(*parHandle);
109  const std::vector<int> etaM = hpar->etaMax;
110  etaMax_ = etaM[1];
111  }
112  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation::Maximum Number of"
113  << " eta sectors:" << etaMax_ << "\nHitsValidationHcal::Booking the Histograms";
114 
115  //Histograms for Sim Hits
116  hsimE1_ = fs_->make<TH1D>("SimHitEn1", "Sim Hit Energy", 1000, 0.0, 1.0);
117  hsimE2_ = fs_->make<TH1D>("SimHitEn2", "Sim Hit Energy", 1000, 0.0, 1.0);
118  hsimTm_ = fs_->make<TH1D>("SimHitTime", "Sim Hit Time", 1000, 0.0, 500.0);
119  hsimLn_ = fs_->make<TH1D>("SimHitLong", "Sim Hit Long. Profile", 40, 0.0, 20.0);
120  hsimOc_ = fs_->make<TH2D>("SimHitOccup", "Sim Hit Occupnacy", 2 * etaMax_ + 1, -etaMax_, etaMax_ + 1, 360, 0, 360);
121  hsi2Oc_ = fs_->make<TH2D>("SimHitOccu2", "Sim Hit Occupnacy", 2 * etaMax_ + 1, -etaMax_, etaMax_ + 1, 360, 0, 360);
122  hsi3Oc_ = fs_->make<TH2D>("SimHitOccu3", "Sim Hit Occupnacy", 2 * etaMax_ + 1, -etaMax_, etaMax_ + 1, 40, 0, 20);
123  //Histograms for Digis
124  hdigEn_ = fs_->make<TH1D>("DigiEnergy", "Digi ADC Sample", 1000, 0.0, 1000.0);
125  hdigLn_ = fs_->make<TH1D>("DigiLong", "Digi Long. Profile", 40, 0.0, 20.0);
126  hdigOc_ = fs_->make<TH2D>("DigiOccup", "Digi Occupnacy", 2 * etaMax_ + 1, -etaMax_, etaMax_ + 1, 360, 0, 360);
127  hdi2Oc_ = fs_->make<TH2D>("DigiOccu2", "Digi Occupnacy", 2 * etaMax_ + 1, -etaMax_, etaMax_ + 1, 360, 0, 360);
128  hdi3Oc_ = fs_->make<TH2D>("DigiOccu3", "Digi Occupnacy", 2 * etaMax_ + 1, -etaMax_, etaMax_ + 1, 40, 0, 20);
129 }

References HcalParameters::etaMax, etaMax_, fs_, geomType_, edm::EventSetup::get(), get, hdi2Oc_, hdi3Oc_, hdigEn_, hdigLn_, hdigOc_, hsi2Oc_, hsi3Oc_, hsimE1_, hsimE2_, hsimLn_, hsimOc_, hsimTm_, label, TFileService::make(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ endRun()

void HGCalBHValidation::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineoverrideprotected

Definition at line 48 of file HGCalBHValidation.cc.

48 {}

◆ fillDescriptions()

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

Definition at line 91 of file HGCalBHValidation.cc.

91  {
93  desc.addUntracked<std::string>("ModuleLabel", "g4SimHits");
94  desc.addUntracked<std::string>("HitCollection", "HcalHits");
95  desc.addUntracked<edm::InputTag>("DigiCollection", edm::InputTag("hgcalDigis", "HEback"));
96  desc.addUntracked<int>("Sample", 5);
97  desc.addUntracked<int>("GeometryType", 0);
98  desc.addUntracked<double>("Threshold", 15.0);
99  desc.addUntracked<bool>("ifHCAL", false);
100  descriptions.add("hgcalBHAnalysis", desc);
101 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

Member Data Documentation

◆ etaMax_

int HGCalBHValidation::etaMax_
private

Definition at line 62 of file HGCalBHValidation.cc.

Referenced by beginRun().

◆ fs_

edm::Service<TFileService> HGCalBHValidation::fs_
private

Definition at line 54 of file HGCalBHValidation.cc.

Referenced by beginRun().

◆ g4Label_

const std::string HGCalBHValidation::g4Label_
private

Definition at line 55 of file HGCalBHValidation.cc.

Referenced by HGCalBHValidation().

◆ geomType_

const int HGCalBHValidation::geomType_
private

Definition at line 57 of file HGCalBHValidation.cc.

Referenced by analyze(), and beginRun().

◆ hcalDigis_

const edm::InputTag HGCalBHValidation::hcalDigis_
private

Definition at line 56 of file HGCalBHValidation.cc.

Referenced by HGCalBHValidation().

◆ hcalHits_

const std::string HGCalBHValidation::hcalHits_
private

Definition at line 55 of file HGCalBHValidation.cc.

Referenced by HGCalBHValidation().

◆ hdi2Oc_

TH2D * HGCalBHValidation::hdi2Oc_
private

Definition at line 67 of file HGCalBHValidation.cc.

Referenced by analyzeDigi(), and beginRun().

◆ hdi3Oc_

TH2D * HGCalBHValidation::hdi3Oc_
private

Definition at line 67 of file HGCalBHValidation.cc.

Referenced by analyzeDigi(), and beginRun().

◆ hdigEn_

TH1D * HGCalBHValidation::hdigEn_
private

Definition at line 65 of file HGCalBHValidation.cc.

Referenced by analyzeDigi(), and beginRun().

◆ hdigLn_

TH1D * HGCalBHValidation::hdigLn_
private

Definition at line 65 of file HGCalBHValidation.cc.

Referenced by analyzeDigi(), and beginRun().

◆ hdigOc_

TH2D* HGCalBHValidation::hdigOc_
private

Definition at line 67 of file HGCalBHValidation.cc.

Referenced by analyzeDigi(), and beginRun().

◆ hsi2Oc_

TH2D * HGCalBHValidation::hsi2Oc_
private

Definition at line 66 of file HGCalBHValidation.cc.

Referenced by analyze(), and beginRun().

◆ hsi3Oc_

TH2D * HGCalBHValidation::hsi3Oc_
private

Definition at line 66 of file HGCalBHValidation.cc.

Referenced by analyze(), and beginRun().

◆ hsimE1_

TH1D* HGCalBHValidation::hsimE1_
private

Definition at line 64 of file HGCalBHValidation.cc.

Referenced by analyze(), and beginRun().

◆ hsimE2_

TH1D * HGCalBHValidation::hsimE2_
private

Definition at line 64 of file HGCalBHValidation.cc.

Referenced by analyze(), and beginRun().

◆ hsimLn_

TH1D* HGCalBHValidation::hsimLn_
private

Definition at line 65 of file HGCalBHValidation.cc.

Referenced by analyze(), and beginRun().

◆ hsimOc_

TH2D* HGCalBHValidation::hsimOc_
private

Definition at line 66 of file HGCalBHValidation.cc.

Referenced by analyze(), and beginRun().

◆ hsimTm_

TH1D * HGCalBHValidation::hsimTm_
private

Definition at line 64 of file HGCalBHValidation.cc.

Referenced by analyze(), and beginRun().

◆ ifHCAL_

const bool HGCalBHValidation::ifHCAL_
private

Definition at line 59 of file HGCalBHValidation.cc.

Referenced by analyze(), and HGCalBHValidation().

◆ iSample_

const int HGCalBHValidation::iSample_
private

Definition at line 57 of file HGCalBHValidation.cc.

Referenced by analyze(), and HGCalBHValidation().

◆ threshold_

const double HGCalBHValidation::threshold_
private

Definition at line 58 of file HGCalBHValidation.cc.

Referenced by analyzeDigi(), and HGCalBHValidation().

◆ tok_hbhe_

edm::EDGetToken HGCalBHValidation::tok_hbhe_
private

Definition at line 61 of file HGCalBHValidation.cc.

Referenced by analyze(), and HGCalBHValidation().

◆ tok_hits_

edm::EDGetTokenT<edm::PCaloHitContainer> HGCalBHValidation::tok_hits_
private

Definition at line 60 of file HGCalBHValidation.cc.

Referenced by analyze(), and HGCalBHValidation().

HGCalBHValidation::hdi3Oc_
TH2D * hdi3Oc_
Definition: HGCalBHValidation.cc:67
mps_fire.i
i
Definition: mps_fire.py:355
edm::SortedCollection::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: SortedCollection.h:80
HGCScintillatorDetId::iphi
int iphi() const
get the phi index
Definition: HGCScintillatorDetId.cc:57
HGCalBHValidation::hsimTm_
TH1D * hsimTm_
Definition: HGCalBHValidation.cc:64
HGCalBHValidation::hdigEn_
TH1D * hdigEn_
Definition: HGCalBHValidation.cc:65
HGCalBHValidation::hsimE1_
TH1D * hsimE1_
Definition: HGCalBHValidation.cc:64
edm::DataFrameContainer::const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
Definition: DataFrameContainer.h:61
HGCScintillatorDetId::ieta
int ieta() const
Definition: HGCScintillatorDetId.h:53
HGCalBHValidation::iSample_
const int iSample_
Definition: HGCalBHValidation.cc:57
DetId::det
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
HGCalBHValidation::hdi2Oc_
TH2D * hdi2Oc_
Definition: HGCalBHValidation.cc:67
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
HcalParametersRcd
Definition: HcalParametersRcd.h:8
HGCalBHValidation::hsimE2_
TH1D * hsimE2_
Definition: HGCalBHValidation.cc:64
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HGCalBHValidation::hdigLn_
TH1D * hdigLn_
Definition: HGCalBHValidation.cc:65
HGCalBHValidation::g4Label_
const std::string g4Label_
Definition: HGCalBHValidation.cc:55
HGCalBHValidation::hsimOc_
TH2D * hsimOc_
Definition: HGCalBHValidation.cc:66
HcalBarrel
Definition: HcalAssistant.h:33
edm::Handle
Definition: AssociativeIterator.h:50
HGCalBHValidation::ifHCAL_
const bool ifHCAL_
Definition: HGCalBHValidation.cc:59
HcalParameters::etaMax
std::vector< int > etaMax
Definition: HcalParameters.h:55
HGCScintillatorDetId::layer
int layer() const
get the layer #
Definition: HGCScintillatorDetId.h:47
DetId
Definition: DetId.h:17
HcalTestNumbering::unpackHcalIndex
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
Definition: HcalTestNumbering.cc:18
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::SortedCollection::begin
const_iterator begin() const
Definition: SortedCollection.h:262
PVValHelper::eta
Definition: PVValidationHelpers.h:69
DDAxes::z
edm::ESHandle
Definition: DTSurvey.h:22
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
HGCalBHValidation::fs_
edm::Service< TFileService > fs_
Definition: HGCalBHValidation.cc:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSetDescription::addUntracked
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:100
HGCalBHValidation::hdigOc_
TH2D * hdigOc_
Definition: HGCalBHValidation.cc:67
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
HGCalBHValidation::threshold_
const double threshold_
Definition: HGCalBHValidation.cc:58
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
HGCalBHValidation::tok_hbhe_
edm::EDGetToken tok_hbhe_
Definition: HGCalBHValidation.cc:61
HGCDataFrame
Readout digi for HGC.
Definition: HGCDataFrame.h:14
HcalDetId
Definition: HcalDetId.h:12
edm::DataFrameContainer::begin
const_iterator begin() const
The iterator returned can not safely be used across threads.
Definition: DataFrameContainer.h:149
edm::LogVerbatim
Definition: MessageLogger.h:297
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:28
HGCalBHValidation::etaMax_
int etaMax_
Definition: HGCalBHValidation.cc:62
get
#define get
HGCalBHValidation::hsi2Oc_
TH2D * hsi2Oc_
Definition: HGCalBHValidation.cc:66
photonIsolationHIProducer_cfi.hbhe
hbhe
Definition: photonIsolationHIProducer_cfi.py:8
DDAxes::phi
HGCalBHValidation::hcalDigis_
const edm::InputTag hcalDigis_
Definition: HGCalBHValidation.cc:56
HGCalBHValidation::geomType_
const int geomType_
Definition: HGCalBHValidation.cc:57
HcalEndcap
Definition: HcalAssistant.h:34
HGCScintillatorDetId
Definition: HGCScintillatorDetId.h:21
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
DetId::HGCalHSc
Definition: DetId.h:34
QIE11DataFrame
Definition: QIE11DataFrame.h:11
HcalParameters
Definition: HcalParameters.h:6
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
HGCalBHValidation::hcalHits_
const std::string hcalHits_
Definition: HGCalBHValidation.cc:55
HGCalBHValidation::analyzeDigi
void analyzeDigi(const T &, double const &, bool const &, int const &, unsigned int &)
Definition: HGCalBHValidation.cc:246
HGCalBHValidation::tok_hits_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
Definition: HGCalBHValidation.cc:60
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
ntuplemaker.time
time
Definition: ntuplemaker.py:310
HGCalBHValidation::hsi3Oc_
TH2D * hsi3Oc_
Definition: HGCalBHValidation.cc:66
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
edm::DataFrameContainer::end
const_iterator end() const
Definition: DataFrameContainer.h:152
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
HGCalBHValidation::hsimLn_
TH1D * hsimLn_
Definition: HGCalBHValidation.cc:65
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
edm::DataFrameContainer::size
size_type size() const
Definition: DataFrameContainer.h:162
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37