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

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_
 
edm::ESGetToken< HGCalGeometry, IdealGeometryRecordgeometry_beginRun_token_
 
edm::ESGetToken< HGCalGeometry, IdealGeometryRecordgeometry_token_
 
std::vector< MonitorElement * > HitOccupancy_Minus_
 
std::vector< MonitorElement * > HitOccupancy_Plus_
 
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 >
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 33 of file HGCalRecHitValidation.cc.

Constructor & Destructor Documentation

◆ HGCalRecHitValidation()

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

Definition at line 84 of file HGCalRecHitValidation.cc.

85  : nameDetector_(iConfig.getParameter<std::string>("DetectorName")),
87  geometry_beginRun_token_(esConsumes<HGCalGeometry, IdealGeometryRecord, edm::Transition::BeginRun>(
89  verbosity_(iConfig.getUntrackedParameter<int>("Verbosity", 0)),
90  firstLayer_(1) {
91  auto temp = iConfig.getParameter<edm::InputTag>("RecHitSource");
92  if (nameDetector_ == "HGCalEESensitive" || nameDetector_ == "HGCalHESiliconSensitive" ||
93  nameDetector_ == "HGCalHEScintillatorSensitive") {
94  recHitSource_ = consumes<HGCRecHitCollection>(temp);
95  } else {
96  throw cms::Exception("BadHGCRecHitSource") << "HGCal DetectorName given as " << nameDetector_ << " must be: "
97  << "\"HGCalHESiliconSensitive\", \"HGCalHESiliconSensitive\", or "
98  << "\"HGCalHEScintillatorSensitive\"!";
99  }
100 }

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

◆ ~HGCalRecHitValidation()

HGCalRecHitValidation::~HGCalRecHitValidation ( )
inlineoverride

Definition at line 50 of file HGCalRecHitValidation.cc.

50 {}

Member Function Documentation

◆ analyze()

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

Reimplemented from DQMEDAnalyzer.

Definition at line 110 of file HGCalRecHitValidation.cc.

110  {
111  OccupancyMap_plus.clear();
112  OccupancyMap_minus.clear();
113 
114  bool ok(true);
115  unsigned int ntot(0), nused(0);
117  if (!geomHandle.isValid()) {
118  edm::LogVerbatim("HGCalValidation") << "Cannot get valid HGCalGeometry "
119  << "Object for " << nameDetector_;
120  } else {
121  const HGCalGeometry* geom0 = geomHandle.product();
122  int geomType = ((geom0->topology().waferHexagon8()) ? 1 : ((geom0->topology().tileTrapezoid()) ? 2 : 0));
123 
124  edm::Handle<HGCRecHitCollection> theRecHitContainers;
125  iEvent.getByToken(recHitSource_, theRecHitContainers);
126  if (theRecHitContainers.isValid()) {
127  if (verbosity_ > 0)
128  edm::LogVerbatim("HGCalValidation")
129  << nameDetector_ << " with " << theRecHitContainers->size() << " element(s)";
130  for (const auto& it : *(theRecHitContainers.product())) {
131  ntot++;
132  nused++;
133  DetId detId = it.id();
134  int layer = ((geomType == 0)
135  ? HGCalDetId(detId).layer()
136  : ((geomType == 1) ? HGCSiliconDetId(detId).layer() : HGCScintillatorDetId(detId).layer()));
137  recHitValidation(detId, layer, geom0, &it);
138  }
139  } else {
140  ok = false;
141  edm::LogVerbatim("HGCalValidation") << "HGCRecHitCollection Handle "
142  << "does not exist !!!";
143  }
144  }
145  if (ok)
146  fillHitsInfo();
147  if (verbosity_ > 0)
148  edm::LogVerbatim("HGCalValidation") << "Event " << iEvent.id().event() << " with " << ntot << " total and " << nused
149  << " used recHits";
150 }

References fillHitsInfo(), motionPolicyChamber::geom0, geometry_token_, edm::EventSetup::getHandle(), iEvent, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), HGCalDetId::layer(), HGCScintillatorDetId::layer(), HGCSiliconDetId::layer(), phase1PixelTopology::layer, nameDetector_, gpuPixelDoublets::ntot, OccupancyMap_minus, OccupancyMap_plus, convertSQLiteXML::ok, edm::Handle< T >::product(), edm::ESHandle< T >::product(), recHitSource_, recHitValidation(), edm::SortedCollection< T, SORT >::size(), and verbosity_.

◆ bookHistograms()

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

Implements DQMEDAnalyzer.

Definition at line 225 of file HGCalRecHitValidation.cc.

225  {
226  iB.setCurrentFolder("HGCAL/HGCalRecHitsV/" + nameDetector_);
227  std::ostringstream histoname;
228  for (unsigned int il = 0; il < layers_; ++il) {
229  int ilayer = firstLayer_ + (int)(il);
230  auto istr1 = std::to_string(ilayer);
231  while (istr1.size() < 2) {
232  istr1.insert(0, "0");
233  }
234  histoname.str("");
235  histoname << "HitOccupancy_Plus_layer_" << istr1;
236  HitOccupancy_Plus_.push_back(iB.book1D(histoname.str().c_str(), "RecHitOccupancy_Plus", 100, 0, 10000));
237  histoname.str("");
238  histoname << "HitOccupancy_Minus_layer_" << istr1;
239  HitOccupancy_Minus_.push_back(iB.book1D(histoname.str().c_str(), "RecHitOccupancy_Minus", 100, 0, 10000));
240 
241  histoname.str("");
242  histoname << "EtaPhi_Plus_"
243  << "layer_" << istr1;
244  EtaPhi_Plus_.push_back(iB.book2D(histoname.str().c_str(), "Occupancy", 31, 1.45, 3.0, 72, -CLHEP::pi, CLHEP::pi));
245  histoname.str("");
246  histoname << "EtaPhi_Minus_"
247  << "layer_" << istr1;
248  EtaPhi_Minus_.push_back(
249  iB.book2D(histoname.str().c_str(), "Occupancy", 31, -3.0, -1.45, 72, -CLHEP::pi, CLHEP::pi));
250 
251  histoname.str("");
252  histoname << "energy_layer_" << istr1;
253  energy_.push_back(iB.book1D(histoname.str().c_str(), "energy_", 500, 0, 1));
254  } //loop over layers ends here
255 
256  histoname.str("");
257  histoname << "SUMOfRecHitOccupancy_Plus";
259  iB.book1D(histoname.str().c_str(), "SUMOfRecHitOccupancy_Plus", layers_, -0.5, layers_ - 0.5);
260  histoname.str("");
261  histoname << "SUMOfRecHitOccupancy_Minus";
263  iB.book1D(histoname.str().c_str(), "SUMOfRecHitOccupancy_Minus", layers_, -0.5, layers_ - 0.5);
264 }

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

212  {
214  if (!geomHandle.isValid()) {
215  edm::LogVerbatim("HGCalValidation") << "Cannot get valid HGCalGeometry "
216  << "Object for " << nameDetector_;
217  } else {
218  const HGCalGeometry* geom = geomHandle.product();
219  const HGCalDDDConstants& hgcons_ = geom->topology().dddConstants();
220  layers_ = hgcons_.layers(true);
221  firstLayer_ = hgcons_.firstLayer();
222  }
223 }

References HGCalDDDConstants::firstLayer(), firstLayer_, relativeConstraints::geom, geometry_beginRun_token_, edm::EventSetup::getHandle(), edm::ESHandleBase::isValid(), HGCalDDDConstants::layers(), layers_, nameDetector_, and edm::ESHandle< T >::product().

◆ fillDescriptions()

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

Definition at line 102 of file HGCalRecHitValidation.cc.

102  {
104  desc.add<std::string>("DetectorName", "HGCalEESensitive");
105  desc.add<edm::InputTag>("RecHitSource", edm::InputTag("HGCalRecHit", "HGCEERecHits"));
106  desc.addUntracked<int>("Verbosity", 0);
107  descriptions.add("hgcalRecHitValidationEE", desc);
108 }

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

◆ fillHitsInfo() [1/2]

void HGCalRecHitValidation::fillHitsInfo ( )
private

Definition at line 190 of file HGCalRecHitValidation.cc.

190  {
191  for (auto const& itr : OccupancyMap_plus) {
192  int layer = itr.first;
193  int occupancy = itr.second;
194  HitOccupancy_Plus_.at(layer)->Fill(occupancy);
195  }
196 
197  for (auto const& itr : OccupancyMap_minus) {
198  int layer = itr.first;
199  int occupancy = itr.second;
200  HitOccupancy_Minus_.at(layer)->Fill(occupancy);
201  }
202 }

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

204  {
205  unsigned int ilayer = hits.layer;
206  energy_.at(ilayer)->Fill(hits.energy);
207 
208  EtaPhi_Plus_.at(ilayer)->Fill(hits.eta, hits.phi);
209  EtaPhi_Minus_.at(ilayer)->Fill(hits.eta, hits.phi);
210 }

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

183  {
184  if (OccupancyMap.find(layer) != OccupancyMap.end())
185  OccupancyMap[layer]++;
186  else
187  OccupancyMap[layer] = 1;
188 }

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

153  {
154  const GlobalPoint& global = geom->getPosition(detId);
155  double energy = it->energy();
156 
157  float globalx = global.x();
158  float globaly = global.y();
159  float globalz = global.z();
160 
161  HitsInfo hinfo;
162  hinfo.energy = energy;
163  hinfo.x = globalx;
164  hinfo.y = globaly;
165  hinfo.z = globalz;
166  hinfo.layer = layer - firstLayer_;
167  hinfo.phi = global.phi();
168  hinfo.eta = global.eta();
169 
170  if (verbosity_ > 1)
171  edm::LogVerbatim("HGCalValidation") << "-------------------------- gx = " << globalx << " gy = " << globaly
172  << " gz = " << globalz << " phi = " << hinfo.phi << " eta = " << hinfo.eta
173  << " lay = " << hinfo.layer;
174 
176 
177  if (hinfo.eta > 0)
179  else
181 }

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

Referenced by bookHistograms(), and fillHitsInfo().

◆ EtaPhi_Minus_

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

Definition at line 76 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ EtaPhi_Plus_

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

Definition at line 75 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ firstLayer_

int HGCalRecHitValidation::firstLayer_
private

Definition at line 71 of file HGCalRecHitValidation.cc.

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

◆ geometry_beginRun_token_

edm::ESGetToken<HGCalGeometry, IdealGeometryRecord> HGCalRecHitValidation::geometry_beginRun_token_
private

Definition at line 67 of file HGCalRecHitValidation.cc.

Referenced by dqmBeginRun().

◆ geometry_token_

edm::ESGetToken<HGCalGeometry, IdealGeometryRecord> HGCalRecHitValidation::geometry_token_
private

Definition at line 66 of file HGCalRecHitValidation.cc.

Referenced by analyze().

◆ HitOccupancy_Minus_

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

Definition at line 79 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ HitOccupancy_Plus_

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

Definition at line 78 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and fillHitsInfo().

◆ layers_

unsigned int HGCalRecHitValidation::layers_
private

Definition at line 70 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms(), and dqmBeginRun().

◆ MeanHitOccupancy_Minus_

MonitorElement* HGCalRecHitValidation::MeanHitOccupancy_Minus_
private

Definition at line 81 of file HGCalRecHitValidation.cc.

Referenced by bookHistograms().

◆ MeanHitOccupancy_Plus_

MonitorElement* HGCalRecHitValidation::MeanHitOccupancy_Plus_
private

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

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

◆ OccupancyMap_plus

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

Definition at line 72 of file HGCalRecHitValidation.cc.

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

◆ recHitSource_

edm::EDGetToken HGCalRecHitValidation::recHitSource_
private

Definition at line 68 of file HGCalRecHitValidation.cc.

Referenced by analyze(), and HGCalRecHitValidation().

◆ verbosity_

int HGCalRecHitValidation::verbosity_
private

Definition at line 69 of file HGCalRecHitValidation.cc.

Referenced by analyze(), and recHitValidation().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
edm::ESInputTag
Definition: ESInputTag.h:87
HGCalRecHitValidation::nameDetector_
std::string nameDetector_
Definition: HGCalRecHitValidation.cc:65
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HGCalRecHitValidation::MeanHitOccupancy_Minus_
MonitorElement * MeanHitOccupancy_Minus_
Definition: HGCalRecHitValidation.cc:81
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:183
HGCalRecHitValidation::EtaPhi_Minus_
std::vector< MonitorElement * > EtaPhi_Minus_
Definition: HGCalRecHitValidation.cc:76
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
HGCalRecHitValidation::recHitSource_
edm::EDGetToken recHitSource_
Definition: HGCalRecHitValidation.cc:68
gpuPixelDoublets::ntot
__shared__ uint32_t ntot
Definition: gpuPixelDoubletsAlgos.h:67
HGCalRecHitValidation::geometry_token_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > geometry_token_
Definition: HGCalRecHitValidation.cc:66
edm::SortedCollection::size
size_type size() const
Definition: SortedCollection.h:215
hinfo
Definition: TauTagValidation.h:55
HGCalRecHitValidation::OccupancyMap_plus
std::map< int, int > OccupancyMap_plus
Definition: HGCalRecHitValidation.cc:72
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
HGCalRecHitValidation::layers_
unsigned int layers_
Definition: HGCalRecHitValidation.cc:70
HGCalRecHitValidation::HitOccupancy_Plus_
std::vector< MonitorElement * > HitOccupancy_Plus_
Definition: HGCalRecHitValidation.cc:78
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::ESHandle
Definition: DTSurvey.h:22
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
Point3DBase< float, GlobalTag >
HGCalGeometry
Definition: HGCalGeometry.h:29
HGCalRecHitValidation::recHitValidation
void recHitValidation(DetId &detId, int layer, const T1 *geom, T2 it)
Definition: HGCalRecHitValidation.cc:153
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
HGCalRecHitValidation::firstLayer_
int firstLayer_
Definition: HGCalRecHitValidation.cc:71
HGCalRecHitValidation::EtaPhi_Plus_
std::vector< MonitorElement * > EtaPhi_Plus_
Definition: HGCalRecHitValidation.cc:75
HGCalRecHitValidation::HitOccupancy_Minus_
std::vector< MonitorElement * > HitOccupancy_Minus_
Definition: HGCalRecHitValidation.cc:79
HGCalDDDConstants::layers
unsigned int layers(bool reco) const
Definition: HGCalDDDConstants.cc:577
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:155
motionPolicyChamber.geom0
geom0
Definition: motionPolicyChamber.py:83
HGCalRecHitValidation::fillHitsInfo
void fillHitsInfo()
Definition: HGCalRecHitValidation.cc:190
edm::ESHandleBase::isValid
bool isValid() const
Definition: ESHandle.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalRecHitValidation::energy_
std::vector< MonitorElement * > energy_
Definition: HGCalRecHitValidation.cc:77
HGCalDetId
Definition: HGCalDetId.h:8
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HGCalRecHitValidation::MeanHitOccupancy_Plus_
MonitorElement * MeanHitOccupancy_Plus_
Definition: HGCalRecHitValidation.cc:80
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:69
HGCalRecHitValidation::OccupancyMap_minus
std::map< int, int > OccupancyMap_minus
Definition: HGCalRecHitValidation.cc:73
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HGCalRecHitValidation::geometry_beginRun_token_
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord > geometry_beginRun_token_
Definition: HGCalRecHitValidation.cc:67
pi
const Double_t pi
Definition: trackSplitPlot.h:36
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
edm::InputTag
Definition: InputTag.h:15
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
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