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 hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () 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 39 of file HGCalRecHitValidation.cc.

Constructor & Destructor Documentation

◆ HGCalRecHitValidation()

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

Definition at line 89 of file HGCalRecHitValidation.cc.

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

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

◆ ~HGCalRecHitValidation()

HGCalRecHitValidation::~HGCalRecHitValidation ( )
inlineoverride

Definition at line 56 of file HGCalRecHitValidation.cc.

56 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 119 of file HGCalRecHitValidation.cc.

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

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

◆ bookHistograms()

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

Implements DQMEDAnalyzer.

Definition at line 287 of file HGCalRecHitValidation.cc.

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

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 272 of file HGCalRecHitValidation.cc.

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

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 110 of file HGCalRecHitValidation.cc.

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

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

◆ fillHitsInfo() [1/2]

void HGCalRecHitValidation::fillHitsInfo ( )
private

Definition at line 250 of file HGCalRecHitValidation.cc.

250  {
251  for (auto const& itr : OccupancyMap_plus) {
252  int layer = itr.first;
253  int occupancy = itr.second;
254  HitOccupancy_Plus_.at(layer)->Fill(occupancy);
255  }
256 
257  for (auto const& itr : OccupancyMap_minus) {
258  int layer = itr.first;
259  int occupancy = itr.second;
260  HitOccupancy_Minus_.at(layer)->Fill(occupancy);
261  }
262 }

References HitOccupancy_Minus_, HitOccupancy_Plus_, phase1PixelTopology::layer, OccupancyMap_minus, and OccupancyMap_plus.

Referenced by analyze(), and recHitValidation().

◆ fillHitsInfo() [2/2]

void HGCalRecHitValidation::fillHitsInfo ( HitsInfo hits)
private

Definition at line 264 of file HGCalRecHitValidation.cc.

264  {
265  unsigned int ilayer = hits.layer;
266  energy_.at(ilayer)->Fill(hits.energy);
267 
268  EtaPhi_Plus_.at(ilayer)->Fill(hits.eta, hits.phi);
269  EtaPhi_Minus_.at(ilayer)->Fill(hits.eta, hits.phi);
270 }

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 243 of file HGCalRecHitValidation.cc.

243  {
244  if (OccupancyMap.find(layer) != OccupancyMap.end())
245  OccupancyMap[layer]++;
246  else
247  OccupancyMap[layer] = 1;
248 }

References phase1PixelTopology::layer.

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 213 of file HGCalRecHitValidation.cc.

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

References HCALHighEnergyHPDFilter_cfi::energy, PV3DBase< T, PVType, FrameType >::eta(), fillHitsInfo(), fillOccupancyMap(), firstLayer_, relativeConstraints::geom, phase1PixelTopology::layer, 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 82 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ EtaPhi_Minus_

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

Definition at line 81 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ EtaPhi_Plus_

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

Definition at line 80 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ firstLayer_

int HGCalRecHitValidation::firstLayer_
private

Definition at line 76 of file HGCalRecHitValidation.cc.

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

◆ HitOccupancy_Minus_

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

Definition at line 84 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ HitOccupancy_Plus_

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

Definition at line 83 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ ifHCAL_

bool HGCalRecHitValidation::ifHCAL_
private

Definition at line 73 of file HGCalRecHitValidation.cc.

Referenced by analyze(), and HGCalRecHitValidation().

◆ layers_

unsigned int HGCalRecHitValidation::layers_
private

Definition at line 75 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and dqmBeginRun().

◆ MeanHitOccupancy_Minus_

MonitorElement* HGCalRecHitValidation::MeanHitOccupancy_Minus_
private

Definition at line 86 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms().

◆ MeanHitOccupancy_Plus_

MonitorElement* HGCalRecHitValidation::MeanHitOccupancy_Plus_
private

Definition at line 85 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 78 of file HGCalRecHitValidation.cc.

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

◆ OccupancyMap_plus

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

Definition at line 77 of file HGCalRecHitValidation.cc.

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

◆ recHitSource_

edm::EDGetToken HGCalRecHitValidation::recHitSource_
private

Definition at line 72 of file HGCalRecHitValidation.cc.

Referenced by analyze(), and HGCalRecHitValidation().

◆ verbosity_

int HGCalRecHitValidation::verbosity_
private

Definition at line 74 of file HGCalRecHitValidation.cc.

Referenced by analyze(), and recHitValidation().

HGCalRecHitValidation::nameDetector_
std::string nameDetector_
Definition: HGCalRecHitValidation.cc:71
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HGCalRecHitValidation::MeanHitOccupancy_Minus_
MonitorElement * MeanHitOccupancy_Minus_
Definition: HGCalRecHitValidation.cc:86
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:53
HGCalRecHitValidation::fillOccupancyMap
void fillOccupancyMap(std::map< int, int > &OccupancyMap, int layer)
Definition: HGCalRecHitValidation.cc:243
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
HGCalRecHitValidation::EtaPhi_Minus_
std::vector< MonitorElement * > EtaPhi_Minus_
Definition: HGCalRecHitValidation.cc:81
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89285
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
HGCalRecHitValidation::recHitSource_
edm::EDGetToken recHitSource_
Definition: HGCalRecHitValidation.cc:72
gpuPixelDoublets::ntot
__shared__ uint32_t ntot
Definition: gpuPixelDoubletsAlgos.h:67
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:77
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:27
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
HGCScintillatorDetId::layer
int layer() const
get the layer #
Definition: HGCScintillatorDetId.h:50
DetId
Definition: DetId.h:17
CaloGeometry
Definition: CaloGeometry.h:21
HGCalRecHitValidation::layers_
unsigned int layers_
Definition: HGCalRecHitValidation.cc:75
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
HGCalRecHitValidation::HitOccupancy_Plus_
std::vector< MonitorElement * > HitOccupancy_Plus_
Definition: HGCalRecHitValidation.cc:83
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:29
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:213
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalRecHitValidation::firstLayer_
int firstLayer_
Definition: HGCalRecHitValidation.cc:76
HGCalRecHitValidation::EtaPhi_Plus_
std::vector< MonitorElement * > EtaPhi_Plus_
Definition: HGCalRecHitValidation.cc:80
HGCalRecHitValidation::HitOccupancy_Minus_
std::vector< MonitorElement * > HitOccupancy_Minus_
Definition: HGCalRecHitValidation.cc:84
HGCalDDDConstants::layers
unsigned int layers(bool reco) const
Definition: HGCalDDDConstants.cc:561
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
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
get
#define get
motionPolicyChamber.geom0
geom0
Definition: motionPolicyChamber.py:83
HGCalRecHitValidation::fillHitsInfo
void fillHitsInfo()
Definition: HGCalRecHitValidation.cc:250
HGCalRecHitValidation::energy_
std::vector< MonitorElement * > energy_
Definition: HGCalRecHitValidation.cc:82
HGCalDetId
Definition: HGCalDetId.h:8
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HGCalRecHitValidation::MeanHitOccupancy_Plus_
MonitorElement * MeanHitOccupancy_Plus_
Definition: HGCalRecHitValidation.cc:85
HcalEndcap
Definition: HcalAssistant.h:34
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
HGCalRecHitValidation::verbosity_
int verbosity_
Definition: HGCalRecHitValidation.cc:74
HGCalRecHitValidation::OccupancyMap_minus
std::map< int, int > OccupancyMap_minus
Definition: HGCalRecHitValidation.cc:78
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
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:73
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:25
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