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
 
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)
 

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 = 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)
 

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_FULL_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(0), z(0), depth(0), eta(0), phi(0), lay(0);
148  bool hbhe(false), bh(false);
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  double eta1 = (eta >= 0) ? (eta + 0.1) : (eta - 0.1);
164  if (hbhe)
165  hsi2Oc_->Fill(eta1, (phi - 0.1), energy);
166  if (bh) {
167  hsimE1_->Fill(energy);
168  hsimTm_->Fill(time, energy);
169  hsimOc_->Fill(eta1, (phi - 0.1), energy);
170  hsimLn_->Fill(lay, energy);
171  hsi3Oc_->Fill(eta1, lay, energy);
172  double ensum(0);
173  if (map_try.count(id) != 0)
174  ensum = map_try[id];
175  ensum += energy;
176  map_try[id] = ensum;
177  ++i;
178  edm::LogVerbatim("HGCalValidation")
179  << "HGCalBHHit[" << i << "] ID " << std::hex << " " << id << std::dec << " SubDet " << subdet << " depth "
180  << depth << " Eta " << eta << " Phi " << phi << " layer " << lay << " E " << energy << " time " << time;
181  }
182  }
183  for (std::map<unsigned int, double>::iterator itr = map_try.begin(); itr != map_try.end(); ++itr) {
184  hsimE2_->Fill((*itr).second);
185  }
186  }
187 
188  //Digits
189  unsigned int kount(0);
190  if ((geomType_ == 0) && ifHCAL_) {
192  e.getByToken(tok_hbhe_, hbhecoll);
193  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation.: "
194  << "HBHEQIE11DigiCollection obtained "
195  << "with flag " << hbhecoll.isValid();
196  if (hbhecoll.isValid()) {
197  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation: HBHEDigit "
198  << "buffer " << hbhecoll->size();
199  for (QIE11DigiCollection::const_iterator it = hbhecoll->begin(); it != hbhecoll->end(); ++it) {
200  QIE11DataFrame df(*it);
201  HcalDetId cell(df.id());
202  bool hbhe =
203  ((cell.subdetId() == static_cast<int>(HcalEndcap)) || (cell.subdetId() == static_cast<int>(HcalBarrel)));
204  if (hbhe) {
205  bool bh = (cell.subdetId() == static_cast<int>(HcalEndcap));
206  int depth = cell.depth();
207  double energy = df[iSample_].adc();
208  analyzeDigi(cell, energy, bh, depth, kount);
209  }
210  }
211  }
212  } else {
214  e.getByToken(tok_hbhe_, hbhecoll);
215  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation.: "
216  << "HGCalDigiCollection obtained with"
217  << " flag " << hbhecoll.isValid();
218  if (hbhecoll.isValid()) {
219  edm::LogVerbatim("HGCalValidation") << "HGCalBHValidation: HGCalDigi "
220  << "buffer " << hbhecoll->size();
221  for (HGCalDigiCollection::const_iterator it = hbhecoll->begin(); it != hbhecoll->end(); ++it) {
222  HGCalDataFrame df(*it);
223  double energy = df[iSample_].data();
224  if (geomType_ == 0) {
225  HcalDetId cell(df.id());
226  bool hbhe =
227  ((cell.subdetId() == static_cast<int>(HcalEndcap)) || (cell.subdetId() == static_cast<int>(HcalBarrel)));
228  if (hbhe) {
229  bool bh = (cell.subdetId() == static_cast<int>(HcalEndcap));
230  int depth = cell.depth();
231  analyzeDigi(cell, energy, bh, depth, kount);
232  }
233  } else {
234  bool bh = (DetId(df.id()).det() == DetId::HGCalHSc);
235  if (bh) {
236  HGCScintillatorDetId cell(df.id());
237  int depth = cell.layer();
238  analyzeDigi(cell, energy, bh, depth, kount);
239  }
240  }
241  }
242  }
243  }
244 }

References analyzeDigi(), edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), TauDecayModes::dec, LEDCalibrationChannels::depth, DetId::det(), hgcalPerformanceValidation::df, MillePedeFileConverter_cfg::e, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, HLT_FULL_cff::eta1, geomType_, photonIsolationHIProducer_cfi::hbhe, HcalBarrel, HcalEndcap, DetId::HGCalHSc, hsi2Oc_, hsi3Oc_, hsimE1_, hsimE2_, hsimLn_, hsimOc_, hsimTm_, mps_fire::i, triggerObjects_cff::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 247 of file HGCalBHValidation.cc.

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

References LEDCalibrationChannels::depth, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, HLT_FULL_cff::eta1, 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", 50, 0.0, 25.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, 50, 0, 25);
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", 50, 0.0, 25.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, 50, 0, 25);
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", "HGCHitsHEback");
95  desc.addUntracked<edm::InputTag>("DigiCollection", edm::InputTag("simHGCalUnsuppressedDigis", "HEback"));
96  desc.addUntracked<int>("Sample", 5);
97  desc.addUntracked<int>("GeometryType", 1);
98  desc.addUntracked<double>("Threshold", 15.0);
99  desc.addUntracked<bool>("ifHCAL", false);
100  descriptions.add("hgcalBHAnalysis", desc);
101 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_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:428
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:58
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:56
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
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89287
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:50
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
HLT_FULL_cff.eta1
eta1
Definition: HLT_FULL_cff.py:9541
HGCalBHValidation::hdigOc_
TH2D * hdigOc_
Definition: HGCalBHValidation.cc:67
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
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:29
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
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
hgcalPerformanceValidation.df
df
Definition: hgcalPerformanceValidation.py:640
HcalEndcap
Definition: HcalAssistant.h:34
HGCScintillatorDetId
Definition: HGCScintillatorDetId.h:23
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
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:247
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