CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
HcalGeomCheck Class Reference
Inheritance diagram for HcalGeomCheck:
edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Classes

struct  hitsinfo
 

Public Member Functions

 HcalGeomCheck (const edm::ParameterSet &)
 
 ~HcalGeomCheck () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources >
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Protected Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void beginJob () override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Private Member Functions

void analyzeHits (int, const std::string &, const std::vector< PCaloHit > &)
 

Private Attributes

const std::string caloHitSource_
 
const int depthMax_
 
std::vector< TH1D * > h_E_
 
std::map< int, TH1D * > h_eta_
 
std::map< std::pair< int, int >, TH1D * > h_phi_
 
TH2D * h_RZ_
 
std::vector< TH1D * > h_T_
 
const HcalDDDRecConstantshcons_
 
const int ietaMax_
 
const int ietaMin_
 
const int nbinR_
 
const int nbinZ_
 
const double rmax_
 
const double rmin_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_hits_
 
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecordtok_HRNDC_
 
const int verbosity_
 
const double zmax_
 
const double zmin_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Detailed Description

Definition at line 40 of file HcalGeomCheck.cc.

Constructor & Destructor Documentation

◆ HcalGeomCheck()

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

Definition at line 76 of file HcalGeomCheck.cc.

77  :
78 
79  caloHitSource_(iConfig.getParameter<std::string>("caloHitSource")),
80  ietaMin_(iConfig.getUntrackedParameter<int>("ietaMin", -41)),
81  ietaMax_(iConfig.getUntrackedParameter<int>("ietaMax", 41)),
82  depthMax_(iConfig.getUntrackedParameter<int>("depthMax", 7)),
83  rmin_(iConfig.getUntrackedParameter<double>("rMin", 0.0)),
84  rmax_(iConfig.getUntrackedParameter<double>("rMax", 5500.0)),
85  zmin_(iConfig.getUntrackedParameter<double>("zMin", -12500.0)),
86  zmax_(iConfig.getUntrackedParameter<double>("zMax", 12500.0)),
87  nbinR_(iConfig.getUntrackedParameter<int>("nBinR", 550)),
88  nbinZ_(iConfig.getUntrackedParameter<int>("nBinZ", 2500)),
89  verbosity_(iConfig.getUntrackedParameter<int>("verbosity", 0)) {
90  usesResource(TFileService::kSharedResource);
91  tok_hits_ = consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", caloHitSource_));
92  tok_HRNDC_ = esConsumes<HcalDDDRecConstants, HcalRecNumberingRecord, edm::Transition::BeginRun>();
93 }

References caloHitSource_, TFileService::kSharedResource, tok_hits_, and tok_HRNDC_.

◆ ~HcalGeomCheck()

HcalGeomCheck::~HcalGeomCheck ( )
inlineoverride

Definition at line 48 of file HcalGeomCheck.cc.

48 {}

Member Function Documentation

◆ analyze()

void HcalGeomCheck::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 111 of file HcalGeomCheck.cc.

111  {
112  //Now the hits
113  edm::Handle<edm::PCaloHitContainer> theCaloHitContainer;
114  iEvent.getByToken(tok_hits_, theCaloHitContainer);
115  if (theCaloHitContainer.isValid()) {
116  if (verbosity_ > 0)
117  edm::LogVerbatim("HcalValidation") << " PcalohitItr = " << theCaloHitContainer->size();
118 
119  //Merge hits for the same DetID
120  std::map<HcalDetId, hitsinfo> map_hits;
121  unsigned int nused(0);
122  for (auto const& hit : *(theCaloHitContainer.product())) {
123  unsigned int id = hit.id();
125  double energy = hit.energy();
126  double time = hit.time();
127  int subdet = detId.subdet();
128  int ieta = detId.ieta();
129  int iphi = detId.iphi();
130  int depth = detId.depth();
131  std::pair<double, double> etaphi = hcons_->getEtaPhi(subdet, ieta, iphi);
132  double rz = hcons_->getRZ(subdet, ieta, depth);
133  if (verbosity_ > 2)
134  edm::LogVerbatim("HcalValidation") << "i/p " << subdet << ":" << ieta << ":" << iphi << ":" << depth << " o/p "
135  << etaphi.first << ":" << etaphi.second << ":" << rz;
136  HepGeom::Point3D<float> gcoord = HepGeom::Point3D<float>(rz * cos(etaphi.second) / cosh(etaphi.first),
137  rz * sin(etaphi.second) / cosh(etaphi.first),
138  rz * tanh(etaphi.first));
139  nused++;
140  double tof = (gcoord.mag() * CLHEP::mm) / CLHEP::c_light;
141  if (verbosity_ > 1)
142  edm::LogVerbatim("HcalValidation")
143  << "Detector " << subdet << " ieta = " << ieta << " iphi = " << iphi << " depth = " << depth
144  << " positon = " << gcoord << " energy = " << energy << " time = " << time << ":" << tof;
145  time -= tof;
146  if (time < 0)
147  time = 0;
148  hitsinfo hinfo;
149  if (map_hits.count(detId) != 0) {
150  hinfo = map_hits[detId];
151  } else {
152  hinfo.phi = gcoord.getPhi();
153  hinfo.eta = gcoord.getEta();
154  hinfo.time = time;
155  }
156  hinfo.energy += energy;
157  map_hits[detId] = hinfo;
158 
159  h_RZ_->Fill(gcoord.z(), gcoord.rho());
160  }
161 
162  //Fill in histograms
163  for (auto const& hit : map_hits) {
164  hitsinfo hinfo = hit.second;
165  int subdet = hit.first.subdet();
166  if (subdet > 0 && subdet < static_cast<int>(h_E_.size())) {
167  int depth = hit.first.depth();
168  int ieta = hit.first.ieta();
169  int iphi = hit.first.iphi();
170  if (verbosity_ > 1)
171  edm::LogVerbatim("HGCalValidation")
172  << " ---------------------- eta = " << ieta << ":" << hinfo.eta << " phi = " << iphi << ":" << hinfo.phi
173  << " depth = " << depth << " E = " << hinfo.energy << " T = " << hinfo.time;
174  h_E_[subdet]->Fill(hinfo.energy);
175  h_T_[subdet]->Fill(hinfo.time);
176  auto itr1 = h_phi_.find(std::pair<int, int>(ieta, depth));
177  if (itr1 != h_phi_.end())
178  itr1->second->Fill(iphi);
179  auto itr2 = h_eta_.find(depth);
180  if (itr2 != h_eta_.end())
181  itr2->second->Fill(ieta);
182  }
183  }
184  } else if (verbosity_ > 0) {
185  edm::LogVerbatim("HcalValidation") << "PCaloHitContainer does not "
186  << "exist for HCAL";
187  }
188 }

References funct::cos(), LEDCalibrationChannels::depth, HcalDetId::depth(), HCALHighEnergyHPDFilter_cfi::energy, fastmath::etaphi(), HcalDDDRecConstants::getEtaPhi(), HcalDDDRecConstants::getRZ(), h_E_, h_eta_, h_phi_, h_RZ_, h_T_, hcons_, hit::id, LEDCalibrationChannels::ieta, HcalDetId::ieta(), iEvent, LEDCalibrationChannels::iphi, HcalDetId::iphi(), edm::HandleBase::isValid(), edm::Handle< T >::product(), HcalHitRelabeller::relabel(), funct::sin(), HcalDetId::subdet(), protons_cff::time, tok_hits_, and verbosity_.

◆ analyzeHits()

void HcalGeomCheck::analyzeHits ( int  ,
const std::string &  ,
const std::vector< PCaloHit > &   
)
private

◆ beginJob()

void HcalGeomCheck::beginJob ( void  )
overrideprotectedvirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 198 of file HcalGeomCheck.cc.

198  {
199  if (verbosity_ > 2)
200  edm::LogVerbatim("HcalValidation") << "HcalGeomCheck:: Enter beginJob";
202  h_RZ_ = fs->make<TH2D>("RZ", "R vs Z", nbinZ_, zmin_, zmax_, nbinR_, rmin_, rmax_);
203  if (verbosity_ > 2)
204  edm::LogVerbatim("HcalValidation") << "HcalGeomCheck: booked scatterplot RZ";
205  char name[20], title[100];
206  for (int depth = 1; depth < depthMax_; ++depth) {
207  for (int ieta = ietaMin_; ieta <= ietaMax_; ++ieta) {
208  sprintf(name, "phi%d%d", ieta, depth);
209  sprintf(title, "i#phi (i#eta = %d, depth = %d)", ieta, depth);
210  h_phi_[std::pair<int, int>(ieta, depth)] = fs->make<TH1D>(name, title, 400, -20, 380);
211  if (verbosity_ > 2)
212  edm::LogVerbatim("HcalValidation") << "HcalGeomCheck: books " << title;
213  }
214  sprintf(name, "eta%d", depth);
215  sprintf(title, "i#eta (depth = %d)", depth);
216  h_eta_[depth] = fs->make<TH1D>(name, title, 100, -50, 50);
217  if (verbosity_ > 2)
218  edm::LogVerbatim("HcalValidation") << "HcalGeomCheck: books " << title;
219  }
220 
221  std::vector<std::string> dets = {"HCAL", "HB", "HE", "HF", "HO"};
222  for (unsigned int ih = 0; ih < dets.size(); ++ih) {
223  sprintf(name, "E_%s", dets[ih].c_str());
224  sprintf(title, "Energy deposit in %s (MeV)", dets[ih].c_str());
225  h_E_.emplace_back(fs->make<TH1D>(name, title, 1000, 0.0, 1.0));
226  if (verbosity_ > 2)
227  edm::LogVerbatim("HcalValidation") << "HcalGeomCheck: books " << title;
228  sprintf(name, "T_%s", dets[ih].c_str());
229  sprintf(title, "Time of hit in %s (ns)", dets[ih].c_str());
230  h_T_.emplace_back(fs->make<TH1D>(name, title, 1000, 0.0, 200.0));
231  if (verbosity_ > 2)
232  edm::LogVerbatim("HcalValidation") << "HcalGeomCheck: books " << title;
233  }
234 }

References LEDCalibrationChannels::depth, depthMax_, h_E_, h_eta_, h_phi_, h_RZ_, h_T_, LEDCalibrationChannels::ieta, ietaMax_, ietaMin_, TFileService::make(), Skims_PA_cff::name, nbinR_, nbinZ_, rmax_, rmin_, runGCPTkAlMap::title, verbosity_, zmax_, and zmin_.

◆ beginRun()

void HcalGeomCheck::beginRun ( edm::Run const &  ,
edm::EventSetup const &  iSetup 
)
overrideprotected

Definition at line 191 of file HcalGeomCheck.cc.

191  {
192  const auto& pHRNDC = iSetup.getData(tok_HRNDC_);
193  hcons_ = &pHRNDC;
194  if (verbosity_ > 0)
195  edm::LogVerbatim("HcalValidation") << "Obtain HcalDDDRecConstants from Event Setup";
196 }

References edm::EventSetup::getData(), hcons_, tok_HRNDC_, and verbosity_.

◆ endRun()

void HcalGeomCheck::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineoverrideprotected

Definition at line 55 of file HcalGeomCheck.cc.

55 {}

◆ fillDescriptions()

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

Definition at line 95 of file HcalGeomCheck.cc.

95  {
97  desc.add<std::string>("caloHitSource", "HcalHits");
98  desc.addUntracked<int>("ietaMin", -41);
99  desc.addUntracked<int>("ietaMax", 41);
100  desc.addUntracked<int>("depthMax", 7);
101  desc.addUntracked<double>("rMin", 0.0);
102  desc.addUntracked<double>("rMax", 5500.0);
103  desc.addUntracked<double>("zMin", -12500.0);
104  desc.addUntracked<double>("zMax", 12500.0);
105  desc.addUntracked<int>("nBinR", 550);
106  desc.addUntracked<int>("nBinZ", 250);
107  desc.addUntracked<int>("verbosity", 0);
108  descriptions.add("hcalGeomCheck", desc);
109 }

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

Member Data Documentation

◆ caloHitSource_

const std::string HcalGeomCheck::caloHitSource_
private

Definition at line 61 of file HcalGeomCheck.cc.

Referenced by HcalGeomCheck().

◆ depthMax_

const int HcalGeomCheck::depthMax_
private

Definition at line 62 of file HcalGeomCheck.cc.

Referenced by beginJob().

◆ h_E_

std::vector<TH1D*> HcalGeomCheck::h_E_
private

Definition at line 73 of file HcalGeomCheck.cc.

Referenced by analyze(), and beginJob().

◆ h_eta_

std::map<int, TH1D*> HcalGeomCheck::h_eta_
private

Definition at line 72 of file HcalGeomCheck.cc.

Referenced by analyze(), and beginJob().

◆ h_phi_

std::map<std::pair<int, int>, TH1D*> HcalGeomCheck::h_phi_
private

Definition at line 71 of file HcalGeomCheck.cc.

Referenced by analyze(), and beginJob().

◆ h_RZ_

TH2D* HcalGeomCheck::h_RZ_
private

Definition at line 70 of file HcalGeomCheck.cc.

Referenced by analyze(), and beginJob().

◆ h_T_

std::vector<TH1D*> HcalGeomCheck::h_T_
private

Definition at line 73 of file HcalGeomCheck.cc.

Referenced by analyze(), and beginJob().

◆ hcons_

const HcalDDDRecConstants* HcalGeomCheck::hcons_
private

Definition at line 65 of file HcalGeomCheck.cc.

Referenced by analyze(), and beginRun().

◆ ietaMax_

const int HcalGeomCheck::ietaMax_
private

Definition at line 62 of file HcalGeomCheck.cc.

Referenced by beginJob().

◆ ietaMin_

const int HcalGeomCheck::ietaMin_
private

Definition at line 62 of file HcalGeomCheck.cc.

Referenced by beginJob().

◆ nbinR_

const int HcalGeomCheck::nbinR_
private

Definition at line 64 of file HcalGeomCheck.cc.

Referenced by beginJob().

◆ nbinZ_

const int HcalGeomCheck::nbinZ_
private

Definition at line 64 of file HcalGeomCheck.cc.

Referenced by beginJob().

◆ rmax_

const double HcalGeomCheck::rmax_
private

Definition at line 63 of file HcalGeomCheck.cc.

Referenced by beginJob().

◆ rmin_

const double HcalGeomCheck::rmin_
private

Definition at line 63 of file HcalGeomCheck.cc.

Referenced by beginJob().

◆ tok_hits_

edm::EDGetTokenT<edm::PCaloHitContainer> HcalGeomCheck::tok_hits_
private

Definition at line 66 of file HcalGeomCheck.cc.

Referenced by analyze(), and HcalGeomCheck().

◆ tok_HRNDC_

edm::ESGetToken<HcalDDDRecConstants, HcalRecNumberingRecord> HcalGeomCheck::tok_HRNDC_
private

Definition at line 67 of file HcalGeomCheck.cc.

Referenced by beginRun(), and HcalGeomCheck().

◆ verbosity_

const int HcalGeomCheck::verbosity_
private

Definition at line 64 of file HcalGeomCheck.cc.

Referenced by analyze(), beginJob(), and beginRun().

◆ zmax_

const double HcalGeomCheck::zmax_
private

Definition at line 63 of file HcalGeomCheck.cc.

Referenced by beginJob().

◆ zmin_

const double HcalGeomCheck::zmin_
private

Definition at line 63 of file HcalGeomCheck.cc.

Referenced by beginJob().

HcalGeomCheck::tok_hits_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
Definition: HcalGeomCheck.cc:66
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
hit::id
unsigned int id
Definition: SiStripHitEffFromCalibTree.cc:92
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
HcalGeomCheck::ietaMax_
const int ietaMax_
Definition: HcalGeomCheck.cc:62
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
HcalGeomCheck::zmax_
const double zmax_
Definition: HcalGeomCheck.cc:63
protons_cff.time
time
Definition: protons_cff.py:35
HcalDetId::depth
constexpr int depth() const
get the tower depth
Definition: HcalDetId.h:164
hinfo
Definition: TauTagValidation.h:55
HcalGeomCheck::nbinZ_
const int nbinZ_
Definition: HcalGeomCheck.cc:64
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalGeomCheck::h_E_
std::vector< TH1D * > h_E_
Definition: HcalGeomCheck.cc:73
edm::Handle
Definition: AssociativeIterator.h:50
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
HcalGeomCheck::rmin_
const double rmin_
Definition: HcalGeomCheck.cc:63
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HcalGeomCheck::zmin_
const double zmin_
Definition: HcalGeomCheck.cc:63
HcalGeomCheck::tok_HRNDC_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_HRNDC_
Definition: HcalGeomCheck.cc:67
HcalGeomCheck::nbinR_
const int nbinR_
Definition: HcalGeomCheck.cc:64
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
HcalGeomCheck::depthMax_
const int depthMax_
Definition: HcalGeomCheck.cc:62
HcalGeomCheck::h_RZ_
TH2D * h_RZ_
Definition: HcalGeomCheck.cc:70
HcalDetId::subdet
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
HcalGeomCheck::h_eta_
std::map< int, TH1D * > h_eta_
Definition: HcalGeomCheck.cc:72
HcalDetId
Definition: HcalDetId.h:12
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
TFileService::make
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalGeomCheck::rmax_
const double rmax_
Definition: HcalGeomCheck.cc:63
HcalHitRelabeller::relabel
DetId relabel(const uint32_t testId) const
Definition: HcalHitRelabeller.cc:49
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HcalDDDRecConstants::getRZ
double getRZ(const int &subdet, const int &ieta, const int &depth) const
Definition: HcalDDDRecConstants.cc:416
HcalGeomCheck::h_T_
std::vector< TH1D * > h_T_
Definition: HcalGeomCheck.cc:73
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HcalGeomCheck::caloHitSource_
const std::string caloHitSource_
Definition: HcalGeomCheck.cc:61
HcalGeomCheck::ietaMin_
const int ietaMin_
Definition: HcalGeomCheck.cc:62
HcalGeomCheck::verbosity_
const int verbosity_
Definition: HcalGeomCheck.cc:64
HcalDDDRecConstants::getEtaPhi
std::pair< double, double > getEtaPhi(const int &subdet, const int &ieta, const int &iphi) const
Definition: HcalDDDRecConstants.cc:132
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
fastmath::etaphi
std::pair< T, T > etaphi(T x, T y, T z)
Definition: FastMath.h:162
edm::InputTag
Definition: InputTag.h:15
HcalGeomCheck::h_phi_
std::map< std::pair< int, int >, TH1D * > h_phi_
Definition: HcalGeomCheck.cc:71
hit
Definition: SiStripHitEffFromCalibTree.cc:88
HcalGeomCheck::hcons_
const HcalDDDRecConstants * hcons_
Definition: HcalGeomCheck.cc:65