CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
HcalSimHitStudy Class Reference

#include <HcalSimHitStudy.h>

Inheritance diagram for HcalSimHitStudy:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
 HcalSimHitStudy (const edm::ParameterSet &ps)
 
 ~HcalSimHitStudy ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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 & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 
void analyzeHits (std::vector< PCaloHit > &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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 ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Attributes

bool checkHit_
 
std::string g4Label
 
std::string hcalHits
 
const HcalDDDRecConstantshcons
 
int ieta_bins_HB
 
int ieta_bins_HE
 
int ieta_bins_HF
 
int ieta_bins_HO
 
float ieta_max_HB
 
float ieta_max_HE
 
float ieta_max_HF
 
float ieta_max_HO
 
float ieta_min_HB
 
float ieta_min_HE
 
float ieta_min_HF
 
float ieta_min_HO
 
int iphi_bins
 
float iphi_max
 
float iphi_min
 
int maxDepthHB_
 
int maxDepthHE_
 
int maxDepthHF_
 
int maxDepthHO_
 
MonitorElementmeAllNHit_
 
MonitorElementmeBadDetHit_
 
MonitorElementmeBadIdHit_
 
MonitorElementmeBadSubHit_
 
MonitorElementmeDepthHit_
 
MonitorElementmeDetectHit_
 
MonitorElementmeEnergyHit_
 
MonitorElementmeEtaHit_
 
MonitorElementmeHBDepHit_
 
MonitorElementmeHBEneHit2_
 
MonitorElementmeHBEneHit_
 
MonitorElementmeHBEneMap_
 
MonitorElementmeHBEneSum_
 
MonitorElementmeHBEneSum_vs_ieta_
 
MonitorElementmeHBEtaHit_
 
MonitorElementmeHBL10Ene_
 
MonitorElementmeHBL10EneP_
 
MonitorElementmeHBNHit_
 
MonitorElementmeHBPhiHit_
 
MonitorElementmeHBTimHit_
 
MonitorElementmeHEDepHit_
 
MonitorElementmeHEEneHit2_
 
MonitorElementmeHEEneHit_
 
MonitorElementmeHEEneMap_
 
MonitorElementmeHEEneSum_
 
MonitorElementmeHEEneSum_vs_ieta_
 
MonitorElementmeHEEtaHit_
 
MonitorElementmeHEL10Ene_
 
MonitorElementmeHEL10EneP_
 
MonitorElementmeHENHit_
 
MonitorElementmeHEPhiHit_
 
MonitorElementmeHETimHit_
 
MonitorElementmeHFDepHit_
 
MonitorElementmeHFDepHitw_
 
MonitorElementmeHFEneHit2_
 
MonitorElementmeHFEneHit_
 
MonitorElementmeHFEneMap_
 
MonitorElementmeHFEneSum_
 
MonitorElementmeHFEneSum_vs_ieta_
 
MonitorElementmeHFEtaHit_
 
MonitorElementmeHFL10Ene_
 
MonitorElementmeHFL10EneP_
 
MonitorElementmeHFNHit_
 
MonitorElementmeHFPhiHit_
 
MonitorElementmeHFTimHit_
 
MonitorElementmeHODepHit_
 
MonitorElementmeHOEneHit2_
 
MonitorElementmeHOEneHit_
 
MonitorElementmeHOEneMap_
 
MonitorElementmeHOEneSum_
 
MonitorElementmeHOEneSum_vs_ieta_
 
MonitorElementmeHOEtaHit_
 
MonitorElementmeHOL10Ene_
 
MonitorElementmeHOL10EneP_
 
MonitorElementmeHONHit_
 
MonitorElementmeHOPhiHit_
 
MonitorElementmeHOTimHit_
 
MonitorElementmePhiHit_
 
MonitorElementmePhiHitb_
 
MonitorElementmeSubdetHit_
 
MonitorElementmeTimeHit_
 
MonitorElementmeTimeWHit_
 
std::string outFile_
 
bool testNumber_
 
edm::EDGetTokenT
< edm::PCaloHitContainer
tok_hits_
 
bool verbose_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 31 of file HcalSimHitStudy.h.

Constructor & Destructor Documentation

HcalSimHitStudy::HcalSimHitStudy ( const edm::ParameterSet ps)

Definition at line 7 of file HcalSimHitStudy.cc.

References checkHit_, g4Label, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcalHits, HLT_FULL_cff::InputTag, outFile_, AlCaHLTBitMon_QueryRunRegistry::string, testNumber_, tok_hits_, and verbose_.

7  {
8 
9  g4Label = ps.getUntrackedParameter<std::string>("moduleLabel","g4SimHits");
10  hcalHits = ps.getUntrackedParameter<std::string>("HitCollection","HcalHits");
11  outFile_ = ps.getUntrackedParameter<std::string>("outputFile", "hcHit.root");
12  verbose_ = ps.getUntrackedParameter<bool>("Verbose", false);
13  testNumber_= ps.getParameter<bool>("TestNumber");
14  checkHit_= true;
15 
16  tok_hits_ = consumes<edm::PCaloHitContainer>(edm::InputTag(g4Label,hcalHits));
17 
18  edm::LogInfo("HcalSim") << "Module Label: " << g4Label << " Hits: "
19  << hcalHits << " / "<< checkHit_
20  << " Output: " << outFile_;
21 
22 }
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::string hcalHits
std::string outFile_
std::string g4Label
HcalSimHitStudy::~HcalSimHitStudy ( )

Definition at line 24 of file HcalSimHitStudy.cc.

24 {}

Member Function Documentation

void HcalSimHitStudy::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 167 of file HcalSimHitStudy.cc.

References analyzeHits(), checkHit_, edm::EventID::event(), edm::Event::getByToken(), edm::EventBase::id(), edm::HandleBase::isValid(), LogDebug, edm::EventID::run(), and tok_hits_.

167  {
168 
169  LogDebug("HcalSim") << "Run = " << e.id().run() << " Event = "
170  << e.id().event();
171 
172  std::vector<PCaloHit> caloHits;
174 
175  bool getHits = false;
176  if (checkHit_) {
177  e.getByToken(tok_hits_,hitsHcal);
178  if (hitsHcal.isValid()) getHits = true;
179  }
180 
181  LogDebug("HcalSim") << "HcalValidation: Input flags Hits " << getHits;
182 
183  if (getHits) {
184  caloHits.insert(caloHits.end(),hitsHcal->begin(),hitsHcal->end());
185  LogDebug("HcalSim") << "HcalValidation: Hit buffer "
186  << caloHits.size();
187  analyzeHits (caloHits);
188  }
189 }
#define LogDebug(id)
RunNumber_t run() const
Definition: EventID.h:39
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
EventNumber_t event() const
Definition: EventID.h:41
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
void analyzeHits(std::vector< PCaloHit > &)
bool isValid() const
Definition: HandleBase.h:75
edm::EventID id() const
Definition: EventBase.h:58
void HcalSimHitStudy::analyzeHits ( std::vector< PCaloHit > &  hits)
protected

Definition at line 191 of file HcalSimHitStudy.cc.

References TauDecayModes::dec, HLT_FULL_cff::depth, relval_parameters_module::energy, eta, MonitorElement::Fill(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, i, ieta_bins_HB, ieta_bins_HE, ieta_bins_HF, ieta_bins_HO, ieta_min_HB, ieta_min_HE, ieta_min_HF, ieta_min_HO, iphi_bins, j, LogDebug, meAllNHit_, meBadDetHit_, meBadIdHit_, meBadSubHit_, meDepthHit_, meDetectHit_, meEnergyHit_, meEtaHit_, meHBDepHit_, meHBEneHit2_, meHBEneHit_, meHBEneMap_, meHBEneSum_, meHBEneSum_vs_ieta_, meHBEtaHit_, meHBL10Ene_, meHBL10EneP_, meHBNHit_, meHBPhiHit_, meHBTimHit_, meHEDepHit_, meHEEneHit2_, meHEEneHit_, meHEEneMap_, meHEEneSum_, meHEEneSum_vs_ieta_, meHEEtaHit_, meHEL10Ene_, meHEL10EneP_, meHENHit_, meHEPhiHit_, meHETimHit_, meHFDepHit_, meHFDepHitw_, meHFEneHit2_, meHFEneHit_, meHFEneMap_, meHFEneSum_, meHFEneSum_vs_ieta_, meHFEtaHit_, meHFL10Ene_, meHFL10EneP_, meHFNHit_, meHFPhiHit_, meHFTimHit_, meHODepHit_, meHOEneHit2_, meHOEneHit_, meHOEneMap_, meHOEneSum_, meHOEneSum_vs_ieta_, meHOEtaHit_, meHOL10Ene_, meHOL10EneP_, meHONHit_, meHOPhiHit_, meHOTimHit_, mePhiHit_, mePhiHitb_, meSubdetHit_, meTimeHit_, meTimeWHit_, phi, jetcorrextractor::sign(), testNumber_, HcalTestNumbering::unpackHcalIndex(), and z.

Referenced by analyze().

191  {
192 
193  int nHit = hits.size();
194  int nHB=0, nHE=0, nHO=0, nHF=0, nBad1=0, nBad2=0, nBad=0;
195  std::vector<double> encontHB(140, 0.);
196  std::vector<double> encontHE(140, 0.);
197  std::vector<double> encontHF(140, 0.);
198  std::vector<double> encontHO(140, 0.);
199  double entotHB = 0, entotHE = 0, entotHF = 0, entotHO = 0;
200 
201  double HBEneMap[ieta_bins_HB][iphi_bins];
202  double HEEneMap[ieta_bins_HE][iphi_bins];
203  double HOEneMap[ieta_bins_HO][iphi_bins];
204  double HFEneMap[ieta_bins_HF][iphi_bins];
205 
206  //Works in ieta_min_Hx is < 0
207  int eta_offset_HB = -(int)ieta_min_HB;
208  int eta_offset_HE = -(int)ieta_min_HE;
209  int eta_offset_HO = -(int)ieta_min_HO;
210  int eta_offset_HF = -(int)ieta_min_HF;
211 
212  for(int i = 0; i < ieta_bins_HB; i++){
213  for(int j = 0; j < iphi_bins; j++){
214  HBEneMap[i][j] = 0.;
215  }
216  }
217 
218  for(int i = 0; i < ieta_bins_HE; i++){
219  for(int j = 0; j < iphi_bins; j++){
220  HEEneMap[i][j] = 0.;
221  }
222  }
223 
224  for(int i = 0; i < ieta_bins_HO; i++){
225  for(int j = 0; j < iphi_bins; j++){
226  HOEneMap[i][j] = 0.;
227  }
228  }
229 
230  for(int i = 0; i < ieta_bins_HF; i++){
231  for(int j = 0; j < iphi_bins; j++){
232  HFEneMap[i][j] = 0.;
233  }
234  }
235 
236  for (int i=0; i<nHit; i++) {
237  double energy = hits[i].energy();
238  double log10en = log10(energy);
239  int log10i = int( (log10en+10.)*10. );
240  double time = hits[i].time();
241  unsigned int id_ = hits[i].id();
242  int det, subdet, depth, eta, phi;
243  if (testNumber_) {
244  int z, lay;
245  HcalTestNumbering::unpackHcalIndex(id_, subdet, z, depth, eta, phi, lay);
246  int sign = (z==0) ? (-1):(1);
247  eta *= sign;
248  det = 4;
249  } else {
250  HcalDetId id = HcalDetId(id_);
251  det = id.det();
252  subdet = id.subdet();
253  depth = id.depth();
254  eta = id.ieta();
255  phi = id.iphi();
256  }
257 
258  LogDebug("HcalSim") << "Hit[" << i << "] ID " << std::hex << id_
259  << std::dec << " Det " << det << " Sub "
260  << subdet << " depth " << depth << " Eta " << eta
261  << " Phi " << phi << " E " << energy << " time "
262  << time;
263  if (det == 4) { // Check DetId.h
264  if (subdet == static_cast<int>(HcalBarrel)) nHB++;
265  else if (subdet == static_cast<int>(HcalEndcap)) nHE++;
266  else if (subdet == static_cast<int>(HcalOuter)) nHO++;
267  else if (subdet == static_cast<int>(HcalForward)) nHF++;
268  else { nBad++; nBad2++;}
269  } else { nBad++; nBad1++;}
270 
271  meDetectHit_->Fill(double(det));
272  if (det == 4) {
273  meSubdetHit_->Fill(double(subdet));
274  meDepthHit_->Fill(double(depth));
275  meEtaHit_->Fill(double(eta));
276 
277 
278 
279  //We will group the phi plots by HB,HO and HE,HF since these groups share similar segmentation schemes
280  if (subdet == static_cast<int>(HcalBarrel)) mePhiHit_->Fill(double(phi));
281  else if (subdet == static_cast<int>(HcalEndcap)) mePhiHitb_->Fill(double(phi));
282  else if (subdet == static_cast<int>(HcalOuter)) mePhiHit_->Fill(double(phi));
283  else if (subdet == static_cast<int>(HcalForward)) mePhiHitb_->Fill(double(phi));
284 
285 
286  //KC: HF energy is in photoelectrons rather than eV, so it will not be included in total HCal energy
287  if (subdet != static_cast<int>(HcalForward)){
288  meEnergyHit_->Fill(energy);
289 
290  //Since the HF energy is a different scale it does not make sense to include it in the Energy Weighted Plot
291  meTimeWHit_->Fill(double(time),energy);
292  }
293  meTimeHit_->Fill(time);
294 
295  if (subdet == static_cast<int>(HcalBarrel)) {
296  meHBDepHit_->Fill(double(depth));
297  meHBEtaHit_->Fill(double(eta));
298  meHBPhiHit_->Fill(double(phi));
299  meHBEneHit_->Fill(energy);
300  meHBEneHit2_->Fill(energy);
301  meHBTimHit_->Fill(time);
302  meHBL10Ene_->Fill(log10en);
303  if( log10i >=0 && log10i < 140 ) encontHB[log10i] += energy;
304  entotHB += energy;
305 
306  HBEneMap[eta + eta_offset_HB][phi-1] += energy;
307 
308  } else if (subdet == static_cast<int>(HcalEndcap)) {
309  meHEDepHit_->Fill(double(depth));
310  meHEEtaHit_->Fill(double(eta));
311  meHEPhiHit_->Fill(double(phi));
312  meHEEneHit_->Fill(energy);
313  meHEEneHit2_->Fill(energy);
314  meHETimHit_->Fill(time);
315  meHEL10Ene_->Fill(log10en);
316  if( log10i >=0 && log10i < 140 ) encontHE[log10i] += energy;
317  entotHE += energy;
318 
319  HEEneMap[eta + eta_offset_HE][phi-1] += energy;
320 
321  } else if (subdet == static_cast<int>(HcalOuter)) {
322  meHODepHit_->Fill(double(depth));
323  meHOEtaHit_->Fill(double(eta));
324  meHOPhiHit_->Fill(double(phi));
325  meHOEneHit_->Fill(energy);
326  meHOEneHit2_->Fill(energy);
327  meHOTimHit_->Fill(time);
328  meHOL10Ene_->Fill(log10en);
329  if( log10i >=0 && log10i < 140 ) encontHO[log10i] += energy;
330  entotHO += energy;
331 
332  HOEneMap[eta + eta_offset_HO][phi-1] += energy;
333 
334  } else if (subdet == static_cast<int>(HcalForward)) {
335  meHFDepHit_->Fill(double(depth));
336  meHFDepHitw_->Fill(double(depth),energy);
337  meHFEtaHit_->Fill(double(eta));
338  meHFPhiHit_->Fill(double(phi));
339  meHFEneHit_->Fill(energy);
340  meHFEneHit2_->Fill(energy);
341  meHFTimHit_->Fill(time);
342  meHFL10Ene_->Fill(log10en);
343  if( log10i >=0 && log10i < 140 ) encontHF[log10i] += energy;
344  entotHF += energy;
345 
346  HFEneMap[eta + eta_offset_HF][phi-1] += energy;
347 
348  }
349  }
350  }
351  if( entotHB != 0 ) for( int i=0; i<140; i++ ) meHBL10EneP_->Fill( -10.+(float(i)+0.5)/10., encontHB[i]/entotHB );
352  if( entotHE != 0 ) for( int i=0; i<140; i++ ) meHEL10EneP_->Fill( -10.+(float(i)+0.5)/10., encontHE[i]/entotHE );
353  if( entotHF != 0 ) for( int i=0; i<140; i++ ) meHFL10EneP_->Fill( -10.+(float(i)+0.5)/10., encontHF[i]/entotHF );
354  if( entotHO != 0 ) for( int i=0; i<140; i++ ) meHOL10EneP_->Fill( -10.+(float(i)+0.5)/10., encontHO[i]/entotHO );
355 
356  meAllNHit_->Fill(double(nHit));
357  meBadDetHit_->Fill(double(nBad1));
358  meBadSubHit_->Fill(double(nBad2));
359  meBadIdHit_->Fill(double(nBad));
360  meHBNHit_->Fill(double(nHB));
361  meHENHit_->Fill(double(nHE));
362  meHONHit_->Fill(double(nHO));
363  meHFNHit_->Fill(double(nHF));
364 
365  for(int i = 0; i < ieta_bins_HB; i++){
366  for(int j = 0; j < iphi_bins; j++){
367 
368  if(HBEneMap[i][j] != 0){
369  meHBEneSum_->Fill(HBEneMap[i][j]);
370  meHBEneSum_vs_ieta_->Fill((i - eta_offset_HB), HBEneMap[i][j]);
371  meHBEneMap_->Fill((i - eta_offset_HB), j+1, HBEneMap[i][j]);
372  }
373 
374  }
375  }
376 
377  for(int i = 0; i < ieta_bins_HE; i++){
378  for(int j = 0; j < iphi_bins; j++){
379 
380  if(HEEneMap[i][j] != 0){
381  meHEEneSum_->Fill(HEEneMap[i][j]);
382  meHEEneSum_vs_ieta_->Fill((i - eta_offset_HE), HEEneMap[i][j]);
383  meHEEneMap_->Fill((i - eta_offset_HE), j+1, HEEneMap[i][j]);
384  }
385 
386  }
387  }
388 
389  for(int i = 0; i < ieta_bins_HO; i++){
390  for(int j = 0; j < iphi_bins; j++){
391 
392  if(HOEneMap[i][j] != 0){
393  meHOEneSum_->Fill(HOEneMap[i][j]);
394  meHOEneSum_vs_ieta_->Fill((i - eta_offset_HO), HOEneMap[i][j]);
395  meHOEneMap_->Fill((i - eta_offset_HO), j+1, HOEneMap[i][j]);
396  }
397 
398  }
399  }
400 
401  for(int i = 0; i < ieta_bins_HF; i++){
402  for(int j = 0; j < iphi_bins; j++){
403 
404  if(HFEneMap[i][j] != 0){
405  meHFEneSum_->Fill(HFEneMap[i][j]);
406  meHFEneSum_vs_ieta_->Fill((i - eta_offset_HF), HFEneMap[i][j]);
407  meHFEneMap_->Fill((i - eta_offset_HF), j+1, HFEneMap[i][j]);
408  }
409 
410  }
411  }
412 
413  LogDebug("HcalSim") << "HcalSimHitStudy::analyzeHits: HB " << nHB
414  << " HE " << nHE << " HO " << nHO << " HF " << nHF
415  << " Bad " << nBad << " All " << nHit;
416 
417 }
#define LogDebug(id)
MonitorElement * mePhiHit_
MonitorElement * meHBEneMap_
int i
Definition: DBlmapReader.cc:9
MonitorElement * meHEDepHit_
MonitorElement * meHOL10Ene_
MonitorElement * meHOEneSum_vs_ieta_
MonitorElement * meHOEneSum_
MonitorElement * meHOPhiHit_
MonitorElement * meDetectHit_
MonitorElement * meHFNHit_
MonitorElement * meHFEtaHit_
MonitorElement * meHFL10EneP_
MonitorElement * meHBEneSum_vs_ieta_
MonitorElement * meHFEneHit2_
double sign(double x)
MonitorElement * meHOL10EneP_
MonitorElement * meHFDepHitw_
MonitorElement * meHBNHit_
MonitorElement * meHFTimHit_
MonitorElement * meHEEneSum_vs_ieta_
MonitorElement * meHBEneHit2_
MonitorElement * meHONHit_
void Fill(long long x)
MonitorElement * meAllNHit_
MonitorElement * meHBL10Ene_
MonitorElement * meHEEneSum_
MonitorElement * meBadDetHit_
MonitorElement * meHFL10Ene_
MonitorElement * mePhiHitb_
MonitorElement * meHETimHit_
MonitorElement * meTimeHit_
MonitorElement * meHFDepHit_
MonitorElement * meHBEneSum_
MonitorElement * meHOEneMap_
MonitorElement * meHBTimHit_
int j
Definition: DBlmapReader.cc:9
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
MonitorElement * meHFEneSum_vs_ieta_
MonitorElement * meTimeWHit_
MonitorElement * meHBDepHit_
MonitorElement * meHFEneSum_
MonitorElement * meHFEneMap_
MonitorElement * meBadSubHit_
MonitorElement * meHENHit_
MonitorElement * meBadIdHit_
MonitorElement * meHEL10EneP_
MonitorElement * meEnergyHit_
MonitorElement * meHOEtaHit_
MonitorElement * meHEEneMap_
MonitorElement * meEtaHit_
MonitorElement * meHBEneHit_
MonitorElement * meHOTimHit_
MonitorElement * meHBL10EneP_
MonitorElement * meHEEneHit2_
MonitorElement * meHFPhiHit_
MonitorElement * meDepthHit_
MonitorElement * meHBEtaHit_
MonitorElement * meHODepHit_
MonitorElement * meHEL10Ene_
MonitorElement * meHEEneHit_
MonitorElement * meHEPhiHit_
MonitorElement * meSubdetHit_
MonitorElement * meHBPhiHit_
MonitorElement * meHFEneHit_
MonitorElement * meHEEtaHit_
MonitorElement * meHOEneHit_
MonitorElement * meHOEneHit2_
void HcalSimHitStudy::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  run,
edm::EventSetup const &  es 
)
virtual

Implements DQMEDAnalyzer.

Definition at line 26 of file HcalSimHitStudy.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), checkHit_, edm::EventSetup::get(), HcalDDDRecConstants::getEtaRange(), HcalDDDRecConstants::getMaxDepth(), HcalDDDRecConstants::getNPhi(), hcons, ieta_bins_HB, ieta_bins_HE, ieta_bins_HF, ieta_bins_HO, ieta_max_HB, ieta_max_HE, ieta_max_HF, ieta_max_HO, ieta_min_HB, ieta_min_HE, ieta_min_HF, ieta_min_HO, iphi_bins, iphi_max, iphi_min, maxDepthHB_, maxDepthHE_, maxDepthHF_, maxDepthHO_, meAllNHit_, meBadDetHit_, meBadIdHit_, meBadSubHit_, meDepthHit_, meDetectHit_, meEnergyHit_, meEtaHit_, meHBDepHit_, meHBEneHit2_, meHBEneHit_, meHBEneMap_, meHBEneSum_, meHBEneSum_vs_ieta_, meHBEtaHit_, meHBL10Ene_, meHBL10EneP_, meHBNHit_, meHBPhiHit_, meHBTimHit_, meHEDepHit_, meHEEneHit2_, meHEEneHit_, meHEEneMap_, meHEEneSum_, meHEEneSum_vs_ieta_, meHEEtaHit_, meHEL10Ene_, meHEL10EneP_, meHENHit_, meHEPhiHit_, meHETimHit_, meHFDepHit_, meHFDepHitw_, meHFEneHit2_, meHFEneHit_, meHFEneMap_, meHFEneSum_, meHFEneSum_vs_ieta_, meHFEtaHit_, meHFL10Ene_, meHFL10EneP_, meHFNHit_, meHFPhiHit_, meHFTimHit_, meHODepHit_, meHOEneHit2_, meHOEneHit_, meHOEneMap_, meHOEneSum_, meHOEneSum_vs_ieta_, meHOEtaHit_, meHOL10Ene_, meHOL10EneP_, meHONHit_, meHOPhiHit_, meHOTimHit_, mePhiHit_, mePhiHitb_, meSubdetHit_, meTimeHit_, meTimeWHit_, and DQMStore::IBooker::setCurrentFolder().

27 {
29  es.get<HcalRecNumberingRecord>().get( pHRNDC );
30  hcons = &(*pHRNDC);
35 
36  //Get Phi segmentation from geometry, use the max phi number so that all iphi values are included.
37 
38  int NphiMax = hcons->getNPhi(0);
39 
40  NphiMax = (hcons->getNPhi(1) > NphiMax ? hcons->getNPhi(1) : NphiMax);
41  NphiMax = (hcons->getNPhi(2) > NphiMax ? hcons->getNPhi(2) : NphiMax);
42  NphiMax = (hcons->getNPhi(3) > NphiMax ? hcons->getNPhi(3) : NphiMax);
43 
44  //Center the iphi bins on the integers
45  iphi_min = 0.5;
46  iphi_max = NphiMax + 0.5;
47  iphi_bins = (int) (iphi_max - iphi_min);
48 
49  int iEtaHBMax = hcons->getEtaRange(0).second;
50  int iEtaHEMax = hcons->getEtaRange(1).second;
51  int iEtaHFMax = hcons->getEtaRange(2).second;
52  int iEtaHOMax = hcons->getEtaRange(3).second;
53 
54  //Retain classic behavior, all plots have same ieta range.
55  //Comment out code to allow each subdetector to have its on range
56 
57  int iEtaMax = (iEtaHBMax > iEtaHEMax ? iEtaHBMax : iEtaHEMax);
58  iEtaMax = (iEtaMax > iEtaHFMax ? iEtaMax : iEtaHFMax);
59  iEtaMax = (iEtaMax > iEtaHOMax ? iEtaMax : iEtaHOMax);
60 
61  iEtaHBMax = iEtaMax;
62  iEtaHEMax = iEtaMax;
63  iEtaHFMax = iEtaMax;
64  iEtaHOMax = iEtaMax;
65 
66  //Give an empty bin around the subdet ieta range to make it clear that all ieta rings have been included
67  ieta_min_HB = -iEtaHBMax - 1.5;
68  ieta_max_HB = iEtaHBMax + 1.5;
70 
71  ieta_min_HE = -iEtaHEMax - 1.5;
72  ieta_max_HE = iEtaHEMax + 1.5;
74 
75  ieta_min_HF = -iEtaHFMax - 1.5;
76  ieta_max_HF = iEtaHFMax + 1.5;
78 
79  ieta_min_HO = -iEtaHOMax - 1.5;
80  ieta_max_HO = iEtaHOMax + 1.5;
82 
83 
84  ib.setCurrentFolder("HcalHitsV/HcalSimHitsTask");
85 
86  //Histograms for Hits
87  if (checkHit_) {
88  meAllNHit_ = ib.book1D("Hit01","Number of Hits in HCal",20000,0.,20000.);
89  meBadDetHit_= ib.book1D("Hit02","Hits with wrong Det", 100,0.,100.);
90  meBadSubHit_= ib.book1D("Hit03","Hits with wrong Subdet",100,0.,100.);
91  meBadIdHit_ = ib.book1D("Hit04","Hits with wrong ID", 100,0.,100.);
92  meHBNHit_ = ib.book1D("Hit05","Number of Hits in HB",20000,0.,20000.);
93  meHENHit_ = ib.book1D("Hit06","Number of Hits in HE",10000,0.,10000.);
94  meHONHit_ = ib.book1D("Hit07","Number of Hits in HO",10000,0.,10000.);
95  meHFNHit_ = ib.book1D("Hit08","Number of Hits in HF",10000,0.,10000.);
96  meDetectHit_= ib.book1D("Hit09","Detector ID", 50,0.,50.);
97  meSubdetHit_= ib.book1D("Hit10","Subdetectors in HCal", 50,0.,50.);
98  meDepthHit_ = ib.book1D("Hit11","Depths in HCal", 20,0.,20.);
99  meEtaHit_ = ib.book1D("Hit12","Eta in HCal", 101,-50.5,50.5);
100  //KC: There are different phi segmentation schemes, this plot uses wider bins to represent the most sparse segmentation
101  mePhiHit_ = ib.book1D("Hit13","Phi in HCal (HB,HO)", iphi_bins,iphi_min,iphi_max);
102  mePhiHitb_ = ib.book1D("Hit13b","Phi in HCal (HE,HF)", iphi_bins,iphi_min,iphi_max);
103  meEnergyHit_= ib.book1D("Hit14","Energy in HCal", 2000,0.,20.);
104  meTimeHit_ = ib.book1D("Hit15","Time in HCal", 528,0.,528.);
105  meTimeWHit_ = ib.book1D("Hit16","Time in HCal (E wtd)", 528,0.,528.);
106  meHBDepHit_ = ib.book1D("Hit17","Depths in HB", 20,0.,20.);
107  meHEDepHit_ = ib.book1D("Hit18","Depths in HE", 20,0.,20.);
108  meHODepHit_ = ib.book1D("Hit19","Depths in HO", 20,0.,20.);
109  meHFDepHit_ = ib.book1D("Hit20","Depths in HF", 20,0.,20.);
110  meHFDepHitw_ = ib.book1D("Hit20b","Depths in HF (p.e. weighted)", 20,0.,20.);
111  meHBEtaHit_ = ib.book1D("Hit21","Eta in HB", 101,-50.5,50.5);
112  meHEEtaHit_ = ib.book1D("Hit22","Eta in HE", 101,-50.5,50.5);
113  meHOEtaHit_ = ib.book1D("Hit23","Eta in HO", 101,-50.5,50.5);
114  meHFEtaHit_ = ib.book1D("Hit24","Eta in HF", 101,-50.5,50.5);
115  meHBPhiHit_ = ib.book1D("Hit25","Phi in HB", iphi_bins,iphi_min,iphi_max);
116  meHEPhiHit_ = ib.book1D("Hit26","Phi in HE", iphi_bins,iphi_min,iphi_max);
117  meHOPhiHit_ = ib.book1D("Hit27","Phi in HO", iphi_bins,iphi_min,iphi_max);
118  meHFPhiHit_ = ib.book1D("Hit28","Phi in HF", iphi_bins,iphi_min,iphi_max);
119  meHBEneHit_ = ib.book1D("Hit29","Energy in HB", 2000,0.,20.);
120  meHEEneHit_ = ib.book1D("Hit30","Energy in HE", 500,0.,5.);
121  meHOEneHit_ = ib.book1D("Hit31","Energy in HO", 500,0.,5.);
122  meHFEneHit_ = ib.book1D("Hit32","Energy in HF", 1001,-0.5,1000.5);
123 
124  //HxEneMap, HxEneSum, HxEneSum_vs_ieta plot the sum of the simhits energy within a single ieta-iphi tower.
125 
130 
131  meHBEneSum_ = ib.book1D("HBEneSum","HBEneSum", 2000, 0., 20.);
132  meHEEneSum_ = ib.book1D("HEEneSum","HEEneSum", 500, 0., 5.);
133  meHOEneSum_ = ib.book1D("HOEneSum","HOEneSum", 500, 0., 5.);
134  meHFEneSum_ = ib.book1D("HFEneSum","HFEneSum", 1001, -0.5, 1000.5);
135 
136  meHBEneSum_vs_ieta_ = ib.bookProfile("HBEneSum_vs_ieta","HBEneSum_vs_ieta", ieta_bins_HB, ieta_min_HB, ieta_max_HB, 2011, -10.5, 2000.5, " ");
137  meHEEneSum_vs_ieta_ = ib.bookProfile("HEEneSum_vs_ieta","HEEneSum_vs_ieta", ieta_bins_HE, ieta_min_HE, ieta_max_HE, 2011, -10.5, 2000.5, " ");
138  meHOEneSum_vs_ieta_ = ib.bookProfile("HOEneSum_vs_ieta","HOEneSum_vs_ieta", ieta_bins_HO, ieta_min_HO, ieta_max_HO, 2011, -10.5, 2000.5, " ");
139  meHFEneSum_vs_ieta_ = ib.bookProfile("HFEneSum_vs_ieta","HFEneSum_vs_ieta", ieta_bins_HF, ieta_min_HF, ieta_max_HF, 2011, -10.5, 2000.5, " ");
140 
141  meHBTimHit_ = ib.book1D("Hit33","Time in HB", 528,0.,528.);
142  meHETimHit_ = ib.book1D("Hit34","Time in HE", 528,0.,528.);
143  meHOTimHit_ = ib.book1D("Hit35","Time in HO", 528,0.,528.);
144  meHFTimHit_ = ib.book1D("Hit36","Time in HF", 528,0.,528.);
145  //These are the zoomed in energy ranges
146  meHBEneHit2_ = ib.book1D("Hit37","Energy in HB 2", 100,0.,0.0001);
147  meHEEneHit2_ = ib.book1D("Hit38","Energy in HE 2", 100,0.,0.0001);
148  meHOEneHit2_ = ib.book1D("Hit39","Energy in HO 2", 100,0.,0.0001);
149  meHFEneHit2_ = ib.book1D("Hit40","Energy in HF 2", 100,0.5,100.5);
150  meHBL10Ene_ = ib.book1D("Hit41","Log10Energy in HB", 140, -10., 4. );
151  meHEL10Ene_ = ib.book1D("Hit42","Log10Energy in HE", 140, -10., 4. );
152  meHFL10Ene_ = ib.book1D("Hit43","Log10Energy in HF", 50, -1., 4. );
153  meHOL10Ene_ = ib.book1D("Hit44","Log10Energy in HO", 140, -10., 4. );
154  meHBL10EneP_ = ib.bookProfile("Hit45","Log10Energy in HB vs Hit contribution", 140, -10., 4., 100, 0., 1. );
155  meHEL10EneP_ = ib.bookProfile("Hit46","Log10Energy in HE vs Hit contribution", 140, -10., 4., 100, 0., 1. );
156  meHFL10EneP_ = ib.bookProfile("Hit47","Log10Energy in HF vs Hit contribution", 140, -10., 4., 100, 0., 1. );
157  meHOL10EneP_ = ib.bookProfile("Hit48","Log10Energy in HO vs Hit contribution", 140, -10., 4., 100, 0., 1. );
158  }
159 
160 }
MonitorElement * mePhiHit_
int getNPhi(const int type) const
MonitorElement * meHBEneMap_
MonitorElement * meHEDepHit_
MonitorElement * meHOL10Ene_
MonitorElement * meHOEneSum_vs_ieta_
MonitorElement * meHOEneSum_
MonitorElement * meHOPhiHit_
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * meDetectHit_
MonitorElement * meHFNHit_
MonitorElement * meHFEtaHit_
MonitorElement * meHFL10EneP_
MonitorElement * meHBEneSum_vs_ieta_
MonitorElement * meHFEneHit2_
MonitorElement * meHOL10EneP_
MonitorElement * meHFDepHitw_
MonitorElement * meHBNHit_
MonitorElement * meHFTimHit_
MonitorElement * meHEEneSum_vs_ieta_
MonitorElement * meHBEneHit2_
MonitorElement * meHONHit_
MonitorElement * meAllNHit_
int getMaxDepth(const int type) const
const HcalDDDRecConstants * hcons
MonitorElement * meHBL10Ene_
MonitorElement * meHEEneSum_
MonitorElement * meBadDetHit_
MonitorElement * meHFL10Ene_
MonitorElement * mePhiHitb_
MonitorElement * meHETimHit_
MonitorElement * meTimeHit_
MonitorElement * meHFDepHit_
MonitorElement * meHBEneSum_
MonitorElement * meHOEneMap_
MonitorElement * meHBTimHit_
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * meHFEneSum_vs_ieta_
MonitorElement * meTimeWHit_
MonitorElement * meHBDepHit_
MonitorElement * meHFEneSum_
MonitorElement * meHFEneMap_
MonitorElement * meBadSubHit_
MonitorElement * meHENHit_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * meBadIdHit_
MonitorElement * meHEL10EneP_
MonitorElement * meEnergyHit_
MonitorElement * meHOEtaHit_
MonitorElement * meHEEneMap_
MonitorElement * meEtaHit_
std::pair< int, int > getEtaRange(const int i) const
MonitorElement * meHBEneHit_
MonitorElement * meHOTimHit_
MonitorElement * meHBL10EneP_
MonitorElement * meHEEneHit2_
MonitorElement * meHFPhiHit_
MonitorElement * meDepthHit_
MonitorElement * meHBEtaHit_
MonitorElement * meHODepHit_
MonitorElement * meHEL10Ene_
MonitorElement * meHEEneHit_
MonitorElement * meHEPhiHit_
MonitorElement * meSubdetHit_
MonitorElement * meHBPhiHit_
MonitorElement * meHFEneHit_
MonitorElement * meHEEtaHit_
MonitorElement * meHOEneHit_
MonitorElement * meHOEneHit2_

Member Data Documentation

bool HcalSimHitStudy::checkHit_
private

Definition at line 64 of file HcalSimHitStudy.h.

Referenced by analyze(), bookHistograms(), and HcalSimHitStudy().

std::string HcalSimHitStudy::g4Label
private

Definition at line 63 of file HcalSimHitStudy.h.

Referenced by HcalSimHitStudy().

std::string HcalSimHitStudy::hcalHits
private

Definition at line 63 of file HcalSimHitStudy.h.

Referenced by HcalSimHitStudy().

const HcalDDDRecConstants* HcalSimHitStudy::hcons
private

Definition at line 48 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

int HcalSimHitStudy::ieta_bins_HB
private

Definition at line 54 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

int HcalSimHitStudy::ieta_bins_HE
private

Definition at line 56 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

int HcalSimHitStudy::ieta_bins_HF
private

Definition at line 60 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

int HcalSimHitStudy::ieta_bins_HO
private

Definition at line 58 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

float HcalSimHitStudy::ieta_max_HB
private

Definition at line 55 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

float HcalSimHitStudy::ieta_max_HE
private

Definition at line 57 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

float HcalSimHitStudy::ieta_max_HF
private

Definition at line 61 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

float HcalSimHitStudy::ieta_max_HO
private

Definition at line 59 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

float HcalSimHitStudy::ieta_min_HB
private

Definition at line 55 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

float HcalSimHitStudy::ieta_min_HE
private

Definition at line 57 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

float HcalSimHitStudy::ieta_min_HF
private

Definition at line 61 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

float HcalSimHitStudy::ieta_min_HO
private

Definition at line 59 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

int HcalSimHitStudy::iphi_bins
private

Definition at line 52 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

float HcalSimHitStudy::iphi_max
private

Definition at line 53 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

float HcalSimHitStudy::iphi_min
private

Definition at line 53 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

int HcalSimHitStudy::maxDepthHB_
private

Definition at line 49 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

int HcalSimHitStudy::maxDepthHE_
private

Definition at line 49 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

int HcalSimHitStudy::maxDepthHF_
private

Definition at line 50 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

int HcalSimHitStudy::maxDepthHO_
private

Definition at line 50 of file HcalSimHitStudy.h.

Referenced by bookHistograms().

MonitorElement* HcalSimHitStudy::meAllNHit_
private

Definition at line 68 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meBadDetHit_
private

Definition at line 68 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meBadIdHit_
private

Definition at line 68 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meBadSubHit_
private

Definition at line 68 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meDepthHit_
private

Definition at line 70 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meDetectHit_
private

Definition at line 70 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meEnergyHit_
private

Definition at line 71 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meEtaHit_
private

Definition at line 70 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBDepHit_
private

Definition at line 72 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBEneHit2_
private

Definition at line 80 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBEneHit_
private

Definition at line 75 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBEneMap_
private

Definition at line 76 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBEneSum_
private

Definition at line 77 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBEneSum_vs_ieta_
private

Definition at line 78 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBEtaHit_
private

Definition at line 73 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBL10Ene_
private

Definition at line 81 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBL10EneP_
private

Definition at line 82 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBNHit_
private

Definition at line 69 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBPhiHit_
private

Definition at line 74 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::meHBTimHit_
private

Definition at line 79 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEDepHit_
private

Definition at line 72 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEEneHit2_
private

Definition at line 80 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEEneHit_
private

Definition at line 75 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEEneMap_
private

Definition at line 76 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEEneSum_
private

Definition at line 77 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEEneSum_vs_ieta_
private

Definition at line 78 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEEtaHit_
private

Definition at line 73 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEL10Ene_
private

Definition at line 81 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEL10EneP_
private

Definition at line 82 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHENHit_
private

Definition at line 69 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHEPhiHit_
private

Definition at line 74 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHETimHit_
private

Definition at line 79 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFDepHit_
private

Definition at line 72 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFDepHitw_
private

Definition at line 72 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFEneHit2_
private

Definition at line 80 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFEneHit_
private

Definition at line 75 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFEneMap_
private

Definition at line 76 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFEneSum_
private

Definition at line 77 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFEneSum_vs_ieta_
private

Definition at line 78 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFEtaHit_
private

Definition at line 73 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFL10Ene_
private

Definition at line 81 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFL10EneP_
private

Definition at line 82 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFNHit_
private

Definition at line 69 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFPhiHit_
private

Definition at line 74 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHFTimHit_
private

Definition at line 79 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHODepHit_
private

Definition at line 72 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOEneHit2_
private

Definition at line 80 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOEneHit_
private

Definition at line 75 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOEneMap_
private

Definition at line 76 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOEneSum_
private

Definition at line 77 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOEneSum_vs_ieta_
private

Definition at line 78 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOEtaHit_
private

Definition at line 73 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOL10Ene_
private

Definition at line 81 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOL10EneP_
private

Definition at line 82 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHONHit_
private

Definition at line 69 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOPhiHit_
private

Definition at line 74 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meHOTimHit_
private

Definition at line 79 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* HcalSimHitStudy::mePhiHit_
private

Definition at line 71 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::mePhiHitb_
private

Definition at line 71 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meSubdetHit_
private

Definition at line 70 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meTimeHit_
private

Definition at line 71 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * HcalSimHitStudy::meTimeWHit_
private

Definition at line 71 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

std::string HcalSimHitStudy::outFile_
private

Definition at line 63 of file HcalSimHitStudy.h.

Referenced by HcalSimHitStudy().

bool HcalSimHitStudy::testNumber_
private

Definition at line 64 of file HcalSimHitStudy.h.

Referenced by analyzeHits(), and HcalSimHitStudy().

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

Definition at line 66 of file HcalSimHitStudy.h.

Referenced by analyze(), and HcalSimHitStudy().

bool HcalSimHitStudy::verbose_
private

Definition at line 64 of file HcalSimHitStudy.h.

Referenced by HcalSimHitStudy().