CMS 3D CMS Logo

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

Public Member Functions

 HcalHBHEMuonSimAnalyzer (const edm::ParameterSet &)
 
 ~HcalHBHEMuonSimAnalyzer ()
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::one::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
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 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 & itemsToGetFrom (BranchType iType) 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)
 

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)
 

Private Member Functions

double activeLength (const DetId &)
 
virtual void analyze (edm::Event const &, edm::EventSetup const &) override
 
virtual void beginJob () override
 
virtual void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void clearVectors ()
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void endRun (edm::Run const &, edm::EventSetup const &) override
 
unsigned int matchId (const HcalDetId &, const HcalDetId &)
 

Private Attributes

std::vector< HcalDDDRecConstants::HcalActiveLengthactHB_
 
std::vector< HcalDDDRecConstants::HcalActiveLengthactHE_
 
unsigned int bxNumber_
 
std::string ebLabel_
 
std::vector< double > ecal3x3Energy_
 
std::vector< unsigned int > ecalDetId_
 
std::string eeLabel_
 
std::vector< double > etaGlob_
 
double etaMax_
 
unsigned int eventNumber_
 
edm::Service< TFileServicefs_
 
std::string g4Label_
 
std::vector< double > hcal1x1Energy_
 
std::vector< double > hcalActiveLength_
 
std::vector< double > hcalActiveLengthHot_
 
std::vector< double > hcalDepthActiveLength_ [depthMax_]
 
std::vector< double > hcalDepthActiveLengthHot_ [depthMax_]
 
std::vector< double > hcalDepthEnergy_ [depthMax_]
 
std::vector< double > hcalDepthEnergyHot_ [depthMax_]
 
std::vector< unsigned int > hcalDetId_
 
std::vector< unsigned int > hcalHot_
 
std::string hcLabel_
 
const int idMuon_ =13
 
unsigned int lumiNumber_
 
std::vector< double > matchedId_
 
int maxDepth_
 
std::vector< double > phiGlob_
 
std::vector< double > pMuon_
 
std::vector< double > ptGlob_
 
unsigned int runNumber_
 
double tMaxE_
 
double tMaxH_
 
double tMinE_
 
double tMinH_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_caloEB_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_caloEE_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_caloHH_
 
edm::EDGetTokenT< edm::SimTrackContainertok_SimTk_
 
edm::EDGetTokenT< edm::SimVertexContainertok_SimVtx_
 
TTree * tree_
 
int verbosity_
 

Static Private Attributes

static const int depthMax_ =7
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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)
 

Detailed Description

Definition at line 43 of file HcalHBHEMuonSimAnalyzer.cc.

Constructor & Destructor Documentation

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

Definition at line 90 of file HcalHBHEMuonSimAnalyzer.cc.

References gather_cfg::cout, depthMax_, ebLabel_, eeLabel_, etaMax_, g4Label_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcLabel_, TFileService::kSharedResource, maxDepth_, AlCaHLTBitMon_QueryRunRegistry::string, tMaxE_, tMaxH_, tMinE_, tMinH_, tok_caloEB_, tok_caloEE_, tok_caloHH_, tok_SimTk_, tok_SimVtx_, and verbosity_.

90  {
91 
92  usesResource(TFileService::kSharedResource);
93 
94  //now do what ever initialization is needed
95  g4Label_ = iConfig.getParameter<std::string>("ModuleLabel");
96  ebLabel_ = iConfig.getParameter<std::string>("EBCollection");
97  eeLabel_ = iConfig.getParameter<std::string>("EECollection");
98  hcLabel_ = iConfig.getParameter<std::string>("HCCollection");
99  verbosity_ = iConfig.getUntrackedParameter<int>("Verbosity",0);
100  maxDepth_ = iConfig.getUntrackedParameter<int>("MaxDepth",4);
101  etaMax_ = iConfig.getUntrackedParameter<double>("EtaMax", 3.0);
102  tMinE_ = iConfig.getUntrackedParameter<double>("TimeMinCutECAL", -500.);
103  tMaxE_ = iConfig.getUntrackedParameter<double>("TimeMaxCutECAL", 500.);
104  tMinH_ = iConfig.getUntrackedParameter<double>("TimeMinCutHCAL", -500.);
105  tMaxH_ = iConfig.getUntrackedParameter<double>("TimeMaxCutHCAL", 500.);
106 
107  tok_SimTk_ = consumes<edm::SimTrackContainer>(edm::InputTag(g4Label_));
108  tok_SimVtx_ = consumes<edm::SimVertexContainer>(edm::InputTag(g4Label_));
109  tok_caloEB_ = consumes<edm::PCaloHitContainer>(edm::InputTag(g4Label_,ebLabel_));
110  tok_caloEE_ = consumes<edm::PCaloHitContainer>(edm::InputTag(g4Label_,eeLabel_));
111  tok_caloHH_ = consumes<edm::PCaloHitContainer>(edm::InputTag(g4Label_,hcLabel_));
113  else if (maxDepth_ < 1) maxDepth_ = 4;
114 #ifdef EDM_ML_DEBUG
115  std::cout << "Labels: " << g4Label_ << ":" << ebLabel_ << ":" << eeLabel_
116  << ":" << hcLabel_ << "\nVerbosity " << verbosity_ << " MaxDepth "
117  << maxDepth_ << " Maximum Eta " << etaMax_ << " tMin|tMax "
118  << tMinE_ << ":" << tMaxE_ << ":" << tMinH_ << ":" << tMaxH_
119  << std::endl;
120 #endif
121 }
static const std::string kSharedResource
Definition: TFileService.h:76
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEE_
edm::EDGetTokenT< edm::SimVertexContainer > tok_SimVtx_
edm::EDGetTokenT< edm::SimTrackContainer > tok_SimTk_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloHH_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEB_
HcalHBHEMuonSimAnalyzer::~HcalHBHEMuonSimAnalyzer ( )

Definition at line 123 of file HcalHBHEMuonSimAnalyzer.cc.

123 { }

Member Function Documentation

double HcalHBHEMuonSimAnalyzer::activeLength ( const DetId id_)
private

Definition at line 455 of file HcalHBHEMuonSimAnalyzer.cc.

References actHB_, actHE_, DEFINE_FWK_MODULE, particleFlowClusterECALTimeSelected_cfi::depth, HcalBarrel, mps_fire::i, and hcalTTPDigis_cfi::id.

Referenced by analyze(), and endLuminosityBlock().

455  {
456  HcalDetId id(id_);
457  int ieta = id.ietaAbs();
458  int depth= id.depth();
459  double lx(0);
460  if (id.subdet() == HcalBarrel) {
461  for (unsigned int i=0; i<actHB_.size(); ++i) {
462  if (ieta == actHB_[i].ieta && depth == actHB_[i].depth) {
463  lx = actHB_[i].thick;
464  break;
465  }
466  }
467  } else {
468  for (unsigned int i=0; i<actHE_.size(); ++i) {
469  if (ieta == actHE_[i].ieta && depth == actHE_[i].depth) {
470  lx = actHE_[i].thick;
471  break;
472  }
473  }
474  }
475  return lx;
476 }
std::vector< HcalDDDRecConstants::HcalActiveLength > actHE_
std::vector< HcalDDDRecConstants::HcalActiveLength > actHB_
void HcalHBHEMuonSimAnalyzer::analyze ( edm::Event const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 125 of file HcalHBHEMuonSimAnalyzer.cc.

References funct::abs(), activeLength(), ecalTB2006H4_GenSimDigiReco_cfg::bField, edm::EventBase::bunchCrossing(), bxNumber_, spr::trackAtOrigin::charge, clearVectors(), gather_cfg::cout, debug, TauDecayModes::dec, depthMax_, spr::propagatedTrackDirection::detIdECAL, spr::propagatedTrackDirection::detIdHCAL, spr::propagatedTrackDirection::directionECAL, spr::propagatedTrackDirection::directionHCAL, ecal3x3Energy_, ecalDetId_, spr::eECALmatrix(), spr::eHCALmatrix(), spr::energyHCALCell(), PV3DBase< T, PVType, FrameType >::eta(), etaGlob_, etaMax_, edm::EventID::event(), eventNumber_, edm::EventSetup::get(), edm::Event::getByToken(), photonIsolationHIProducer_cfi::hbhe, hcal1x1Energy_, hcalActiveLengthHot_, HcalBarrel, hcalDepthActiveLength_, hcalDepthActiveLengthHot_, hcalDepthEnergy_, hcalDepthEnergyHot_, hcalDetId_, HcalEndcap, hcalHot_, mps_fire::i, PCaloHit::id(), edm::EventBase::id(), idMuon_, HcalDetId::ieta(), HcalDetId::iphi(), gen::k, edm::EventID::luminosityBlock(), lumiNumber_, PV3DBase< T, PVType, FrameType >::mag(), matchedId_, matchId(), maxDepth_, spr::trackAtOrigin::momentum, spr::trackAtOrigin::ok, spr::propagatedTrackDirection::okECAL, spr::propagatedTrackDirection::okHCAL, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), phiGlob_, pMuon_, spr::propagatedTrackDirection::pointECAL, spr::propagatedTrackDirection::pointHCAL, spr::trackAtOrigin::position, edm::ESHandle< T >::product(), spr::propagateCALO(), spr::propagateHCALBack(), ptGlob_, DetId::rawId(), HcalHitRelabeller::relabel(), edm::EventID::run(), runNumber_, edm::second(), PCaloHit::setID(), spr::simTrackAtOrigin(), HcalDetId::subdet(), tMaxE_, tMaxH_, tMinE_, tMinH_, tok_caloEB_, tok_caloEE_, tok_caloHH_, tok_SimTk_, tok_SimVtx_, tree_, and verbosity_.

126  {
127 
128  clearVectors();
129  bool debug(false);
130 #ifdef EDM_ML_DEBUG
131  debug = ((verbosity_/10)>0);
132 #endif
133  // depthHE is the first depth index for HE for |ieta| = 16
134  // It used to be 3 for all runs preceding 2017 and 4 beyond that
135  int depthHE = (maxDepth_ <= 6) ? 3 : 4;
136 
138  iSetup.get<HcalRecNumberingRecord>().get(pHRNDC);
139  const HcalDDDRecConstants* hcons = &(*pHRNDC);
140 
141  runNumber_ = iEvent.id().run();
142  eventNumber_ = iEvent.id().event();
143  lumiNumber_ = iEvent.id().luminosityBlock();
144  bxNumber_ = iEvent.bunchCrossing();
145 
146  //get Handles to SimTracks and SimHits
148  iEvent.getByToken(tok_SimTk_,SimTk);
149  edm::SimTrackContainer::const_iterator simTrkItr;
151  iEvent.getByToken(tok_SimVtx_,SimVtx);
152 
153  //get Handles to PCaloHitContainers of eb/ee/hbhe
155  iEvent.getByToken(tok_caloEB_, pcaloeb);
157  iEvent.getByToken(tok_caloEE_, pcaloee);
159  iEvent.getByToken(tok_caloHH_, pcalohh);
160  std::vector<PCaloHit> calohh;
161  bool testN(false);
162  for (unsigned int k=1; k<pcalohh->size(); ++k) {
163  // if it is a standard DetId bits 28..31 will carry the det #
164  // for HCAL det # is 4 and if there is at least one hit in the collection
165  // have det # which is not 4 this collection is created using TestNumbering
166  int det = ((((*pcalohh)[k].id())>>28)&0xF);
167  if (det != 4) {testN = true; break;}
168  }
169  if (testN) {
170  for (edm::PCaloHitContainer::const_iterator itr=pcalohh->begin(); itr != pcalohh->end(); ++itr) {
171  PCaloHit hit(*itr);
172  DetId newid = HcalHitRelabeller::relabel(hit.id(),hcons);
173 #ifdef EDM_ML_DEBUG
174  std::cout << "Old ID " << std::hex << hit.id() << std::dec << " New "
175  << HcalDetId(newid) << std::endl;
176 #endif
177  hit.setID(newid.rawId());
178  calohh.push_back(hit);
179  }
180  } else {
181  calohh.insert(calohh.end(),pcalohh->begin(),pcalohh->end());
182  }
183 
184  // get handles to calogeometry and calotopology
186  iSetup.get<CaloGeometryRecord>().get(pG);
187  const CaloGeometry* geo = pG.product();
188 
190  iSetup.get<IdealMagneticFieldRecord>().get(bFieldH);
191  const MagneticField* bField = bFieldH.product();
192 
193  edm::ESHandle<CaloTopology> theCaloTopology;
194  iSetup.get<CaloTopologyRecord>().get(theCaloTopology);
195  const CaloTopology *caloTopology = theCaloTopology.product();
196 
198  iSetup.get<HcalRecNumberingRecord>().get(htopo);
199  const HcalTopology* theHBHETopology = htopo.product();
200 
201  // Loop over all SimTracks
202  for (edm::SimTrackContainer::const_iterator simTrkItr=SimTk->begin();
203  simTrkItr!= SimTk->end(); simTrkItr++) {
204  if ((std::abs(simTrkItr->type()) == idMuon_) && (simTrkItr->vertIndex() == 0) &&
205  (std::abs(simTrkItr->momentum().eta()) < etaMax_)) {
206  unsigned int thisTrk = simTrkItr->trackId();
207  spr::propagatedTrackDirection trkD = spr::propagateCALO(thisTrk, SimTk, SimVtx, geo, bField, debug);
208 
209  double eEcal(0), eHcal(0), activeLengthTot(0), activeLengthHotTot(0);
210  double eHcalDepth[depthMax_], eHcalDepthHot[depthMax_];
211  double activeL[depthMax_], activeHotL[depthMax_];
212  unsigned int isHot(0);
213  bool tmpmatch(false);
214  for (int i=0; i<depthMax_; ++i)
215  eHcalDepth[i] = eHcalDepthHot[i] = activeL[i] = activeHotL[i] = -10000;
216 
217 #ifdef EDM_ML_DEBUG
218  if ((verbosity_%10) > 0)
219  std::cout << "Track Type " << simTrkItr->type() << " Vertex "
220  << simTrkItr->vertIndex() << " Charge " << simTrkItr->charge()
221  << " Momentum " << simTrkItr->momentum().P() << ":"
222  << simTrkItr->momentum().eta() << ":"
223  << simTrkItr->momentum().phi() << " ECAL|HCAL " << trkD.okECAL
224  << ":" << trkD.okHCAL << " Point " << trkD.pointECAL << ":"
225  << trkD.pointHCAL << " Direction " << trkD.directionECAL.eta()
226  << ":" << trkD.directionECAL.phi() << " | "
227  << trkD.directionHCAL.eta() << ":" << trkD.directionHCAL.phi()
228  << std::endl;
229 #endif
230  bool propageback(false);
231  spr::propagatedTrackDirection trkD_back = spr::propagateHCALBack(thisTrk, SimTk, SimVtx, geo, bField, debug);
232  HcalDetId closestCell_back;
233  if(trkD_back.okHCAL) {
234  closestCell_back = (HcalDetId) (trkD_back.detIdHCAL);
235  propageback = true;
236  }
237  if (trkD.okHCAL) {
238  // Muon properties
239  spr::trackAtOrigin tkvx = spr::simTrackAtOrigin(thisTrk, SimTk, SimVtx, debug);
240  ptGlob_.push_back(tkvx.momentum.perp());
241  etaGlob_.push_back(tkvx.momentum.eta());
242  phiGlob_.push_back(tkvx.momentum.phi());
243  pMuon_.push_back(tkvx.momentum.mag());
244 #ifdef EDM_ML_DEBUG
245  if ((verbosity_%10) > 0)
246  std::cout << "Track at vertex " << tkvx.ok << " position "
247  << tkvx.position << " Momentum " << tkvx.momentum.mag()
248  << ":" << tkvx.momentum.eta() << ":"
249  << tkvx.momentum.phi() << " Charge " << tkvx.charge
250  << std::endl;
251 #endif
252 
253 
254  // Energy in ECAL
255  DetId isoCell;
256  if (trkD.okECAL) {
257  isoCell = trkD.detIdECAL;
258  eEcal = spr::eECALmatrix(isoCell, pcaloeb, pcaloee, geo, caloTopology, 1, 1, -100.0, -100.0, tMinE_, tMaxE_, debug);
259  }
260 
261  // Energy in Hcal
262  const DetId closestCell(trkD.detIdHCAL);
263  if ((propageback) &&
264  (HcalDetId(closestCell).ieta()==HcalDetId(closestCell_back).ieta()) &&
265  (HcalDetId(closestCell).iphi() == HcalDetId(closestCell_back).iphi()))
266  tmpmatch= true;
267 
268  eHcal = spr::eHCALmatrix(theHBHETopology, closestCell, calohh,0,0, false, -100.0, -100.0, -100.0, -100.0, tMinH_, tMaxH_, debug);
269 #ifdef EDM_ML_DEBUG
270  if ((verbosity_%10) > 0)
271  std::cout << "eEcal " << trkD.okECAL << ":" << eEcal << " eHcal "
272  << eHcal << std::endl;
273 #endif
274 
275  HcalSubdetector subdet = HcalDetId(closestCell).subdet();
276  int ieta = HcalDetId(closestCell).ieta();
277  int iphi = HcalDetId(closestCell).iphi();
278  bool hbhe = (std::abs(ieta) == 16);
279  std::vector<std::pair<double,int> > ehdepth;
280  spr::energyHCALCell((HcalDetId)closestCell, calohh, ehdepth, maxDepth_, -100.0, -100.0, -100.0, -100.0, -500.0, 500.0, debug);
281  for (unsigned int i=0; i<ehdepth.size(); ++i) {
282  eHcalDepth[ehdepth[i].second-1] = ehdepth[i].first;
283  HcalSubdetector subdet0 = (hbhe) ? ((ehdepth[i].second >= depthHE) ? HcalEndcap : HcalBarrel) : subdet;
284  HcalDetId hcid0(subdet0,ieta,iphi,ehdepth[i].second);
285  double actL = activeLength(DetId(hcid0));
286  activeL[ehdepth[i].second-1] = actL;
287  activeLengthTot += actL;
288 #ifdef EDM_ML_DEBUG
289  if ((verbosity_%10) > 0)
290  std::cout << hcid0 << " E " << ehdepth[i].first << " L " << actL
291  << std::endl;
292 #endif
293  }
294 
295  HcalDetId hotCell;
296 #ifdef EDM_ML_DEBUG
297  double h3x3 =
298 #endif
299  spr::eHCALmatrix(geo,theHBHETopology, closestCell, calohh, 1,1, hotCell, debug);
300  isHot = matchId(closestCell,hotCell);
301 #ifdef EDM_ML_DEBUG
302  if ((verbosity_%10) > 0)
303  std::cout << "hcal 3X3 < " << h3x3 << ">" << " ClosestCell <"
304  << (HcalDetId)(closestCell) << "> hotCell id < " << hotCell
305  << "> isHot" << isHot << std::endl;
306 #endif
307 
308  if (hotCell != HcalDetId()) {
309  subdet = HcalDetId(hotCell).subdet();
310  ieta = HcalDetId(hotCell).ieta();
311  iphi = HcalDetId(hotCell).iphi();
312  hbhe = (std::abs(ieta) == 16);
313  std::vector<std::pair<double,int> > ehdepth;
314  spr::energyHCALCell(hotCell, calohh, ehdepth, maxDepth_, -100.0, -100.0, -100.0, -100.0, tMinH_, tMaxH_, debug);
315  for (unsigned int i=0; i<ehdepth.size(); ++i) {
316  eHcalDepthHot[ehdepth[i].second-1] = ehdepth[i].first;
317  HcalSubdetector subdet0 = (hbhe) ? ((ehdepth[i].second >= depthHE) ? HcalEndcap : HcalBarrel) : subdet;
318  HcalDetId hcid0(subdet0,ieta,iphi,ehdepth[i].second);
319  double actL = activeLength(DetId(hcid0));
320  activeHotL[ehdepth[i].second-1] = actL;
321  activeLengthHotTot += actL;
322 #ifdef EDM_ML_DEBUG
323  if ((verbosity_%10) > 0)
324  std::cout << hcid0 << " E " << ehdepth[i].first << " L "
325  << actL << std::endl;
326 #endif
327  }
328  }
329 #ifdef EDM_ML_DEBUG
330  if ((verbosity_%10) > 0) {
331  for (int k=0; k<depthMax_; ++k)
332  std::cout << "Depth " << k << " E " << eHcalDepth[k] << ":"
333  << eHcalDepthHot[k] << std::endl;
334  }
335 #endif
336  matchedId_.push_back(tmpmatch);
337  ecal3x3Energy_.push_back(eEcal);
338  ecalDetId_.push_back(isoCell.rawId());
339  hcal1x1Energy_.push_back(eHcal);
340  hcalDetId_.push_back(closestCell.rawId());
341  for (int k=0; k<depthMax_; ++k) {
342  hcalDepthEnergy_[k].push_back(eHcalDepth[k]);
343  hcalDepthActiveLength_[k].push_back(activeL[k]);
344  hcalDepthEnergyHot_[k].push_back(eHcalDepthHot[k]);
345  hcalDepthActiveLengthHot_[k].push_back(activeHotL[k]);
346  }
347  hcalHot_.push_back(isHot);
348  hcalActiveLengthHot_.push_back(activeLengthHotTot);
349  }
350  }
351  }
352  if (hcalHot_.size() > 0) tree_->Fill();
353 }
std::vector< double > hcalDepthActiveLengthHot_[depthMax_]
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEE_
std::vector< double > ecal3x3Energy_
std::vector< spr::propagatedTrackID > propagateCALO(edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, std::string &theTrackQuality, bool debug=false)
T perp() const
Definition: PV3DBase.h:72
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:49
std::vector< double > hcalDepthEnergyHot_[depthMax_]
std::vector< unsigned int > hcalDetId_
std::vector< double > hcal1x1Energy_
Geom::Phi< T > phi() const
Definition: PV3DBase.h:69
double eHCALmatrix(const HcalTopology *topology, const DetId &det, edm::Handle< T > &hits, int ieta, int iphi, bool includeHO=false, bool algoNew=true, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool useRaw=false, bool debug=false)
edm::EDGetTokenT< edm::SimVertexContainer > tok_SimVtx_
spr::trackAtOrigin simTrackAtOrigin(unsigned int thisTrk, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, bool debug=false)
std::vector< double > ptGlob_
std::vector< double > matchedId_
std::vector< double > hcalActiveLengthHot_
double activeLength(const DetId &)
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
U second(std::pair< T, U > const &p)
int iEvent
Definition: GenABIO.cc:230
T mag() const
Definition: PV3DBase.h:67
edm::EDGetTokenT< edm::SimTrackContainer > tok_SimTk_
spr::propagatedTrackDirection propagateHCALBack(unsigned int thisTrk, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const CaloGeometry *geo, const MagneticField *bField, bool debug=false)
int ieta() const
get the cell ieta
Definition: HcalDetId.h:56
std::vector< double > hcalDepthEnergy_[depthMax_]
HcalSubdetector
Definition: HcalAssistant.h:31
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
void energyHCALCell(HcalDetId detId, edm::Handle< T > &hits, std::vector< std::pair< double, int > > &energyCell, int maxDepth=1, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool useRaw=false, bool debug=false)
std::vector< double > phiGlob_
int k[5][pyjets_maxn]
unsigned int id
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloHH_
int iphi() const
get the cell iphi
Definition: HcalDetId.cc:103
Definition: DetId.h:18
#define debug
Definition: HDRShower.cc:19
edm::EDGetTokenT< edm::PCaloHitContainer > tok_caloEB_
std::vector< double > etaGlob_
std::vector< double > pMuon_
T eta() const
Definition: PV3DBase.h:76
unsigned int matchId(const HcalDetId &, const HcalDetId &)
DetId relabel(const uint32_t testId) const
T const * product() const
Definition: ESHandle.h:86
std::vector< unsigned int > hcalHot_
std::vector< unsigned int > ecalDetId_
std::vector< double > hcalDepthActiveLength_[depthMax_]
double eECALmatrix(const DetId &detId, edm::Handle< T > &hitsEB, edm::Handle< T > &hitsEE, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, double ebThr=-100, double eeThr=-100, double tMin=-500, double tMax=500, bool debug=false)
void HcalHBHEMuonSimAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 355 of file HcalHBHEMuonSimAnalyzer.cc.

References bxNumber_, ecal3x3Energy_, ecalDetId_, etaGlob_, eventNumber_, fs_, hcal1x1Energy_, hcalActiveLength_, hcalActiveLengthHot_, hcalDepthActiveLength_, hcalDepthEnergy_, hcalDepthEnergyHot_, hcalDetId_, hcalHot_, gen::k, lumiNumber_, TFileService::make(), matchedId_, maxDepth_, dataset::name, phiGlob_, pMuon_, ptGlob_, runNumber_, and tree_.

355  {
356 
357  tree_ = fs_->make<TTree>("TREE", "TREE");
358  tree_->Branch("Run_No", &runNumber_);
359  tree_->Branch("Event_No", &eventNumber_);
360  tree_->Branch("LumiNumber", &lumiNumber_);
361  tree_->Branch("BXNumber", &bxNumber_);
362  tree_->Branch("pt_of_muon", &ptGlob_);
363  tree_->Branch("eta_of_muon", &etaGlob_);
364  tree_->Branch("phi_of_muon", &phiGlob_);
365  tree_->Branch("p_of_muon", &pMuon_);
366  tree_->Branch("matchedId", &matchedId_);
367 
368  tree_->Branch("ecal_3x3", &ecal3x3Energy_);
369  tree_->Branch("ecal_detID", &ecalDetId_);
370  tree_->Branch("hcal_1x1", &hcal1x1Energy_);
371  tree_->Branch("hcal_detID", &hcalDetId_);
372  tree_->Branch("hcal_cellHot", &hcalHot_);
373  tree_->Branch("activeLength", &hcalActiveLength_);
374  tree_->Branch("activeLengthHot", &hcalActiveLengthHot_);
375  char name[100];
376  for (int k=0; k<maxDepth_; ++k) {
377  sprintf (name, "hcal_edepth%d", (k+1));
378  tree_->Branch(name, &hcalDepthEnergy_[k]);
379  sprintf (name, "hcal_activeL%d", (k+1));
380  tree_->Branch(name, &hcalDepthActiveLength_[k]);
381  sprintf (name, "hcal_edepthHot%d", (k+1));
382  tree_->Branch(name, &hcalDepthEnergyHot_[k]);
383  sprintf (name, "hcal_activeHotL%d", (k+1));
384  tree_->Branch(name, &hcalDepthActiveLength_[k]);
385  }
386 }
std::vector< double > ecal3x3Energy_
std::vector< double > hcalDepthEnergyHot_[depthMax_]
std::vector< unsigned int > hcalDetId_
std::vector< double > hcal1x1Energy_
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
std::vector< double > ptGlob_
edm::Service< TFileService > fs_
std::vector< double > matchedId_
std::vector< double > hcalActiveLengthHot_
std::vector< double > hcalActiveLength_
std::vector< double > hcalDepthEnergy_[depthMax_]
std::vector< double > phiGlob_
int k[5][pyjets_maxn]
std::vector< double > etaGlob_
std::vector< double > pMuon_
std::vector< unsigned int > hcalHot_
std::vector< unsigned int > ecalDetId_
std::vector< double > hcalDepthActiveLength_[depthMax_]
virtual void HcalHBHEMuonSimAnalyzer::beginLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
inlineprivatevirtual

Definition at line 56 of file HcalHBHEMuonSimAnalyzer.cc.

56 {}
void HcalHBHEMuonSimAnalyzer::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivatevirtual

Definition at line 388 of file HcalHBHEMuonSimAnalyzer.cc.

References actHB_, actHE_, edm::EventSetup::get(), and HcalDDDRecConstants::getThickActive().

389  {
390 
392  iSetup.get<HcalRecNumberingRecord>().get(pHRNDC);
393  const HcalDDDRecConstants & hdc = (*pHRNDC);
394  actHB_.clear();
395  actHE_.clear();
396  actHB_ = hdc.getThickActive(0);
397  actHE_ = hdc.getThickActive(1);
398 }
std::vector< HcalDDDRecConstants::HcalActiveLength > actHE_
std::vector< HcalDDDRecConstants::HcalActiveLength > actHB_
std::vector< HcalActiveLength > getThickActive(const int &type) const
void HcalHBHEMuonSimAnalyzer::clearVectors ( )
private

clearing vectots

Definition at line 418 of file HcalHBHEMuonSimAnalyzer.cc.

References bxNumber_, depthMax_, ecal3x3Energy_, ecalDetId_, etaGlob_, eventNumber_, hcal1x1Energy_, hcalActiveLength_, hcalActiveLengthHot_, hcalDepthActiveLength_, hcalDepthActiveLengthHot_, hcalDepthEnergy_, hcalDepthEnergyHot_, hcalDetId_, hcalHot_, gen::k, lumiNumber_, matchedId_, phiGlob_, pMuon_, ptGlob_, and runNumber_.

Referenced by analyze(), and endLuminosityBlock().

418  {
419 
421  runNumber_ = -99999;
422  eventNumber_ = -99999;
423  lumiNumber_ = -99999;
424  bxNumber_ = -99999;
425 
426  ptGlob_.clear();
427  etaGlob_.clear();
428  phiGlob_.clear();
429  pMuon_.clear();
430  matchedId_.clear();
431  ecal3x3Energy_.clear();
432  ecalDetId_.clear();
433  hcal1x1Energy_.clear();
434  hcalDetId_.clear();
435  hcalHot_.clear();
436  hcalActiveLength_.clear();
437  hcalActiveLengthHot_.clear();
438  for (int k=0; k<depthMax_; ++k) {
439  hcalDepthEnergy_[k].clear();
440  hcalDepthActiveLength_[k].clear();
441  hcalDepthEnergyHot_[k].clear();
442  hcalDepthActiveLengthHot_[k].clear();
443  }
444 }
std::vector< double > hcalDepthActiveLengthHot_[depthMax_]
std::vector< double > ecal3x3Energy_
std::vector< double > hcalDepthEnergyHot_[depthMax_]
std::vector< unsigned int > hcalDetId_
std::vector< double > hcal1x1Energy_
std::vector< double > ptGlob_
std::vector< double > matchedId_
std::vector< double > hcalActiveLengthHot_
std::vector< double > hcalActiveLength_
std::vector< double > hcalDepthEnergy_[depthMax_]
std::vector< double > phiGlob_
int k[5][pyjets_maxn]
std::vector< double > etaGlob_
std::vector< double > pMuon_
std::vector< unsigned int > hcalHot_
std::vector< unsigned int > ecalDetId_
std::vector< double > hcalDepthActiveLength_[depthMax_]
virtual void HcalHBHEMuonSimAnalyzer::endLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
inlineprivatevirtual

Definition at line 57 of file HcalHBHEMuonSimAnalyzer.cc.

References activeLength(), clearVectors(), and matchId().

57 {}
virtual void HcalHBHEMuonSimAnalyzer::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineoverrideprivatevirtual

Definition at line 55 of file HcalHBHEMuonSimAnalyzer.cc.

55 {}
void HcalHBHEMuonSimAnalyzer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 401 of file HcalHBHEMuonSimAnalyzer.cc.

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

401  {
402 
404  desc.add<std::string>("ModuleLabel","g4SimHits");
405  desc.add<std::string>("EBCollection","EcalHitsEB");
406  desc.add<std::string>("EECollection","EcalHitsEE");
407  desc.add<std::string>("HCCollection","HcalHits");
408  desc.addUntracked<int>("Verbosity",0);
409  desc.addUntracked<int>("MaxDepth",4);
410  desc.addUntracked<double>("EtaMax",3.0);
411  desc.addUntracked<double>("TimeMinCutECAL",-500.);
412  desc.addUntracked<double>("TimeMaxCutECAL",500.);
413  desc.addUntracked<double>("TimeMinCutHCAL",-500.);
414  desc.addUntracked<double>("TimeMaxCutHCAL",500.);
415  descriptions.add("hcalHBHEMuonSim",desc);
416 }
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
unsigned int HcalHBHEMuonSimAnalyzer::matchId ( const HcalDetId id1,
const HcalDetId id2 
)
private

Definition at line 446 of file HcalHBHEMuonSimAnalyzer.cc.

References HcalDetId::ieta(), HcalDetId::iphi(), match(), and HcalDetId::subdet().

Referenced by analyze(), and endLuminosityBlock().

447  {
448 
449  HcalDetId kd1(id1.subdet(),id1.ieta(),id1.iphi(),1);
450  HcalDetId kd2(id2.subdet(),id2.ieta(),id2.iphi(),1);
451  unsigned int match = ((kd1 == kd2) ? 1 : 0);
452  return match;
453 }
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:49
int ieta() const
get the cell ieta
Definition: HcalDetId.h:56
int iphi() const
get the cell iphi
Definition: HcalDetId.cc:103
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10

Member Data Documentation

std::vector<HcalDDDRecConstants::HcalActiveLength> HcalHBHEMuonSimAnalyzer::actHB_
private

Definition at line 66 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by activeLength(), and beginRun().

std::vector<HcalDDDRecConstants::HcalActiveLength> HcalHBHEMuonSimAnalyzer::actHE_
private

Definition at line 66 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by activeLength(), and beginRun().

unsigned int HcalHBHEMuonSimAnalyzer::bxNumber_
private

Definition at line 78 of file HcalHBHEMuonSimAnalyzer.cc.

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

const int HcalHBHEMuonSimAnalyzer::depthMax_ =7
staticprivate

Definition at line 75 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), clearVectors(), and HcalHBHEMuonSimAnalyzer().

std::string HcalHBHEMuonSimAnalyzer::ebLabel_
private

Definition at line 62 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by HcalHBHEMuonSimAnalyzer().

std::vector<double> HcalHBHEMuonSimAnalyzer::ecal3x3Energy_
private

Definition at line 80 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<unsigned int> HcalHBHEMuonSimAnalyzer::ecalDetId_
private

Definition at line 81 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::string HcalHBHEMuonSimAnalyzer::eeLabel_
private

Definition at line 62 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by HcalHBHEMuonSimAnalyzer().

std::vector<double> HcalHBHEMuonSimAnalyzer::etaGlob_
private

Definition at line 79 of file HcalHBHEMuonSimAnalyzer.cc.

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

double HcalHBHEMuonSimAnalyzer::etaMax_
private

Definition at line 65 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

unsigned int HcalHBHEMuonSimAnalyzer::eventNumber_
private

Definition at line 78 of file HcalHBHEMuonSimAnalyzer.cc.

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

edm::Service<TFileService> HcalHBHEMuonSimAnalyzer::fs_
private

Definition at line 69 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by beginJob().

std::string HcalHBHEMuonSimAnalyzer::g4Label_
private

Definition at line 62 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by HcalHBHEMuonSimAnalyzer().

std::vector<double> HcalHBHEMuonSimAnalyzer::hcal1x1Energy_
private

Definition at line 80 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonSimAnalyzer::hcalActiveLength_
private

Definition at line 87 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by beginJob(), and clearVectors().

std::vector<double> HcalHBHEMuonSimAnalyzer::hcalActiveLengthHot_
private

Definition at line 87 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonSimAnalyzer::hcalDepthActiveLength_[depthMax_]
private

Definition at line 84 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonSimAnalyzer::hcalDepthActiveLengthHot_[depthMax_]
private

Definition at line 86 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and clearVectors().

std::vector<double> HcalHBHEMuonSimAnalyzer::hcalDepthEnergy_[depthMax_]
private

Definition at line 83 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonSimAnalyzer::hcalDepthEnergyHot_[depthMax_]
private

Definition at line 85 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<unsigned int> HcalHBHEMuonSimAnalyzer::hcalDetId_
private

Definition at line 81 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<unsigned int> HcalHBHEMuonSimAnalyzer::hcalHot_
private

Definition at line 81 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::string HcalHBHEMuonSimAnalyzer::hcLabel_
private

Definition at line 63 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by HcalHBHEMuonSimAnalyzer().

const int HcalHBHEMuonSimAnalyzer::idMuon_ =13
private

Definition at line 76 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze().

unsigned int HcalHBHEMuonSimAnalyzer::lumiNumber_
private

Definition at line 78 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonSimAnalyzer::matchedId_
private

Definition at line 82 of file HcalHBHEMuonSimAnalyzer.cc.

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

int HcalHBHEMuonSimAnalyzer::maxDepth_
private

Definition at line 64 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonSimAnalyzer::phiGlob_
private

Definition at line 79 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonSimAnalyzer::pMuon_
private

Definition at line 79 of file HcalHBHEMuonSimAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonSimAnalyzer::ptGlob_
private

Definition at line 79 of file HcalHBHEMuonSimAnalyzer.cc.

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

unsigned int HcalHBHEMuonSimAnalyzer::runNumber_
private

Definition at line 78 of file HcalHBHEMuonSimAnalyzer.cc.

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

double HcalHBHEMuonSimAnalyzer::tMaxE_
private

Definition at line 68 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

double HcalHBHEMuonSimAnalyzer::tMaxH_
private

Definition at line 68 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

double HcalHBHEMuonSimAnalyzer::tMinE_
private

Definition at line 68 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

double HcalHBHEMuonSimAnalyzer::tMinH_
private

Definition at line 68 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

edm::EDGetTokenT<edm::PCaloHitContainer> HcalHBHEMuonSimAnalyzer::tok_caloEB_
private

Definition at line 72 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

edm::EDGetTokenT<edm::PCaloHitContainer> HcalHBHEMuonSimAnalyzer::tok_caloEE_
private

Definition at line 72 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

edm::EDGetTokenT<edm::PCaloHitContainer> HcalHBHEMuonSimAnalyzer::tok_caloHH_
private

Definition at line 73 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

edm::EDGetTokenT<edm::SimTrackContainer> HcalHBHEMuonSimAnalyzer::tok_SimTk_
private

Definition at line 70 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

edm::EDGetTokenT<edm::SimVertexContainer> HcalHBHEMuonSimAnalyzer::tok_SimVtx_
private

Definition at line 71 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().

TTree* HcalHBHEMuonSimAnalyzer::tree_
private

Definition at line 77 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and beginJob().

int HcalHBHEMuonSimAnalyzer::verbosity_
private

Definition at line 64 of file HcalHBHEMuonSimAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonSimAnalyzer().