CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
HGCalDigiValidation Class Reference
Inheritance diagram for HGCalDigiValidation:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Classes

struct  digiInfo
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &) override
 
 HGCalDigiValidation (const edm::ParameterSet &)
 
 ~HGCalDigiValidation () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Private Member Functions

template<class T1 , class T2 >
void digiValidation (const T1 &detId, const T2 *geom, int layer, uint16_t adc, double charge, bool mode, bool threshold)
 
void fillDigiInfo ()
 
void fillDigiInfo (digiInfo &hinfo)
 
void fillOccupancyMap (std::map< int, int > &OccupancyMap, int layer)
 

Private Attributes

std::vector< MonitorElement * > ADC_
 
std::vector< MonitorElement * > DigiOccupancy_Minus_
 
std::vector< MonitorElement * > DigiOccupancy_Plus_
 
std::vector< MonitorElement * > DigiOccupancy_XY_
 
edm::EDGetToken digiSource_
 
int firstLayer_
 
const bool ifNose_
 
int layers_
 
MonitorElementMeanDigiOccupancy_Minus_
 
MonitorElementMeanDigiOccupancy_Plus_
 
const std::string nameDetector_
 
std::map< int, int > OccupancyMap_minus_
 
std::map< int, int > OccupancyMap_plus_
 
const int SampleIndx_
 
std::vector< MonitorElement * > TOA_
 
const edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecordtok_hgcalc_
 
const edm::ESGetToken< HGCalGeometry, IdealGeometryRecordtok_hgcalg_
 
std::vector< MonitorElement * > TOT_
 
const int verbosity_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 38 of file HGCalDigiValidation.cc.

Constructor & Destructor Documentation

◆ HGCalDigiValidation()

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

Definition at line 89 of file HGCalDigiValidation.cc.

90  : nameDetector_(iConfig.getParameter<std::string>("DetectorName")),
91  ifNose_(iConfig.getParameter<bool>("ifNose")),
92  verbosity_(iConfig.getUntrackedParameter<int>("Verbosity", 0)),
93  SampleIndx_(iConfig.getUntrackedParameter<int>("SampleIndx", 0)),
94  tok_hgcalc_(esConsumes<HGCalDDDConstants, IdealGeometryRecord, edm::Transition::BeginRun>(
96  tok_hgcalg_(esConsumes<HGCalGeometry, IdealGeometryRecord>(edm::ESInputTag{"", nameDetector_})),
97  firstLayer_(1) {
98  auto temp = iConfig.getParameter<edm::InputTag>("DigiSource");
99  if ((nameDetector_ == "HGCalEESensitive") || (nameDetector_ == "HGCalHESiliconSensitive") ||
100  (nameDetector_ == "HGCalHEScintillatorSensitive") || (nameDetector_ == "HGCalHFNoseSensitive")) {
101  digiSource_ = consumes<HGCalDigiCollection>(temp);
102  } else {
103  throw cms::Exception("BadHGCDigiSource") << "HGCal DetectorName given as " << nameDetector_ << " must be: "
104  << "\"HGCalEESensitive\", \"HGCalHESiliconSensitive\", or "
105  << "\"HGCalHEScintillatorSensitive\", \"HGCalHFNoseSensitive\"!";
106  }
107 }

References nameDetector_.

◆ ~HGCalDigiValidation()

HGCalDigiValidation::~HGCalDigiValidation ( )
inlineoverride

Definition at line 52 of file HGCalDigiValidation.cc.

52 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 119 of file HGCalDigiValidation.cc.

119  {
120  OccupancyMap_plus_.clear();
121  OccupancyMap_minus_.clear();
122 
123  int geomType(0);
124  const HGCalGeometry* geom0 = &iSetup.getData(tok_hgcalg_);
125  if (geom0->topology().waferHexagon8())
126  geomType = 1;
127  else if (geom0->topology().tileTrapezoid())
128  geomType = 2;
129  if (nameDetector_ == "HGCalHFNoseSensitive")
130  geomType = 3;
131 
132  unsigned int ntot(0), nused(0);
133  if ((nameDetector_ == "HGCalEESensitive") || (nameDetector_ == "HGCalHFNoseSensitive")) {
134  //HGCalEE
135  edm::Handle<HGCalDigiCollection> theHGCEEDigiContainers;
136  iEvent.getByToken(digiSource_, theHGCEEDigiContainers);
137  if (theHGCEEDigiContainers.isValid()) {
138  if (verbosity_ > 0)
139  edm::LogVerbatim("HGCalValidation")
140  << nameDetector_ << " with " << theHGCEEDigiContainers->size() << " element(s)";
141  for (const auto& it : *(theHGCEEDigiContainers.product())) {
142  ntot++;
143  nused++;
144  DetId detId = it.id();
145  int layer = ((geomType == 0) ? HGCalDetId(detId).layer()
146  : (geomType == 1) ? HGCSiliconDetId(detId).layer()
147  : HFNoseDetId(detId).layer());
148  const HGCSample& hgcSample = it.sample(SampleIndx_);
149  uint16_t gain = hgcSample.toa();
150  uint16_t adc = hgcSample.data();
151  double charge = gain;
152  bool totmode = hgcSample.mode();
153  bool zerothreshold = hgcSample.threshold();
154  digiValidation(detId, geom0, layer, adc, charge, totmode, zerothreshold);
155  }
156  fillDigiInfo();
157  } else {
158  edm::LogVerbatim("HGCalValidation") << "DigiCollection handle does not "
159  << "exist for " << nameDetector_;
160  }
161  } else if ((nameDetector_ == "HGCalHESiliconSensitive") || (nameDetector_ == "HGCalHEScintillatorSensitive")) {
162  //HGCalHE
163  edm::Handle<HGCalDigiCollection> theHGCHEDigiContainers;
164  iEvent.getByToken(digiSource_, theHGCHEDigiContainers);
165  if (theHGCHEDigiContainers.isValid()) {
166  if (verbosity_ > 0)
167  edm::LogVerbatim("HGCalValidation")
168  << nameDetector_ << " with " << theHGCHEDigiContainers->size() << " element(s)";
169  for (const auto& it : *(theHGCHEDigiContainers.product())) {
170  ntot++;
171  nused++;
172  DetId detId = it.id();
173  int layer = ((geomType == 0)
174  ? HGCalDetId(detId).layer()
175  : ((geomType == 1) ? HGCSiliconDetId(detId).layer() : HGCScintillatorDetId(detId).layer()));
176  const HGCSample& hgcSample = it.sample(SampleIndx_);
177  uint16_t gain = hgcSample.toa();
178  uint16_t adc = hgcSample.data();
179  double charge = gain;
180  bool totmode = hgcSample.mode();
181  bool zerothreshold = hgcSample.threshold();
182  digiValidation(detId, geom0, layer, adc, charge, totmode, zerothreshold);
183  }
184  fillDigiInfo();
185  } else {
186  edm::LogVerbatim("HGCalValidation") << "DigiCollection handle does not "
187  << "exist for " << nameDetector_;
188  }
189  } else {
190  edm::LogWarning("HGCalValidation") << "invalid detector name !! " << nameDetector_;
191  }
192  if (verbosity_ > 0)
193  edm::LogVerbatim("HGCalValidation") << "Event " << iEvent.id().event() << " with " << ntot << " total and " << nused
194  << " used digis";
195 }

References gpuClustering::adc, ALCARECOTkAlJpsiMuMu_cff::charge, HGCSample::data(), digiSource_, digiValidation(), fillDigiInfo(), PedestalClient_cfi::gain, motionPolicyChamber::geom0, edm::EventSetup::getData(), iEvent, edm::HandleBase::isValid(), HGCalDetId::layer(), HGCScintillatorDetId::layer(), HFNoseDetId::layer(), HGCSiliconDetId::layer(), phase1PixelTopology::layer, HGCSample::mode(), nameDetector_, gpuPixelDoublets::ntot, OccupancyMap_minus_, OccupancyMap_plus_, edm::Handle< T >::product(), SampleIndx_, edm::SortedCollection< T, SORT >::size(), HGCSample::threshold(), HGCSample::toa(), tok_hgcalg_, and verbosity_.

◆ bookHistograms()

void HGCalDigiValidation::bookHistograms ( DQMStore::IBooker iB,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 274 of file HGCalDigiValidation.cc.

274  {
275  iB.setCurrentFolder("HGCAL/HGCalDigisV/" + nameDetector_);
276 
277  std::ostringstream histoname;
278  for (int il = 0; il < layers_; ++il) {
279  int ilayer = firstLayer_ + il;
280  auto istr1 = std::to_string(ilayer);
281  while (istr1.size() < 2) {
282  istr1.insert(0, "0");
283  }
284  histoname.str("");
285  histoname << "TOA_"
286  << "layer_" << istr1;
287  TOA_.push_back(iB.book1D(histoname.str().c_str(), "toa_", 1024, 0, 1024));
288 
289  histoname.str("");
290  histoname << "ADC_"
291  << "layer_" << istr1;
292  ADC_.push_back(iB.book1D(histoname.str().c_str(), "ADCDigiOccupancy", 1024, 0, 1024));
293 
294  histoname.str("");
295  histoname << "TOT_"
296  << "layer_" << istr1;
297  TOT_.push_back(iB.book1D(histoname.str().c_str(), "TOTDigiOccupancy", 4096, 0, 4096));
298 
299  histoname.str("");
300  histoname << "DigiOccupancy_XY_"
301  << "layer_" << istr1;
302  DigiOccupancy_XY_.push_back(iB.book2D(histoname.str().c_str(), "DigiOccupancy", 50, -500, 500, 50, -500, 500));
303 
304  histoname.str("");
305  histoname << "DigiOccupancy_Plus_"
306  << "layer_" << istr1;
307  DigiOccupancy_Plus_.push_back(iB.book1D(histoname.str().c_str(), "DigiOccupancy +z", 100, 0, 1000));
308  histoname.str("");
309  histoname << "DigiOccupancy_Minus_"
310  << "layer_" << istr1;
311  DigiOccupancy_Minus_.push_back(iB.book1D(histoname.str().c_str(), "DigiOccupancy -z", 100, 0, 1000));
312  }
313 
314  histoname.str("");
315  histoname << "SUMOfDigiOccupancy_Plus";
316  MeanDigiOccupancy_Plus_ = iB.book1D(histoname.str().c_str(), "SUMOfDigiOccupancy_Plus", layers_, -0.5, layers_ - 0.5);
317  histoname.str("");
318  histoname << "SUMOfRecDigiOccupancy_Minus";
320  iB.book1D(histoname.str().c_str(), "SUMOfDigiOccupancy_Minus", layers_, -0.5, layers_ - 0.5);
321 }

References ADC_, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), DigiOccupancy_Minus_, DigiOccupancy_Plus_, DigiOccupancy_XY_, firstLayer_, layers_, MeanDigiOccupancy_Minus_, MeanDigiOccupancy_Plus_, nameDetector_, dqm::implementation::NavigatorBase::setCurrentFolder(), TOA_, and TOT_.

◆ digiValidation()

template<class T1 , class T2 >
void HGCalDigiValidation::digiValidation ( const T1 &  detId,
const T2 *  geom,
int  layer,
uint16_t  adc,
double  charge,
bool  mode,
bool  threshold 
)
private

Definition at line 198 of file HGCalDigiValidation.cc.

199  {
200  if (verbosity_ > 1)
201  edm::LogVerbatim("HGCalValidation") << std::hex << detId.rawId() << std::dec << " " << detId.rawId();
202  DetId id1 = DetId(detId.rawId());
203  const GlobalPoint& global1 = geom->getPosition(id1);
204 
205  if (verbosity_ > 1)
206  edm::LogVerbatim("HGCalValidation") << " adc = " << adc << " toa = " << charge;
207 
208  digiInfo hinfo;
209  hinfo.x = global1.x();
210  hinfo.y = global1.y();
211  hinfo.z = global1.z();
212  hinfo.adc = adc;
213  hinfo.charge = charge;
214  hinfo.layer = layer - firstLayer_;
215  hinfo.mode = mode;
216  hinfo.threshold = threshold;
217 
218  if (verbosity_ > 1)
219  edm::LogVerbatim("HGCalValidation") << "gx = " << hinfo.x << " gy = " << hinfo.y << " gz = " << hinfo.z;
220 
221  if (global1.eta() > 0)
223  else
225 
227 }

References gpuClustering::adc, ALCARECOTkAlJpsiMuMu_cff::charge, TauDecayModes::dec, fillDigiInfo(), fillOccupancyMap(), firstLayer_, relativeConstraints::geom, globals_cff::id1, phase1PixelTopology::layer, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, OccupancyMap_minus_, OccupancyMap_plus_, remoteMonitoring_LED_IterMethod_cfg::threshold, and verbosity_.

Referenced by analyze().

◆ dqmBeginRun()

void HGCalDigiValidation::dqmBeginRun ( const edm::Run ,
const edm::EventSetup iSetup 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 263 of file HGCalDigiValidation.cc.

263  {
264  const HGCalDDDConstants* hgcons = &iSetup.getData(tok_hgcalc_);
265  layers_ = hgcons->layers(true);
266  firstLayer_ = hgcons->firstLayer();
267 
268  if (verbosity_ > 0)
269  edm::LogVerbatim("HGCalValidation") << "current DQM directory: "
270  << "HGCAL/HGCalDigisV/" << nameDetector_ << " layer = " << layers_
271  << " with the first one at " << firstLayer_;
272 }

References HGCalDDDConstants::firstLayer(), firstLayer_, edm::EventSetup::getData(), HGCalDDDConstants::layers(), layers_, nameDetector_, tok_hgcalc_, and verbosity_.

◆ fillDescriptions()

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

Definition at line 109 of file HGCalDigiValidation.cc.

109  {
111  desc.add<std::string>("DetectorName", "HGCalEESensitive");
112  desc.add<edm::InputTag>("DigiSource", edm::InputTag("hgcalDigis", "EE"));
113  desc.add<bool>("ifNose", false);
114  desc.addUntracked<int>("Verbosity", 0);
115  desc.addUntracked<int>("SampleIndx", 2); // central bx
116  descriptions.add("hgcalDigiValidationEEDefault", desc);
117 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ fillDigiInfo() [1/2]

void HGCalDigiValidation::fillDigiInfo ( )
private

Definition at line 250 of file HGCalDigiValidation.cc.

250  {
251  for (const auto& itr : OccupancyMap_plus_) {
252  int layer = itr.first;
253  int occupancy = itr.second;
254  DigiOccupancy_Plus_.at(layer)->Fill(occupancy);
255  }
256  for (const auto& itr : OccupancyMap_minus_) {
257  int layer = itr.first;
258  int occupancy = itr.second;
259  DigiOccupancy_Minus_.at(layer)->Fill(occupancy);
260  }
261 }

References DigiOccupancy_Minus_, DigiOccupancy_Plus_, phase1PixelTopology::layer, OccupancyMap_minus_, and OccupancyMap_plus_.

Referenced by analyze(), and digiValidation().

◆ fillDigiInfo() [2/2]

void HGCalDigiValidation::fillDigiInfo ( digiInfo hinfo)
private

Definition at line 236 of file HGCalDigiValidation.cc.

236  {
237  int ilayer = hinfo.layer;
238  TOA_.at(ilayer)->Fill(hinfo.charge);
239 
240  if (hinfo.mode) {
241  TOT_.at(ilayer)->Fill(hinfo.adc);
242  }
243 
244  if (!hinfo.mode && hinfo.threshold) {
245  ADC_.at(ilayer)->Fill(hinfo.adc);
246  DigiOccupancy_XY_.at(ilayer)->Fill(hinfo.x, hinfo.y);
247  }
248 }

References ADC_, DigiOccupancy_XY_, TOA_, and TOT_.

◆ fillOccupancyMap()

void HGCalDigiValidation::fillOccupancyMap ( std::map< int, int > &  OccupancyMap,
int  layer 
)
private

Definition at line 229 of file HGCalDigiValidation.cc.

229  {
230  if (OccupancyMap.find(layer) != OccupancyMap.end())
231  OccupancyMap[layer]++;
232  else
233  OccupancyMap[layer] = 1;
234 }

References phase1PixelTopology::layer.

Referenced by digiValidation().

Member Data Documentation

◆ ADC_

std::vector<MonitorElement*> HGCalDigiValidation::ADC_
private

Definition at line 81 of file HGCalDigiValidation.cc.

Referenced by bookHistograms(), and fillDigiInfo().

◆ DigiOccupancy_Minus_

std::vector<MonitorElement*> HGCalDigiValidation::DigiOccupancy_Minus_
private

Definition at line 84 of file HGCalDigiValidation.cc.

Referenced by bookHistograms(), and fillDigiInfo().

◆ DigiOccupancy_Plus_

std::vector<MonitorElement*> HGCalDigiValidation::DigiOccupancy_Plus_
private

Definition at line 83 of file HGCalDigiValidation.cc.

Referenced by bookHistograms(), and fillDigiInfo().

◆ DigiOccupancy_XY_

std::vector<MonitorElement*> HGCalDigiValidation::DigiOccupancy_XY_
private

Definition at line 80 of file HGCalDigiValidation.cc.

Referenced by bookHistograms(), and fillDigiInfo().

◆ digiSource_

edm::EDGetToken HGCalDigiValidation::digiSource_
private

Definition at line 74 of file HGCalDigiValidation.cc.

Referenced by analyze().

◆ firstLayer_

int HGCalDigiValidation::firstLayer_
private

Definition at line 73 of file HGCalDigiValidation.cc.

Referenced by bookHistograms(), digiValidation(), and dqmBeginRun().

◆ ifNose_

const bool HGCalDigiValidation::ifNose_
private

Definition at line 69 of file HGCalDigiValidation.cc.

◆ layers_

int HGCalDigiValidation::layers_
private

Definition at line 73 of file HGCalDigiValidation.cc.

Referenced by bookHistograms(), and dqmBeginRun().

◆ MeanDigiOccupancy_Minus_

MonitorElement* HGCalDigiValidation::MeanDigiOccupancy_Minus_
private

Definition at line 86 of file HGCalDigiValidation.cc.

Referenced by bookHistograms().

◆ MeanDigiOccupancy_Plus_

MonitorElement* HGCalDigiValidation::MeanDigiOccupancy_Plus_
private

Definition at line 85 of file HGCalDigiValidation.cc.

Referenced by bookHistograms().

◆ nameDetector_

const std::string HGCalDigiValidation::nameDetector_
private

Definition at line 68 of file HGCalDigiValidation.cc.

Referenced by analyze(), bookHistograms(), dqmBeginRun(), and HGCalDigiValidation().

◆ OccupancyMap_minus_

std::map<int, int> HGCalDigiValidation::OccupancyMap_minus_
private

Definition at line 77 of file HGCalDigiValidation.cc.

Referenced by analyze(), digiValidation(), and fillDigiInfo().

◆ OccupancyMap_plus_

std::map<int, int> HGCalDigiValidation::OccupancyMap_plus_
private

Definition at line 76 of file HGCalDigiValidation.cc.

Referenced by analyze(), digiValidation(), and fillDigiInfo().

◆ SampleIndx_

const int HGCalDigiValidation::SampleIndx_
private

Definition at line 70 of file HGCalDigiValidation.cc.

Referenced by analyze().

◆ TOA_

std::vector<MonitorElement*> HGCalDigiValidation::TOA_
private

Definition at line 79 of file HGCalDigiValidation.cc.

Referenced by bookHistograms(), and fillDigiInfo().

◆ tok_hgcalc_

const edm::ESGetToken<HGCalDDDConstants, IdealGeometryRecord> HGCalDigiValidation::tok_hgcalc_
private

Definition at line 71 of file HGCalDigiValidation.cc.

Referenced by dqmBeginRun().

◆ tok_hgcalg_

const edm::ESGetToken<HGCalGeometry, IdealGeometryRecord> HGCalDigiValidation::tok_hgcalg_
private

Definition at line 72 of file HGCalDigiValidation.cc.

Referenced by analyze().

◆ TOT_

std::vector<MonitorElement*> HGCalDigiValidation::TOT_
private

Definition at line 82 of file HGCalDigiValidation.cc.

Referenced by bookHistograms(), and fillDigiInfo().

◆ verbosity_

const int HGCalDigiValidation::verbosity_
private

Definition at line 70 of file HGCalDigiValidation.cc.

Referenced by analyze(), digiValidation(), and dqmBeginRun().

edm::ESInputTag
Definition: ESInputTag.h:87
HGCalDigiValidation::MeanDigiOccupancy_Plus_
MonitorElement * MeanDigiOccupancy_Plus_
Definition: HGCalDigiValidation.cc:85
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HGCalDigiValidation::layers_
int layers_
Definition: HGCalDigiValidation.cc:73
HGCalDDDConstants::firstLayer
int firstLayer() const
Definition: HGCalDDDConstants.h:53
HGCalDigiValidation::DigiOccupancy_Minus_
std::vector< MonitorElement * > DigiOccupancy_Minus_
Definition: HGCalDigiValidation.cc:84
gpuClustering::adc
uint16_t *__restrict__ uint16_t const *__restrict__ adc
Definition: gpuClusterChargeCut.h:20
HFNoseDetId::layer
int layer() const
get the layer #
Definition: HFNoseDetId.h:56
globals_cff.id1
id1
Definition: globals_cff.py:33
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
gpuPixelDoublets::ntot
__shared__ uint32_t ntot
Definition: gpuPixelDoubletsAlgos.h:67
HGCalDigiValidation::tok_hgcalc_
const edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > tok_hgcalc_
Definition: HGCalDigiValidation.cc:71
HGCalDigiValidation::MeanDigiOccupancy_Minus_
MonitorElement * MeanDigiOccupancy_Minus_
Definition: HGCalDigiValidation.cc:86
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
hinfo
Definition: TauTagValidation.h:55
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HFNoseDetId
Definition: HFNoseDetId.h:22
edm::Handle
Definition: AssociativeIterator.h:50
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
HGCalDetId::layer
int layer() const
get the layer #
Definition: HGCalDetId.h:46
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
HGCSiliconDetId
Definition: HGCSiliconDetId.h:22
HGCalDDDConstants
Definition: HGCalDDDConstants.h:27
HGCScintillatorDetId::layer
int layer() const
get the layer #
Definition: HGCScintillatorDetId.h:50
DetId
Definition: DetId.h:17
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HGCalDigiValidation::tok_hgcalg_
const edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > tok_hgcalg_
Definition: HGCalDigiValidation.cc:72
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
HGCalDigiValidation::OccupancyMap_minus_
std::map< int, int > OccupancyMap_minus_
Definition: HGCalDigiValidation.cc:77
HGCalDigiValidation::digiValidation
void digiValidation(const T1 &detId, const T2 *geom, int layer, uint16_t adc, double charge, bool mode, bool threshold)
Definition: HGCalDigiValidation.cc:198
HGCSample
wrapper for a data word
Definition: HGCSample.h:13
Point3DBase< float, GlobalTag >
HGCalGeometry
Definition: HGCalGeometry.h:29
HGCalDigiValidation::nameDetector_
const std::string nameDetector_
Definition: HGCalDigiValidation.cc:68
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
HGCalDigiValidation::ifNose_
const bool ifNose_
Definition: HGCalDigiValidation.cc:69
HGCalDDDConstants::layers
unsigned int layers(bool reco) const
Definition: HGCalDDDConstants.cc:577
HGCalDigiValidation::fillDigiInfo
void fillDigiInfo()
Definition: HGCalDigiValidation.cc:250
iEvent
int iEvent
Definition: GenABIO.cc:224
HGCalDigiValidation::ADC_
std::vector< MonitorElement * > ADC_
Definition: HGCalDigiValidation.cc:81
HGCalDigiValidation::DigiOccupancy_Plus_
std::vector< MonitorElement * > DigiOccupancy_Plus_
Definition: HGCalDigiValidation.cc:83
HGCalDigiValidation::SampleIndx_
const int SampleIndx_
Definition: HGCalDigiValidation.cc:70
motionPolicyChamber.geom0
geom0
Definition: motionPolicyChamber.py:83
HGCalDigiValidation::DigiOccupancy_XY_
std::vector< MonitorElement * > DigiOccupancy_XY_
Definition: HGCalDigiValidation.cc:80
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalDigiValidation::verbosity_
const int verbosity_
Definition: HGCalDigiValidation.cc:70
HGCSample::toa
uint16_t toa() const
Definition: HGCSample.h:69
HGCalDigiValidation::TOT_
std::vector< MonitorElement * > TOT_
Definition: HGCalDigiValidation.cc:82
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
PedestalClient_cfi.gain
gain
Definition: PedestalClient_cfi.py:37
HGCSample::mode
bool mode() const
Definition: HGCSample.h:67
HGCalDetId
Definition: HGCalDetId.h:8
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HGCScintillatorDetId
Definition: HGCScintillatorDetId.h:23
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
Exception
Definition: hltDiff.cc:245
HGCalDigiValidation::fillOccupancyMap
void fillOccupancyMap(std::map< int, int > &OccupancyMap, int layer)
Definition: HGCalDigiValidation.cc:229
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HGCalDigiValidation::TOA_
std::vector< MonitorElement * > TOA_
Definition: HGCalDigiValidation.cc:79
HGCSample::threshold
bool threshold() const
Definition: HGCSample.h:66
HGCSample::data
uint16_t data() const
Definition: HGCSample.h:70
HGCalDigiValidation::digiSource_
edm::EDGetToken digiSource_
Definition: HGCalDigiValidation.cc:74
HGCalDigiValidation::OccupancyMap_plus_
std::map< int, int > OccupancyMap_plus_
Definition: HGCalDigiValidation.cc:76
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
remoteMonitoring_LED_IterMethod_cfg.threshold
threshold
Definition: remoteMonitoring_LED_IterMethod_cfg.py:430
TauDecayModes.dec
dec
Definition: TauDecayModes.py:142
HGCalDigiValidation::firstLayer_
int firstLayer_
Definition: HGCalDigiValidation.cc:73
edm::InputTag
Definition: InputTag.h:15
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
HGCSiliconDetId::layer
int layer() const
get the layer #
Definition: HGCSiliconDetId.h:57