CMS 3D CMS Logo

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

Classes

struct  energysum
 
struct  HitsInfo
 

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
 
 HGCalRecHitValidation (const edm::ParameterSet &)
 
 ~HGCalRecHitValidation () 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
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

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

void fillHitsInfo ()
 
void fillHitsInfo (HitsInfo &hits)
 
void fillOccupancyMap (std::map< int, int > &OccupancyMap, int layer)
 
template<class T1 , class T2 >
void recHitValidation (DetId &detId, int layer, const T1 *geom, T2 it)
 

Private Attributes

std::vector< MonitorElement * > energy_
 
std::vector< MonitorElement * > EtaPhi_Minus_
 
std::vector< MonitorElement * > EtaPhi_Plus_
 
int firstLayer_
 
std::vector< MonitorElement * > HitOccupancy_Minus_
 
std::vector< MonitorElement * > HitOccupancy_Plus_
 
bool ifHCAL_
 
unsigned int layers_
 
MonitorElementMeanHitOccupancy_Minus_
 
MonitorElementMeanHitOccupancy_Plus_
 
std::string nameDetector_
 
std::map< int, int > OccupancyMap_minus
 
std::map< int, int > OccupancyMap_plus
 
edm::EDGetToken recHitSource_
 
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 >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache 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 41 of file HGCalRecHitValidation.cc.

Constructor & Destructor Documentation

◆ HGCalRecHitValidation()

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

Definition at line 91 of file HGCalRecHitValidation.cc.

92  : nameDetector_(iConfig.getParameter<std::string>("DetectorName")),
93  ifHCAL_(iConfig.getParameter<bool>("ifHCAL")),
94  verbosity_(iConfig.getUntrackedParameter<int>("Verbosity", 0)),
95  firstLayer_(1) {
96  auto temp = iConfig.getParameter<edm::InputTag>("RecHitSource");
97  if (nameDetector_ == "HGCalEESensitive" || nameDetector_ == "HGCalHESiliconSensitive" ||
98  nameDetector_ == "HGCalHEScintillatorSensitive") {
99  recHitSource_ = consumes<HGCRecHitCollection>(temp);
100  } else if (nameDetector_ == "HCal") {
101  if (ifHCAL_)
102  recHitSource_ = consumes<HBHERecHitCollection>(temp);
103  else
104  recHitSource_ = consumes<HGChebRecHitCollection>(temp);
105  } else {
106  throw cms::Exception("BadHGCRecHitSource") << "HGCal DetectorName given as " << nameDetector_ << " must be: "
107  << "\"HGCalHESiliconSensitive\", \"HGCalHESiliconSensitive\", "
108  << "\"HGCalHEScintillatorSensitive\", or \"HCal\"!";
109  }
110 }

References Exception, edm::ParameterSet::getParameter(), ifHCAL_, nameDetector_, recHitSource_, and groupFilesInBlocks::temp.

◆ ~HGCalRecHitValidation()

HGCalRecHitValidation::~HGCalRecHitValidation ( )
inlineoverride

Definition at line 58 of file HGCalRecHitValidation.cc.

58 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 121 of file HGCalRecHitValidation.cc.

121  {
122  OccupancyMap_plus.clear();
123  OccupancyMap_minus.clear();
124 
125  bool ok(true);
126  unsigned int ntot(0), nused(0);
127  if (nameDetector_ == "HCal") {
129  iSetup.get<CaloGeometryRecord>().get(geom);
130  if (!geom.isValid()) {
131  edm::LogVerbatim("HGCalValidation") << "Cannot get valid HGCalGeometry "
132  << "Object for " << nameDetector_;
133  } else {
134  const CaloGeometry* geom0 = geom.product();
135  if (ifHCAL_) {
137  iEvent.getByToken(recHitSource_, hbhecoll);
138  if (hbhecoll.isValid()) {
139  if (verbosity_ > 0)
140  edm::LogVerbatim("HGCalValidation") << nameDetector_ << " with " << hbhecoll->size() << " element(s)";
141  for (const auto& it : *(hbhecoll.product())) {
142  DetId detId = it.id();
143  ntot++;
144  if (detId.subdetId() == HcalEndcap) {
145  nused++;
146  int layer = HcalDetId(detId).depth();
147  recHitValidation(detId, layer, geom0, &it);
148  }
149  }
150  } else {
151  ok = false;
152  edm::LogVerbatim("HGCalValidation") << "HBHERecHitCollection "
153  << "Handle does not exist !!!";
154  }
155  } else {
157  iEvent.getByToken(recHitSource_, hbhecoll);
158  if (hbhecoll.isValid()) {
159  if (verbosity_ > 0)
160  edm::LogVerbatim("HGCalValidation") << nameDetector_ << " with " << hbhecoll->size() << " element(s)";
161  for (const auto& it : *(hbhecoll.product())) {
162  DetId detId = it.id();
163  ntot++;
164  nused++;
165  int layer = HcalDetId(detId).depth();
166  recHitValidation(detId, layer, geom0, &it);
167  }
168  } else {
169  ok = false;
170  edm::LogVerbatim("HGCalValidation") << "HGChebRecHitCollection "
171  << "Handle does not exist !!!";
172  }
173  }
174  }
175  } else {
178  if (!geom.isValid()) {
179  edm::LogVerbatim("HGCalValidation") << "Cannot get valid HGCalGeometry "
180  << "Object for " << nameDetector_;
181  } else {
182  const HGCalGeometry* geom0 = geom.product();
183  HGCalGeometryMode::GeometryMode mode = geom0->topology().geomMode();
185  ? 1
186  : ((mode == HGCalGeometryMode::Trapezoid) ? 2 : 0));
187 
188  edm::Handle<HGCRecHitCollection> theRecHitContainers;
189  iEvent.getByToken(recHitSource_, theRecHitContainers);
190  if (theRecHitContainers.isValid()) {
191  if (verbosity_ > 0)
192  edm::LogVerbatim("HGCalValidation")
193  << nameDetector_ << " with " << theRecHitContainers->size() << " element(s)";
194  for (const auto& it : *(theRecHitContainers.product())) {
195  ntot++;
196  nused++;
197  DetId detId = it.id();
198  int layer = ((geomType == 0)
199  ? HGCalDetId(detId).layer()
200  : ((geomType == 1) ? HGCSiliconDetId(detId).layer() : HGCScintillatorDetId(detId).layer()));
201  recHitValidation(detId, layer, geom0, &it);
202  }
203  } else {
204  ok = false;
205  edm::LogVerbatim("HGCalValidation") << "HGCRecHitCollection Handle "
206  << "does not exist !!!";
207  }
208  }
209  }
210  if (ok)
211  fillHitsInfo();
212  if (verbosity_ > 0)
213  edm::LogVerbatim("HGCalValidation") << "Event " << iEvent.id().event() << " with " << ntot << " total and " << nused
214  << " used recHits";
215 }

References HcalDetId::depth(), fillHitsInfo(), relativeConstraints::geom, motionPolicyChamber::geom0, edm::EventSetup::get(), get, HcalEndcap, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, iEvent, ifHCAL_, edm::HandleBase::isValid(), HGCalDetId::layer(), HGCScintillatorDetId::layer(), HGCSiliconDetId::layer(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, nameDetector_, OccupancyMap_minus, OccupancyMap_plus, convertSQLiteXML::ok, edm::Handle< T >::product(), recHitSource_, recHitValidation(), edm::SortedCollection< T, SORT >::size(), DetId::subdetId(), HGCalGeometryMode::Trapezoid, and verbosity_.

◆ bookHistograms()

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

Implements DQMEDAnalyzer.

Definition at line 292 of file HGCalRecHitValidation.cc.

292  {
293  iB.setCurrentFolder("HGCAL/HGCalRecHitsV/" + nameDetector_);
294  std::ostringstream histoname;
295  for (unsigned int il = 0; il < layers_; ++il) {
296  int ilayer = firstLayer_ + (int)(il);
297  auto istr1 = std::to_string(ilayer);
298  while (istr1.size() < 2) {
299  istr1.insert(0, "0");
300  }
301  histoname.str("");
302  histoname << "HitOccupancy_Plus_layer_" << istr1;
303  HitOccupancy_Plus_.push_back(iB.book1D(histoname.str().c_str(), "RecHitOccupancy_Plus", 100, 0, 10000));
304  histoname.str("");
305  histoname << "HitOccupancy_Minus_layer_" << istr1;
306  HitOccupancy_Minus_.push_back(iB.book1D(histoname.str().c_str(), "RecHitOccupancy_Minus", 100, 0, 10000));
307 
308  histoname.str("");
309  histoname << "EtaPhi_Plus_"
310  << "layer_" << istr1;
311  EtaPhi_Plus_.push_back(iB.book2D(histoname.str().c_str(), "Occupancy", 31, 1.45, 3.0, 72, -CLHEP::pi, CLHEP::pi));
312  histoname.str("");
313  histoname << "EtaPhi_Minus_"
314  << "layer_" << istr1;
315  EtaPhi_Minus_.push_back(
316  iB.book2D(histoname.str().c_str(), "Occupancy", 31, -3.0, -1.45, 72, -CLHEP::pi, CLHEP::pi));
317 
318  histoname.str("");
319  histoname << "energy_layer_" << istr1;
320  energy_.push_back(iB.book1D(histoname.str().c_str(), "energy_", 500, 0, 1));
321  } //loop over layers ends here
322 
323  histoname.str("");
324  histoname << "SUMOfRecHitOccupancy_Plus";
326  iB.book1D(histoname.str().c_str(), "SUMOfRecHitOccupancy_Plus", layers_, -0.5, layers_ - 0.5);
327  histoname.str("");
328  histoname << "SUMOfRecHitOccupancy_Minus";
330  iB.book1D(histoname.str().c_str(), "SUMOfRecHitOccupancy_Minus", layers_, -0.5, layers_ - 0.5);
331 }

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), energy_, EtaPhi_Minus_, EtaPhi_Plus_, firstLayer_, HitOccupancy_Minus_, HitOccupancy_Plus_, createfilelist::int, layers_, MeanHitOccupancy_Minus_, MeanHitOccupancy_Plus_, nameDetector_, pi, and dqm::implementation::NavigatorBase::setCurrentFolder().

◆ dqmBeginRun()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 277 of file HGCalRecHitValidation.cc.

277  {
278  if (nameDetector_ == "HCal") {
280  iSetup.get<HcalRecNumberingRecord>().get(pHRNDC);
281  const HcalDDDRecConstants* hcons = &(*pHRNDC);
282  layers_ = hcons->getMaxDepth(1);
283  } else {
285  iSetup.get<IdealGeometryRecord>().get(nameDetector_, pHGDC);
286  const HGCalDDDConstants& hgcons_ = (*pHGDC);
287  layers_ = hgcons_.layers(true);
288  firstLayer_ = hgcons_.firstLayer();
289  }
290 }

References HGCalDDDConstants::firstLayer(), firstLayer_, edm::EventSetup::get(), get, HcalDDDRecConstants::getMaxDepth(), HGCalDDDConstants::layers(), layers_, and nameDetector_.

◆ fillDescriptions()

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

Definition at line 112 of file HGCalRecHitValidation.cc.

112  {
114  desc.add<std::string>("DetectorName", "HGCalEESensitive");
115  desc.add<edm::InputTag>("RecHitSource", edm::InputTag("HGCalRecHit", "HGCEERecHits"));
116  desc.add<bool>("ifHCAL", false);
117  desc.addUntracked<int>("Verbosity", 0);
118  descriptions.add("hgcalRecHitValidationEE", desc);
119 }

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

◆ fillHitsInfo() [1/2]

void HGCalRecHitValidation::fillHitsInfo ( )
private

Definition at line 255 of file HGCalRecHitValidation.cc.

255  {
256  for (auto const& itr : OccupancyMap_plus) {
257  int layer = itr.first;
258  int occupancy = itr.second;
259  HitOccupancy_Plus_.at(layer)->Fill(occupancy);
260  }
261 
262  for (auto const& itr : OccupancyMap_minus) {
263  int layer = itr.first;
264  int occupancy = itr.second;
265  HitOccupancy_Minus_.at(layer)->Fill(occupancy);
266  }
267 }

References HitOccupancy_Minus_, HitOccupancy_Plus_, OccupancyMap_minus, and OccupancyMap_plus.

Referenced by analyze(), and recHitValidation().

◆ fillHitsInfo() [2/2]

void HGCalRecHitValidation::fillHitsInfo ( HitsInfo hits)
private

Definition at line 269 of file HGCalRecHitValidation.cc.

269  {
270  unsigned int ilayer = hits.layer;
271  energy_.at(ilayer)->Fill(hits.energy);
272 
273  EtaPhi_Plus_.at(ilayer)->Fill(hits.eta, hits.phi);
274  EtaPhi_Minus_.at(ilayer)->Fill(hits.eta, hits.phi);
275 }

References energy_, EtaPhi_Minus_, EtaPhi_Plus_, and hfClusterShapes_cfi::hits.

◆ fillOccupancyMap()

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

Definition at line 248 of file HGCalRecHitValidation.cc.

248  {
249  if (OccupancyMap.find(layer) != OccupancyMap.end())
250  OccupancyMap[layer]++;
251  else
252  OccupancyMap[layer] = 1;
253 }

Referenced by recHitValidation().

◆ recHitValidation()

template<class T1 , class T2 >
void HGCalRecHitValidation::recHitValidation ( DetId detId,
int  layer,
const T1 *  geom,
T2  it 
)
private

Definition at line 218 of file HGCalRecHitValidation.cc.

218  {
219  const GlobalPoint& global = geom->getPosition(detId);
220  double energy = it->energy();
221 
222  float globalx = global.x();
223  float globaly = global.y();
224  float globalz = global.z();
225 
226  HitsInfo hinfo;
227  hinfo.energy = energy;
228  hinfo.x = globalx;
229  hinfo.y = globaly;
230  hinfo.z = globalz;
231  hinfo.layer = layer - firstLayer_;
232  hinfo.phi = global.phi();
233  hinfo.eta = global.eta();
234 
235  if (verbosity_ > 1)
236  edm::LogVerbatim("HGCalValidation") << "-------------------------- gx = " << globalx << " gy = " << globaly
237  << " gz = " << globalz << " phi = " << hinfo.phi << " eta = " << hinfo.eta
238  << " lay = " << hinfo.layer;
239 
241 
242  if (hinfo.eta > 0)
244  else
246 }

References HCALHighEnergyHPDFilter_cfi::energy, PV3DBase< T, PVType, FrameType >::eta(), fillHitsInfo(), fillOccupancyMap(), firstLayer_, relativeConstraints::geom, OccupancyMap_minus, OccupancyMap_plus, PV3DBase< T, PVType, FrameType >::phi(), verbosity_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by analyze().

Member Data Documentation

◆ energy_

std::vector<MonitorElement*> HGCalRecHitValidation::energy_
private

Definition at line 84 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ EtaPhi_Minus_

std::vector<MonitorElement*> HGCalRecHitValidation::EtaPhi_Minus_
private

Definition at line 83 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ EtaPhi_Plus_

std::vector<MonitorElement*> HGCalRecHitValidation::EtaPhi_Plus_
private

Definition at line 82 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ firstLayer_

int HGCalRecHitValidation::firstLayer_
private

Definition at line 78 of file HGCalRecHitValidation.cc.

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

◆ HitOccupancy_Minus_

std::vector<MonitorElement*> HGCalRecHitValidation::HitOccupancy_Minus_
private

Definition at line 86 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ HitOccupancy_Plus_

std::vector<MonitorElement*> HGCalRecHitValidation::HitOccupancy_Plus_
private

Definition at line 85 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ ifHCAL_

bool HGCalRecHitValidation::ifHCAL_
private

Definition at line 75 of file HGCalRecHitValidation.cc.

Referenced by analyze(), and HGCalRecHitValidation().

◆ layers_

unsigned int HGCalRecHitValidation::layers_
private

Definition at line 77 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and dqmBeginRun().

◆ MeanHitOccupancy_Minus_

MonitorElement* HGCalRecHitValidation::MeanHitOccupancy_Minus_
private

Definition at line 88 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms().

◆ MeanHitOccupancy_Plus_

MonitorElement* HGCalRecHitValidation::MeanHitOccupancy_Plus_
private

Definition at line 87 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms().

◆ nameDetector_

std::string HGCalRecHitValidation::nameDetector_
private

◆ OccupancyMap_minus

std::map<int, int> HGCalRecHitValidation::OccupancyMap_minus
private

Definition at line 80 of file HGCalRecHitValidation.cc.

Referenced by analyze(), fillHitsInfo(), and recHitValidation().

◆ OccupancyMap_plus

std::map<int, int> HGCalRecHitValidation::OccupancyMap_plus
private

Definition at line 79 of file HGCalRecHitValidation.cc.

Referenced by analyze(), fillHitsInfo(), and recHitValidation().

◆ recHitSource_

edm::EDGetToken HGCalRecHitValidation::recHitSource_
private

Definition at line 74 of file HGCalRecHitValidation.cc.

Referenced by analyze(), and HGCalRecHitValidation().

◆ verbosity_

int HGCalRecHitValidation::verbosity_
private

Definition at line 76 of file HGCalRecHitValidation.cc.

Referenced by analyze(), and recHitValidation().

edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
HGCalRecHitValidation::nameDetector_
std::string nameDetector_
Definition: HGCalRecHitValidation.cc:73
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HGCalRecHitValidation::MeanHitOccupancy_Minus_
MonitorElement * MeanHitOccupancy_Minus_
Definition: HGCalRecHitValidation.cc:88
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
HGCalDDDConstants::firstLayer
int firstLayer() const
Definition: HGCalDDDConstants.h:51
HGCalRecHitValidation::fillOccupancyMap
void fillOccupancyMap(std::map< int, int > &OccupancyMap, int layer)
Definition: HGCalRecHitValidation.cc:248
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
HGCalRecHitValidation::EtaPhi_Minus_
std::vector< MonitorElement * > EtaPhi_Minus_
Definition: HGCalRecHitValidation.cc:83
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
HGCalRecHitValidation::recHitSource_
edm::EDGetToken recHitSource_
Definition: HGCalRecHitValidation.cc:74
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
HcalDetId::depth
constexpr int depth() const
get the tower depth
Definition: HcalDetId.h:164
hinfo
Definition: TauTagValidation.h:55
HGCalRecHitValidation::OccupancyMap_plus
std::map< int, int > OccupancyMap_plus
Definition: HGCalRecHitValidation.cc:79
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
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
HGCSiliconDetId
Definition: HGCSiliconDetId.h:22
HGCalDDDConstants
Definition: HGCalDDDConstants.h:25
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
HGCScintillatorDetId::layer
int layer() const
get the layer #
Definition: HGCScintillatorDetId.h:47
DetId
Definition: DetId.h:17
CaloGeometry
Definition: CaloGeometry.h:21
HGCalGeometryMode::Trapezoid
Definition: HGCalGeometryMode.h:25
HGCalRecHitValidation::layers_
unsigned int layers_
Definition: HGCalRecHitValidation.cc:77
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
HGCalRecHitValidation::HitOccupancy_Plus_
std::vector< MonitorElement * > HitOccupancy_Plus_
Definition: HGCalRecHitValidation.cc:85
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::ESHandle< CaloGeometry >
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
Point3DBase< float, GlobalTag >
HGCalGeometry
Definition: HGCalGeometry.h:30
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
HGCalRecHitValidation::recHitValidation
void recHitValidation(DetId &detId, int layer, const T1 *geom, T2 it)
Definition: HGCalRecHitValidation.cc:218
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalRecHitValidation::firstLayer_
int firstLayer_
Definition: HGCalRecHitValidation.cc:78
HGCalRecHitValidation::EtaPhi_Plus_
std::vector< MonitorElement * > EtaPhi_Plus_
Definition: HGCalRecHitValidation.cc:82
edm::ParameterSetDescription::addUntracked
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:100
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
HGCalRecHitValidation::HitOccupancy_Minus_
std::vector< MonitorElement * > HitOccupancy_Minus_
Definition: HGCalRecHitValidation.cc:86
HGCalGeometryMode::Hexagon8Full
Definition: HGCalGeometryMode.h:25
HGCalDDDConstants::layers
unsigned int layers(bool reco) const
Definition: HGCalDDDConstants.cc:558
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
HGCalGeometryMode::GeometryMode
GeometryMode
Definition: HGCalGeometryMode.h:25
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
HcalDetId
Definition: HcalDetId.h:12
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::LogVerbatim
Definition: MessageLogger.h:297
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:28
get
#define get
motionPolicyChamber.geom0
geom0
Definition: motionPolicyChamber.py:83
HGCalRecHitValidation::fillHitsInfo
void fillHitsInfo()
Definition: HGCalRecHitValidation.cc:255
HGCalRecHitValidation::energy_
std::vector< MonitorElement * > energy_
Definition: HGCalRecHitValidation.cc:84
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
HGCalDetId
Definition: HGCalDetId.h:8
HGCalRecHitValidation::MeanHitOccupancy_Plus_
MonitorElement * MeanHitOccupancy_Plus_
Definition: HGCalRecHitValidation.cc:87
HcalEndcap
Definition: HcalAssistant.h:34
HGCScintillatorDetId
Definition: HGCScintillatorDetId.h:21
Exception
Definition: hltDiff.cc:246
HGCalRecHitValidation::verbosity_
int verbosity_
Definition: HGCalRecHitValidation.cc:76
HGCalRecHitValidation::OccupancyMap_minus
std::map< int, int > OccupancyMap_minus
Definition: HGCalRecHitValidation.cc:80
HGCalGeometryMode::Hexagon8
Definition: HGCalGeometryMode.h:25
HcalDDDRecConstants::getMaxDepth
int getMaxDepth(const int &type) const
Definition: HcalDDDRecConstants.h:88
HcalDDDRecConstants
Definition: HcalDDDRecConstants.h:23
pi
const Double_t pi
Definition: trackSplitPlot.h:36
HGCalRecHitValidation::ifHCAL_
bool ifHCAL_
Definition: HGCalRecHitValidation.cc:75
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::InputTag
Definition: InputTag.h:15
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
IdealGeometryRecord
Definition: IdealGeometryRecord.h:27
HGCSiliconDetId::layer
int layer() const
get the layer #
Definition: HGCSiliconDetId.h:57