CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
HcalHBHEMuonAnalyzer Class Reference
Inheritance diagram for HcalHBHEMuonAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 HcalHBHEMuonAnalyzer (const edm::ParameterSet &)
 
 ~HcalHBHEMuonAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

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

Private Member Functions

double activeLength (const DetId &)
 
virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
virtual void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void beginRun (edm::Run const &, edm::EventSetup const &)
 
void clearVectors ()
 
virtual void endJob ()
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void endRun (edm::Run const &, edm::EventSetup const &)
 
bool isGoodVertex (const reco::Vertex &vtx)
 
int matchId (const HcalDetId &, const HcalDetId &)
 

Private Attributes

std::vector
< HcalDDDRecConstantsTemp::HcalActiveLength
actHB
 
std::vector
< HcalDDDRecConstantsTemp::HcalActiveLength
actHE
 
std::vector< std::string > all_triggers
 
unsigned int BXNumber
 
std::vector< double > chiGlobal
 
std::vector< double > chiTracker
 
std::vector< double > DxyTracker
 
std::vector< double > DzTracker
 
std::vector< double > Energy
 
std::vector< double > EtaGlob
 
unsigned int EventNumber
 
edm::Service< TFileServicefs
 
std::vector< double > GlobalMuonHits
 
std::vector< bool > GlobalTrack
 
std::vector< double > GlobalTrckEta
 
std::vector< double > GlobalTrckPhi
 
std::vector< double > GlobalTrckPt
 
HLTConfigProvider hltConfig_
 
std::vector< int > hltresults
 
edm::InputTag HLTriggerResults_
 
std::vector< bool > innerTrack
 
std::vector< double > innerTracketa
 
std::vector< double > innerTrackphi
 
std::vector< double > innerTrackpt
 
std::vector< double > IsolationR03
 
std::vector< double > IsolationR04
 
std::string labelEBRecHit_
 
std::string labelEERecHit_
 
std::string labelHBHERecHit_
 
std::string labelMuon_
 
std::string labelVtx_
 
unsigned int LumiNumber
 
std::vector< double > MatchedStat
 
int maxDepth_
 
std::vector< bool > muon_global
 
std::vector< bool > muon_is_good
 
std::vector< bool > muon_tracker
 
std::vector< double > MuonEcal3x3Energy
 
std::vector< unsigned int > MuonEcalDetId
 
std::vector< double > MuonEcalEnergy
 
std::vector< unsigned int > MuonEHcalDetId
 
std::vector< double > MuonHcal1x1Energy
 
std::vector< double > MuonHcalActiveLength
 
std::vector< double > MuonHcalDepth1Energy
 
std::vector< double > MuonHcalDepth1HotEnergy
 
std::vector< double > MuonHcalDepth2Energy
 
std::vector< double > MuonHcalDepth2HotEnergy
 
std::vector< double > MuonHcalDepth3Energy
 
std::vector< double > MuonHcalDepth3HotEnergy
 
std::vector< double > MuonHcalDepth4Energy
 
std::vector< double > MuonHcalDepth4HotEnergy
 
std::vector< double > MuonHcalDepth5Energy
 
std::vector< double > MuonHcalDepth5HotEnergy
 
std::vector< double > MuonHcalDepth6Energy
 
std::vector< double > MuonHcalDepth6HotEnergy
 
std::vector< double > MuonHcalDepth7Energy
 
std::vector< double > MuonHcalDepth7HotEnergy
 
std::vector< unsigned int > MuonHcalDetId
 
std::vector< double > MuonHcalEnergy
 
std::vector< double > MuonHcalHot
 
std::vector< double > MuonHOEnergy
 
std::vector< double > NumPixelLayers
 
std::vector< bool > OuterTrack
 
std::vector< double > OuterTrackChi
 
std::vector< double > OuterTrackEta
 
std::vector< double > OuterTrackHits
 
std::vector< double > OuterTrackPhi
 
std::vector< double > OuterTrackPt
 
std::vector< double > OuterTrackRHits
 
std::vector< double > PhiGlob
 
std::vector< double > Pmuon
 
std::vector< double > PtGlob
 
unsigned int RunNumber
 
std::vector< double > Tight_LongPara
 
std::vector< double > Tight_PixelHits
 
std::vector< double > Tight_TransImpara
 
edm::EDGetTokenT
< EcalRecHitCollection
tok_EB_
 
edm::EDGetTokenT
< EcalRecHitCollection
tok_EE_
 
edm::EDGetTokenT
< HBHERecHitCollection
tok_HBHE_
 
edm::EDGetTokenT
< reco::MuonCollection
tok_Muon_
 
edm::EDGetTokenT
< edm::TriggerResults
tok_trigRes_
 
edm::EDGetTokenT
< reco::VertexCollection
tok_Vtx_
 
std::vector< double > TrackerLayer
 
TTree * TREE
 
int verbosity_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer 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 135 of file HcalHBHEMuonAnalyzer.cc.

Constructor & Destructor Documentation

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

Definition at line 202 of file HcalHBHEMuonAnalyzer.cc.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLTriggerResults_, HLT_25ns14e33_v1_cff::InputTag, labelEBRecHit_, labelEERecHit_, labelHBHERecHit_, labelMuon_, labelVtx_, maxDepth_, AlCaHLTBitMon_QueryRunRegistry::string, tok_EB_, tok_EE_, tok_HBHE_, tok_Muon_, tok_trigRes_, tok_Vtx_, and verbosity_.

202  {
203  //now do what ever initialization is needed
204  HLTriggerResults_ = iConfig.getParameter<edm::InputTag>("HLTriggerResults");
205  labelVtx_ = iConfig.getParameter<std::string>("LabelVertex");
206  labelEBRecHit_ = iConfig.getParameter<std::string>("LabelEBRecHit");
207  labelEERecHit_ = iConfig.getParameter<std::string>("LabelEERecHit");
208  labelHBHERecHit_ = iConfig.getParameter<std::string>("LabelHBHERecHit");
209  labelMuon_ = iConfig.getParameter<std::string>("LabelMuon");
210  verbosity_ = iConfig.getUntrackedParameter<int>("Verbosity",0);
211  maxDepth_ = iConfig.getUntrackedParameter<int>("MaxDepth",4);
212  if (maxDepth_ > 7) maxDepth_ = 7;
213  else if (maxDepth_ < 1) maxDepth_ = 4;
214  std::string modnam = iConfig.getUntrackedParameter<std::string>("ModuleName","");
215  std::string procnm = iConfig.getUntrackedParameter<std::string>("ProcessName","");
216 
217  tok_trigRes_ = consumes<edm::TriggerResults>(HLTriggerResults_);
218  if (modnam == "") {
219  tok_Vtx_ = consumes<reco::VertexCollection>(labelVtx_);
220  tok_EB_ = consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit",labelEBRecHit_));
221  tok_EE_ = consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit",labelEERecHit_));
222  tok_HBHE_ = consumes<HBHERecHitCollection>(labelHBHERecHit_);
223  tok_Muon_ = consumes<reco::MuonCollection>(labelMuon_);
224  edm::LogInfo("HcalHBHEMuon") << "Labels used " << HLTriggerResults_ << " "
225  << labelVtx_ << " " << labelEBRecHit_ << " "
226  << labelEERecHit_ << " " << labelHBHERecHit_
227  << " " << labelMuon_;
228  } else {
229  tok_Vtx_ = consumes<reco::VertexCollection>(edm::InputTag(modnam,labelVtx_,procnm));
230  tok_EB_ = consumes<EcalRecHitCollection>(edm::InputTag(modnam,labelEBRecHit_,procnm));
231  tok_EE_ = consumes<EcalRecHitCollection>(edm::InputTag(modnam,labelEERecHit_,procnm));
232  tok_HBHE_ = consumes<HBHERecHitCollection>(edm::InputTag(modnam,labelHBHERecHit_,procnm));
233  tok_Muon_ = consumes<reco::MuonCollection>(edm::InputTag(modnam,labelMuon_,procnm));
234  edm::LogInfo("HcalHBHEMuon") << "Labels used " << HLTriggerResults_
235  << "\n " << edm::InputTag(modnam,labelVtx_,procnm)
236  << "\n " << edm::InputTag(modnam,labelEBRecHit_,procnm)
237  << "\n " << edm::InputTag(modnam,labelEERecHit_,procnm)
238  << "\n " << edm::InputTag(modnam,labelHBHERecHit_,procnm)
239  << "\n " << edm::InputTag(modnam,labelMuon_,procnm);
240  }
241 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
edm::EDGetTokenT< edm::TriggerResults > tok_trigRes_
edm::EDGetTokenT< reco::VertexCollection > tok_Vtx_
edm::EDGetTokenT< reco::MuonCollection > tok_Muon_
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
edm::EDGetTokenT< HBHERecHitCollection > tok_HBHE_
HcalHBHEMuonAnalyzer::~HcalHBHEMuonAnalyzer ( )

Definition at line 243 of file HcalHBHEMuonAnalyzer.cc.

243  {
244  // do anything here that needs to be done at desctruction time
245  // (e.g. close files, deallocate resources etc.)
246 }

Member Function Documentation

double HcalHBHEMuonAnalyzer::activeLength ( const DetId id_)
private

Definition at line 748 of file HcalHBHEMuonAnalyzer.cc.

References actHB, actHE, HLT_25ns14e33_v1_cff::depth, HcalBarrel, and i.

Referenced by analyze().

748  {
749  HcalDetId id(id_);
750  int ieta = id.ietaAbs();
751  int depth= id.depth();
752  double lx(0);
753  if (id.subdet() == HcalBarrel) {
754  for (unsigned int i=0; i<actHB.size(); ++i) {
755  if (ieta == actHB[i].ieta && depth == actHB[i].depth) {
756  lx = actHB[i].thick;
757  break;
758  }
759  }
760  } else {
761  for (unsigned int i=0; i<actHE.size(); ++i) {
762  if (ieta == actHE[i].ieta && depth == actHE[i].depth) {
763  lx = actHE[i].thick;
764  break;
765  }
766  }
767  }
768  return lx;
769 }
int i
Definition: DBlmapReader.cc:9
std::vector< HcalDDDRecConstantsTemp::HcalActiveLength > actHE
std::vector< HcalDDDRecConstantsTemp::HcalActiveLength > actHB
void HcalHBHEMuonAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDAnalyzer.

Definition at line 253 of file HcalHBHEMuonAnalyzer.cc.

References accept(), activeLength(), all_triggers, ecalTB2006H4_GenSimDigiReco_cfg::bField, edm::EventBase::bunchCrossing(), BXNumber, chiGlobal, chiTracker, clearVectors(), spr::propagatedTrackID::detIdECAL, spr::propagatedTrackID::detIdEHCAL, spr::propagatedTrackID::detIdHCAL, DxyTracker, DzTracker, spr::eECALmatrix(), spr::eHCALmatrix(), Energy, spr::energyHCALCell(), EtaGlob, edm::EventID::event(), EventNumber, edm::EventSetup::get(), edm::Event::getByToken(), GlobalMuonHits, GlobalTrack, GlobalTrckEta, GlobalTrckPhi, GlobalTrckPt, hltresults, i, edm::EventBase::id(), cmsHarvester::index, innerTrack, innerTracketa, innerTrackphi, innerTrackpt, isGoodVertex(), IsolationR03, IsolationR04, edm::HandleBase::isValid(), edm::EventID::luminosityBlock(), LumiNumber, MatchedStat, matchId(), bookConverter::max, maxDepth_, muon_global, muon_is_good, muon_tracker, MuonEcal3x3Energy, MuonEcalDetId, MuonEcalEnergy, MuonEHcalDetId, MuonHcal1x1Energy, MuonHcalActiveLength, MuonHcalDepth1Energy, MuonHcalDepth1HotEnergy, MuonHcalDepth2Energy, MuonHcalDepth2HotEnergy, MuonHcalDepth3Energy, MuonHcalDepth3HotEnergy, MuonHcalDepth4Energy, MuonHcalDepth4HotEnergy, MuonHcalDepth5Energy, MuonHcalDepth5HotEnergy, MuonHcalDepth6Energy, MuonHcalDepth6HotEnergy, MuonHcalDepth7Energy, MuonHcalDepth7HotEnergy, MuonHcalDetId, MuonHcalEnergy, MuonHcalHot, MuonHOEnergy, NumPixelLayers, spr::propagatedTrackID::okECAL, spr::propagatedTrackID::okHCAL, OuterTrack, OuterTrackChi, OuterTrackEta, OuterTrackHits, OuterTrackPhi, OuterTrackPt, OuterTrackRHits, PhiGlob, Pmuon, edm::ESHandle< class >::product(), spr::propagateCALO(), EnergyCorrector::pt, PtGlob, DetId::rawId(), edm::EventID::run(), Tight_LongPara, Tight_PixelHits, Tight_TransImpara, tok_EB_, tok_EE_, tok_HBHE_, tok_Muon_, tok_trigRes_, tok_Vtx_, TREE, edm::TriggerNames::triggerIndex(), edm::Event::triggerNames(), and verbosity_.

253  {
254 
255  clearVectors();
256  RunNumber = iEvent.id().run();
257  EventNumber = iEvent.id().event();
258  LumiNumber = iEvent.id().luminosityBlock();
259  BXNumber = iEvent.bunchCrossing();
260 #ifdef DebugLog
261  edm::LogInfo("HcalHBHEMuon") << "Run " << RunNumber << " Event " << EventNumber
262  << " Lumi " << LumiNumber << " BX " << BXNumber;
263 #endif
265  iEvent.getByToken(tok_trigRes_, _Triggers);
266 #ifdef DebugLog
267  edm::LogInfo("HcalHBHEMuon") << "Size of all triggers " << all_triggers.size();
268 #endif
269  int Ntriggers = all_triggers.size();
270 #ifdef DebugLog
271  edm::LogInfo("HcalHBHEMuon") << "Size of HLT MENU: " << _Triggers->size();
272 #endif
273  if (_Triggers.isValid()) {
274  const edm::TriggerNames &triggerNames_ = iEvent.triggerNames(*_Triggers);
275  std::vector<int> index;
276  for (int i=0;i < Ntriggers;i++) {
277  index.push_back(triggerNames_.triggerIndex(all_triggers[i]));
278  int triggerSize = int( _Triggers->size());
279 #ifdef DebugLog
280  edm::LogInfo("HcalHBHEMuon") << "outside loop " << index[i]
281  << "\ntriggerSize " << triggerSize;
282 #endif
283  if (index[i] < triggerSize) {
284  hltresults.push_back(_Triggers->accept(index[i]));
285 #ifdef DebugLog
286  edm::LogInfo("HcalHBHEMuon") << "Trigger_info " << triggerSize
287  << " triggerSize " << index[i]
288  << " trigger_index " << hltresults.at(i)
289  << " hltresult";
290 #endif
291  } else {
292  edm::LogInfo("HcalHBHEMuon") << "Requested HLT path \"" << "\" does not exist";
293  }
294  }
295  }
296 
298  iSetup.get<CaloGeometryRecord>().get(pG);
299  const CaloGeometry* geo = pG.product();
300 
302  iSetup.get<IdealMagneticFieldRecord>().get(bFieldH);
303  const MagneticField* bField = bFieldH.product();
304 
306  iSetup.get<EcalChannelStatusRcd>().get(ecalChStatus);
307  const EcalChannelStatus* theEcalChStatus = ecalChStatus.product();
308 
310  iSetup.get<EcalSeverityLevelAlgoRcd>().get(sevlv);
311 
312  edm::ESHandle<CaloTopology> theCaloTopology;
313  iSetup.get<CaloTopologyRecord>().get(theCaloTopology);
314  const CaloTopology *caloTopology = theCaloTopology.product();
315 
317  iSetup.get<IdealGeometryRecord>().get(htopo);
318  const HcalTopology* theHBHETopology = htopo.product();
319 
320  // Relevant blocks from iEvent
322  iEvent.getByToken(tok_Vtx_, vtx);
323 
324  edm::Handle<EcalRecHitCollection> barrelRecHitsHandle;
325  iEvent.getByToken(tok_EB_, barrelRecHitsHandle);
326  edm::Handle<EcalRecHitCollection> endcapRecHitsHandle;
327  iEvent.getByToken(tok_EE_, endcapRecHitsHandle);
328 
330  iEvent.getByToken(tok_HBHE_, hbhe);
331 
333  iEvent.getByToken(tok_Muon_, _Muon);
334 
335  // get handles to calogeometry and calotopology
336  if (!(vtx.isValid())) return;
337  reco::VertexCollection::const_iterator firstGoodVertex = vtx->end();
338  for (reco::VertexCollection::const_iterator it = vtx->begin(); it != firstGoodVertex; it++) {
339  if (isGoodVertex(*it)) {
340  firstGoodVertex = it;
341  break;
342  }
343  }
344  // require a good vertex
345  if (firstGoodVertex == vtx->end()) return;
346 
347  bool accept(false);
348  if (_Muon.isValid() && barrelRecHitsHandle.isValid() &&
349  endcapRecHitsHandle.isValid() && hbhe.isValid()) {
350  for (reco::MuonCollection::const_iterator RecMuon = _Muon->begin(); RecMuon!= _Muon->end(); ++RecMuon) {
351 
352  if (RecMuon->p() > 10.0) accept = true;
353 
354  muon_is_good.push_back(RecMuon->isPFMuon());
355  muon_global.push_back(RecMuon->isGlobalMuon());
356  muon_tracker.push_back(RecMuon->isTrackerMuon());
357  PtGlob.push_back((RecMuon)->pt());
358  EtaGlob.push_back(RecMuon->eta());
359  PhiGlob.push_back(RecMuon->phi());
360  Energy.push_back(RecMuon->energy());
361  Pmuon.push_back(RecMuon->p());
362 #ifdef DebugLog
363  edm::LogInfo("HcalHBHEMuon") << "Energy:" << RecMuon->energy() << " P:"
364  << RecMuon->p();
365 #endif
366  // acessing tracker hits info
367  if (RecMuon->track().isNonnull()) {
368  TrackerLayer.push_back(RecMuon->track()->hitPattern().trackerLayersWithMeasurement());
369  } else {
370  TrackerLayer.push_back(-1);
371  }
372  if (RecMuon->innerTrack().isNonnull()) {
373  innerTrack.push_back(true);
374  NumPixelLayers.push_back(RecMuon->innerTrack()->hitPattern().pixelLayersWithMeasurement());
375  chiTracker.push_back(RecMuon->innerTrack()->normalizedChi2());
376  DxyTracker.push_back(fabs(RecMuon->innerTrack()->dxy((*firstGoodVertex).position())));
377  DzTracker.push_back(fabs(RecMuon->innerTrack()->dz((*firstGoodVertex).position())));
378  innerTrackpt.push_back(RecMuon->innerTrack()->pt());
379  innerTracketa.push_back(RecMuon->innerTrack()->eta());
380  innerTrackphi.push_back(RecMuon->innerTrack()->phi());
381  Tight_PixelHits.push_back(RecMuon->innerTrack()->hitPattern().numberOfValidPixelHits());
382  } else {
383  innerTrack.push_back(false);
384  NumPixelLayers.push_back(0);
385  chiTracker.push_back(0);
386  DxyTracker.push_back(0);
387  DzTracker.push_back(0);
388  innerTrackpt.push_back(0);
389  innerTracketa.push_back(0);
390  innerTrackphi.push_back(0);
391  Tight_PixelHits.push_back(0);
392  }
393  // outer track info
394  if (RecMuon->outerTrack().isNonnull()) {
395  OuterTrack.push_back(true);
396  OuterTrackPt.push_back(RecMuon->outerTrack()->pt());
397  OuterTrackEta.push_back(RecMuon->outerTrack()->eta());
398  OuterTrackPhi.push_back(RecMuon->outerTrack()->phi());
399  OuterTrackChi.push_back(RecMuon->outerTrack()->normalizedChi2());
400  OuterTrackHits.push_back(RecMuon->outerTrack()->numberOfValidHits());
401  OuterTrackRHits.push_back(RecMuon->outerTrack()->recHitsSize());
402  } else {
403  OuterTrack.push_back(false);
404  OuterTrackPt.push_back(0);
405  OuterTrackEta.push_back(0);
406  OuterTrackPhi.push_back(0);
407  OuterTrackChi.push_back(0);
408  OuterTrackHits.push_back(0);
409  OuterTrackRHits.push_back(0);
410  }
411  // Tight Muon cuts
412  if (RecMuon->globalTrack().isNonnull()) {
413  GlobalTrack.push_back(true);
414  chiGlobal.push_back(RecMuon->globalTrack()->normalizedChi2());
415  GlobalMuonHits.push_back(RecMuon->globalTrack()->hitPattern().numberOfValidMuonHits());
416  MatchedStat.push_back(RecMuon->numberOfMatchedStations());
417  GlobalTrckPt.push_back(RecMuon->globalTrack()->pt());
418  GlobalTrckEta.push_back(RecMuon->globalTrack()->eta());
419  GlobalTrckPhi.push_back(RecMuon->globalTrack()->phi());
420  Tight_TransImpara.push_back(fabs(RecMuon->muonBestTrack()->dxy((*firstGoodVertex).position())));
421  Tight_LongPara.push_back(fabs(RecMuon->muonBestTrack()->dz((*firstGoodVertex).position())));
422  } else {
423  GlobalTrack.push_back(false);
424  chiGlobal.push_back(0);
425  GlobalMuonHits.push_back(0);
426  MatchedStat.push_back(0);
427  GlobalTrckPt.push_back(0);
428  GlobalTrckEta.push_back(0);
429  GlobalTrckPhi.push_back(0);
430  Tight_TransImpara.push_back(0);
431  Tight_LongPara.push_back(0);
432  }
433 
434  IsolationR04.push_back(((RecMuon->pfIsolationR04().sumChargedHadronPt + std::max(0.,RecMuon->pfIsolationR04().sumNeutralHadronEt + RecMuon->pfIsolationR04().sumPhotonEt - (0.5 *RecMuon->pfIsolationR04().sumPUPt))) / RecMuon->pt()) );
435 
436  IsolationR03.push_back(((RecMuon->pfIsolationR03().sumChargedHadronPt + std::max(0.,RecMuon->pfIsolationR03().sumNeutralHadronEt + RecMuon->pfIsolationR03().sumPhotonEt - (0.5 * RecMuon->pfIsolationR03().sumPUPt))) / RecMuon->pt()));
437 
438  MuonEcalEnergy.push_back(RecMuon->calEnergy().emS9);
439  MuonHcalEnergy.push_back(RecMuon->calEnergy().hadS9);
440  MuonHOEnergy.push_back(RecMuon->calEnergy().hoS9);
441 
442  double eEcal(0),eHcal(0),activeL(0),eHcalDepth[7],eHcalDepthHot[7];
443  unsigned int isHot = 0;
444  for (int i=0; i<7; ++i) eHcalDepth[i]=eHcalDepthHot[i]=-10000;
445 
446  if (RecMuon->innerTrack().isNonnull()) {
447  const reco::Track* pTrack = (RecMuon->innerTrack()).get();
448  spr::propagatedTrackID trackID = spr::propagateCALO(pTrack, geo, bField, (((verbosity_/100)%10>0)));
449 
450  MuonEcalDetId.push_back((trackID.detIdECAL)());
451  MuonHcalDetId.push_back((trackID.detIdHCAL)());
452  MuonEHcalDetId.push_back((trackID.detIdEHCAL)());
453 
454  if (trackID.okECAL) {
455  const DetId isoCell(trackID.detIdECAL);
456  std::pair<double,bool> e3x3 = spr::eECALmatrix(isoCell,barrelRecHitsHandle,endcapRecHitsHandle,*theEcalChStatus,geo,caloTopology,sevlv.product(),1,1,-100.0,-100.0,-500.0,500.0,false);
457  eEcal = e3x3.first;
458  }
459 
460  if (trackID.okHCAL) {
461  const DetId closestCell(trackID.detIdHCAL);
462  eHcal = spr::eHCALmatrix(theHBHETopology, closestCell, hbhe,0,0, false, true, -100.0, -100.0, -100.0, -100.0, -500.,500.);
463  std::vector<std::pair<double,int> > ehdepth;
464  spr::energyHCALCell((HcalDetId) closestCell, hbhe, ehdepth, maxDepth_, -100.0, -100.0, -100.0, -100.0, -500.0, 500.0, (((verbosity_/1000)%10)>0));
465  for (unsigned int i=0; i<ehdepth.size(); ++i) {
466  eHcalDepth[ehdepth[i].second-1] = ehdepth[i].first;
467  }
468 
469  HcalDetId hcid0(closestCell.rawId());
470  activeL = activeLength(trackID.detIdHCAL);
471  HcalDetId hotCell;
472  spr::eHCALmatrix(geo,theHBHETopology, closestCell, hbhe, 1,1, hotCell, false, false);
473  isHot = matchId(closestCell,hotCell);
474  if (hotCell != HcalDetId()) {
475  std::vector<std::pair<double,int> > ehdepth;
476  spr::energyHCALCell(hotCell, hbhe, ehdepth, maxDepth_, -100.0, -100.0, -100.0, -100.0, -500.0, 500.0, false);//(((verbosity_/1000)%10)>0 ));
477  for (unsigned int i=0; i<ehdepth.size(); ++i) {
478  eHcalDepthHot[ehdepth[i].second-1] = ehdepth[i].first;
479  }
480  }
481  }
482 
483  } else {
484  MuonEcalDetId.push_back(0);
485  MuonHcalDetId.push_back(0);
486  MuonEHcalDetId.push_back(0);
487  }
488 
489  MuonEcal3x3Energy.push_back(eEcal);
490  MuonHcal1x1Energy.push_back(eHcal);
491  MuonHcalDepth1Energy.push_back(eHcalDepth[0]);
492  MuonHcalDepth2Energy.push_back(eHcalDepth[1]);
493  MuonHcalDepth3Energy.push_back(eHcalDepth[2]);
494  MuonHcalDepth4Energy.push_back(eHcalDepth[3]);
495  MuonHcalDepth5Energy.push_back(eHcalDepth[4]);
496  MuonHcalDepth6Energy.push_back(eHcalDepth[5]);
497  MuonHcalDepth7Energy.push_back(eHcalDepth[6]);
498  MuonHcalDepth1HotEnergy.push_back(eHcalDepthHot[0]);
499  MuonHcalDepth2HotEnergy.push_back(eHcalDepthHot[1]);
500  MuonHcalDepth3HotEnergy.push_back(eHcalDepthHot[2]);
501  MuonHcalDepth4HotEnergy.push_back(eHcalDepthHot[3]);
502  MuonHcalDepth5HotEnergy.push_back(eHcalDepthHot[4]);
503  MuonHcalDepth6HotEnergy.push_back(eHcalDepthHot[5]);
504  MuonHcalDepth7HotEnergy.push_back(eHcalDepthHot[6]);
505  MuonHcalHot.push_back(isHot);
506  MuonHcalActiveLength.push_back(activeL);
507  }
508  }
509  if (accept) TREE->Fill();
510 }
RunNumber_t run() const
Definition: EventID.h:39
std::vector< double > Tight_LongPara
EventNumber_t event() const
Definition: EventID.h:41
int i
Definition: DBlmapReader.cc:9
std::vector< double > MuonEcal3x3Energy
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
Definition: Event.cc:213
std::vector< double > GlobalTrckPhi
std::vector< spr::propagatedTrackID > propagateCALO(edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, std::string &theTrackQuality, bool debug=false)
std::vector< double > MuonHcalDepth7HotEnergy
std::vector< double > OuterTrackHits
std::vector< double > Pmuon
std::vector< double > OuterTrackPt
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
std::vector< double > GlobalTrckPt
std::vector< double > DxyTracker
std::vector< double > MuonHcalEnergy
std::vector< bool > GlobalTrack
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
std::vector< double > MuonHOEnergy
std::vector< double > MuonHcalHot
std::vector< bool > muon_global
std::vector< double > MuonHcalDepth1Energy
int bunchCrossing() const
Definition: EventBase.h:66
std::vector< double > GlobalMuonHits
std::vector< double > chiGlobal
std::vector< bool > innerTrack
std::vector< double > MuonHcalDepth3Energy
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:25
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
std::vector< double > PtGlob
edm::EDGetTokenT< edm::TriggerResults > tok_trigRes_
std::vector< double > MuonHcalDepth2HotEnergy
std::vector< double > OuterTrackRHits
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
std::vector< double > OuterTrackEta
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 debug=false)
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 debug=false)
edm::EDGetTokenT< reco::VertexCollection > tok_Vtx_
std::vector< unsigned int > MuonEHcalDetId
std::vector< double > MuonHcalDepth1HotEnergy
std::vector< double > PhiGlob
unsigned int triggerIndex(std::string const &name) const
Definition: TriggerNames.cc:32
std::vector< double > MuonHcalActiveLength
std::vector< double > MuonHcalDepth7Energy
std::vector< double > MuonHcalDepth2Energy
std::vector< double > IsolationR03
bool isValid() const
Definition: HandleBase.h:75
double activeLength(const DetId &)
edm::EDGetTokenT< reco::MuonCollection > tok_Muon_
std::vector< double > IsolationR04
std::vector< double > MuonHcalDepth3HotEnergy
std::vector< double > DzTracker
std::vector< double > Tight_TransImpara
Definition: DetId.h:18
std::vector< double > MuonHcalDepth4Energy
std::vector< int > hltresults
std::vector< bool > OuterTrack
const T & get() const
Definition: EventSetup.h:55
std::vector< double > GlobalTrckEta
T const * product() const
Definition: ESHandle.h:86
std::vector< double > MuonHcal1x1Energy
std::vector< std::string > all_triggers
std::vector< unsigned int > MuonHcalDetId
std::vector< double > innerTracketa
std::vector< double > MatchedStat
std::vector< double > MuonHcalDepth5Energy
int matchId(const HcalDetId &, const HcalDetId &)
edm::EventID id() const
Definition: EventBase.h:60
std::vector< double > MuonHcalDepth5HotEnergy
std::vector< double > innerTrackphi
std::vector< double > OuterTrackChi
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
std::vector< double > innerTrackpt
std::vector< double > MuonEcalEnergy
std::vector< double > Tight_PixelHits
std::vector< double > OuterTrackPhi
std::vector< double > MuonHcalDepth4HotEnergy
std::vector< double > chiTracker
std::vector< double > MuonHcalDepth6HotEnergy
edm::EDGetTokenT< HBHERecHitCollection > tok_HBHE_
std::vector< bool > muon_tracker
std::vector< double > MuonHcalDepth6Energy
std::vector< double > NumPixelLayers
std::vector< double > Energy
cond::RealTimeType< cond::runnumber >::type RunNumber
std::vector< bool > muon_is_good
std::vector< unsigned int > MuonEcalDetId
std::vector< double > EtaGlob
bool isGoodVertex(const reco::Vertex &vtx)
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 HcalHBHEMuonAnalyzer::beginJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 513 of file HcalHBHEMuonAnalyzer.cc.

References all_triggers, BXNumber, chiGlobal, chiTracker, DxyTracker, DzTracker, Energy, EtaGlob, EventNumber, fs, GlobalMuonHits, GlobalTrack, GlobalTrckEta, GlobalTrckPhi, GlobalTrckPt, hltresults, innerTrack, innerTracketa, innerTrackphi, innerTrackpt, IsolationR03, IsolationR04, LumiNumber, TFileService::make(), MatchedStat, maxDepth_, muon_global, muon_is_good, muon_tracker, MuonEcal3x3Energy, MuonEcalDetId, MuonEcalEnergy, MuonEHcalDetId, MuonHcal1x1Energy, MuonHcalActiveLength, MuonHcalDepth1Energy, MuonHcalDepth1HotEnergy, MuonHcalDepth2Energy, MuonHcalDepth2HotEnergy, MuonHcalDepth3Energy, MuonHcalDepth3HotEnergy, MuonHcalDepth4Energy, MuonHcalDepth4HotEnergy, MuonHcalDepth5Energy, MuonHcalDepth5HotEnergy, MuonHcalDepth6Energy, MuonHcalDepth6HotEnergy, MuonHcalDepth7Energy, MuonHcalDepth7HotEnergy, MuonHcalDetId, MuonHcalEnergy, MuonHcalHot, MuonHOEnergy, NumPixelLayers, OuterTrack, OuterTrackChi, OuterTrackEta, OuterTrackHits, OuterTrackPhi, OuterTrackPt, OuterTrackRHits, PhiGlob, Pmuon, PtGlob, Tight_LongPara, Tight_PixelHits, Tight_TransImpara, and TREE.

513  {
514 
515  TREE = fs->make<TTree>("TREE", "TREE");
516  TREE->Branch("Event_No",&EventNumber);
517  TREE->Branch("Run_No",&RunNumber);
518  TREE->Branch("LumiNumber",&LumiNumber);
519  TREE->Branch("BXNumber",&BXNumber);
520  TREE->Branch("pt_of_muon",&PtGlob);
521  TREE->Branch("eta_of_muon",&EtaGlob);
522  TREE->Branch("phi_of_muon",&PhiGlob);
523  TREE->Branch("energy_of_muon",&Energy);
524  TREE->Branch("p_of_muon",&Pmuon);
525  TREE->Branch("PF_Muon",&muon_is_good);
526  TREE->Branch("Global_Muon",&muon_global);
527  TREE->Branch("Tracker_muon",&muon_tracker);
528 
529  TREE->Branch("hcal_3into3",&MuonHcalEnergy);
530  TREE->Branch("hcal_1x1",&MuonHcal1x1Energy);
531  TREE->Branch("hcal_detID",&MuonHcalDetId);
532  TREE->Branch("hcal_edepth1",&MuonHcalDepth1Energy);
533  TREE->Branch("hcal_edepth2",&MuonHcalDepth2Energy);
534  TREE->Branch("hcal_edepth3",&MuonHcalDepth3Energy);
535  TREE->Branch("hcal_edepth4",&MuonHcalDepth4Energy);
536  TREE->Branch("hcal_edepthHot1",&MuonHcalDepth1HotEnergy);
537  TREE->Branch("hcal_edepthHot2",&MuonHcalDepth2HotEnergy);
538  TREE->Branch("hcal_edepthHot3",&MuonHcalDepth3HotEnergy);
539  TREE->Branch("hcal_edepthHot4",&MuonHcalDepth4HotEnergy);
540 
541  if (maxDepth_ > 4) {
542  TREE->Branch("hcal_edepth5",&MuonHcalDepth5Energy);
543  TREE->Branch("hcal_edepthHot5",&MuonHcalDepth5HotEnergy);
544  if (maxDepth_ > 5) {
545  TREE->Branch("hcal_edepth6",&MuonHcalDepth6Energy);
546  TREE->Branch("hcal_edepthHot6",&MuonHcalDepth6HotEnergy);
547  if (maxDepth_ > 6) {
548  TREE->Branch("hcal_edepth7",&MuonHcalDepth7Energy);
549  TREE->Branch("hcal_edepthHot7",&MuonHcalDepth7HotEnergy);
550  }
551  }
552  }
553 
554 
555  TREE->Branch("TrackerLayer",&TrackerLayer);
556  TREE->Branch("innerTrack",&innerTrack);
557  TREE->Branch("innerTrackpt",&innerTrackpt);
558  TREE->Branch("innerTracketa",&innerTracketa);
559  TREE->Branch("innerTrackphi",&innerTrackphi);
560  TREE->Branch("MatchedStat",&MatchedStat);
561  TREE->Branch("GlobalTrckPt",&GlobalTrckPt);
562  TREE->Branch("GlobalTrckEta",&GlobalTrckEta);
563  TREE->Branch("GlobalTrckPhi",&GlobalTrckPhi);
564  TREE->Branch("NumPixelLayers",&NumPixelLayers);
565  TREE->Branch("chiTracker",&chiTracker);
566  TREE->Branch("DxyTracker",&DxyTracker);
567  TREE->Branch("DzTracker",&DzTracker);
568  TREE->Branch("OuterTrack",&OuterTrack);
569  TREE->Branch("OuterTrackPt",&OuterTrackPt);
570  TREE->Branch("OuterTrackEta",&OuterTrackEta);
571  TREE->Branch("OuterTrackPhi",&OuterTrackPhi);
572  TREE->Branch("OuterTrackHits",&OuterTrackHits);
573  TREE->Branch("OuterTrackRHits",&OuterTrackRHits);
574  TREE->Branch("OuterTrackChi",&OuterTrackChi);
575  TREE->Branch("GlobalTrack",&GlobalTrack);
576  TREE->Branch("GlobTrack_Chi",&chiGlobal);
577  TREE->Branch("Global_Muon_Hits",&GlobalMuonHits);
578  TREE->Branch("MatchedStations",&MatchedStat);
579  TREE->Branch("Global_Track_Pt",&GlobalTrckPt);
580  TREE->Branch("Global_Track_Eta",&GlobalTrckEta);
581  TREE->Branch("Global_Track_Phi",&GlobalTrckPhi);
583  TREE->Branch("Tight_LongitudinalImpactparameter",&Tight_LongPara);
584  TREE->Branch("Tight_TransImpactparameter",&Tight_TransImpara);
585  TREE->Branch("InnerTrackPixelHits",&Tight_PixelHits);
586  TREE->Branch("IsolationR04",&IsolationR04);
587  TREE->Branch("IsolationR03",&IsolationR03);
588 
589  TREE->Branch("hcal_cellHot",&MuonHcalHot);
590  TREE->Branch("ecal_3into3",&MuonEcalEnergy);
591  TREE->Branch("ecal_3x3",&MuonEcal3x3Energy);
592  TREE->Branch("ecal_detID",&MuonEcalDetId);
593  TREE->Branch("ehcal_detID",&MuonEHcalDetId);
594  TREE->Branch("tracker_3into3",&MuonHOEnergy);
595  TREE->Branch("activeLength",&MuonHcalActiveLength);
596 
598  TREE->Branch("hltresults",&hltresults);
599  TREE->Branch("all_triggers",&all_triggers);
600 
601 }
std::vector< double > Tight_LongPara
std::vector< double > MuonEcal3x3Energy
std::vector< double > GlobalTrckPhi
std::vector< double > MuonHcalDepth7HotEnergy
std::vector< double > OuterTrackHits
std::vector< double > Pmuon
std::vector< double > OuterTrackPt
std::vector< double > GlobalTrckPt
std::vector< double > DxyTracker
std::vector< double > MuonHcalEnergy
std::vector< bool > GlobalTrack
std::vector< double > MuonHOEnergy
std::vector< double > MuonHcalHot
std::vector< bool > muon_global
std::vector< double > MuonHcalDepth1Energy
std::vector< double > GlobalMuonHits
std::vector< double > chiGlobal
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
std::vector< bool > innerTrack
std::vector< double > MuonHcalDepth3Energy
std::vector< double > PtGlob
std::vector< double > MuonHcalDepth2HotEnergy
std::vector< double > OuterTrackRHits
std::vector< double > OuterTrackEta
std::vector< unsigned int > MuonEHcalDetId
std::vector< double > MuonHcalDepth1HotEnergy
std::vector< double > PhiGlob
std::vector< double > MuonHcalActiveLength
std::vector< double > MuonHcalDepth7Energy
std::vector< double > MuonHcalDepth2Energy
std::vector< double > IsolationR03
std::vector< double > IsolationR04
std::vector< double > MuonHcalDepth3HotEnergy
std::vector< double > DzTracker
std::vector< double > Tight_TransImpara
std::vector< double > MuonHcalDepth4Energy
std::vector< int > hltresults
std::vector< bool > OuterTrack
std::vector< double > GlobalTrckEta
std::vector< double > MuonHcal1x1Energy
std::vector< std::string > all_triggers
std::vector< unsigned int > MuonHcalDetId
std::vector< double > innerTracketa
std::vector< double > MatchedStat
std::vector< double > MuonHcalDepth5Energy
std::vector< double > MuonHcalDepth5HotEnergy
std::vector< double > innerTrackphi
std::vector< double > OuterTrackChi
std::vector< double > innerTrackpt
std::vector< double > MuonEcalEnergy
std::vector< double > Tight_PixelHits
std::vector< double > OuterTrackPhi
std::vector< double > MuonHcalDepth4HotEnergy
std::vector< double > chiTracker
std::vector< double > MuonHcalDepth6HotEnergy
std::vector< bool > muon_tracker
std::vector< double > MuonHcalDepth6Energy
edm::Service< TFileService > fs
std::vector< double > NumPixelLayers
std::vector< double > Energy
cond::RealTimeType< cond::runnumber >::type RunNumber
std::vector< bool > muon_is_good
std::vector< unsigned int > MuonEcalDetId
std::vector< double > EtaGlob
void HcalHBHEMuonAnalyzer::beginLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 655 of file HcalHBHEMuonAnalyzer.cc.

655 { }
void HcalHBHEMuonAnalyzer::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 607 of file HcalHBHEMuonAnalyzer.cc.

References actHB, actHE, all_triggers, HcalDDDRecConstantsTemp::getThickActive(), hltConfig_, lumiCalc2::hltname, HLTConfigProvider::init(), HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, tree::t, and HLTConfigProvider::triggerName().

607  {
608 
609  /* edm::ESHandle<HcalDDDRecConstants> pHRNDC;
610  iSetup.get<HcalRecNumberingRecord>().get(pHRNDC);
611  const HcalDDDRecConstants & hdc = (*pHRNDC);
612  */
613 
615  actHB.clear();
616  actHE.clear();
617  actHB = hdc.getThickActive(0);
618  actHE = hdc.getThickActive(1);
619 
620  bool changed = true;
621  all_triggers.clear();
622  if (hltConfig_.init(iRun, iSetup,"HLT" , changed)) {
623  // if init returns TRUE, initialisation has succeeded!
624 #ifdef DebugLog
625  edm::LogInfo("TriggerBlock") << "HLT config with process name "
626  << "HLT" << " successfully extracted";
627 #endif
628 // std::string string_search[5]={"HLT_IsoMu_","HLT_L1SingleMu_","HLT_L2Mu","HLT_Mu","HLT_RelIso1p0Mu"};
629  std::string string_search[6]={"HLT_IsoMu17","HLT_IsoMu20","HLT_IsoMu24","HLT_IsoMu27","HLT_Mu45","HLT_Mu50"};
630 
631  unsigned int ntriggers = hltConfig_.size();
632  for (unsigned int t=0;t<ntriggers;++t) {
634  for (unsigned int ik=0; ik<6; ++ik) {
635  if (hltname.find(string_search[ik])!=std::string::npos ){
636  all_triggers.push_back(hltname);
637  break;
638  }
639  }
640  }//loop over ntriggers
641  edm::LogInfo("HcalHBHEMuon") << "All triggers size in begin run "
642  << all_triggers.size();
643  } else {
644  edm::LogError("HcalHBHEMuon") << "Error! HLT config extraction with process name "
645  << "HLT"<< " failed";
646  }
647 
648 }
unsigned int size() const
number of trigger paths in trigger table
tuple t
Definition: tree.py:139
const std::string & triggerName(unsigned int triggerIndex) const
std::vector< HcalDDDRecConstantsTemp::HcalActiveLength > actHE
std::vector< HcalActiveLength > getThickActive(const int type) const
std::vector< HcalDDDRecConstantsTemp::HcalActiveLength > actHB
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
std::vector< std::string > all_triggers
HLTConfigProvider hltConfig_
void HcalHBHEMuonAnalyzer::clearVectors ( )
private

clearing vectots

Definition at line 669 of file HcalHBHEMuonAnalyzer.cc.

References BXNumber, chiGlobal, chiTracker, DxyTracker, DzTracker, Energy, EtaGlob, EventNumber, GlobalMuonHits, GlobalTrack, GlobalTrckEta, GlobalTrckPhi, GlobalTrckPt, hltresults, innerTrack, innerTracketa, innerTrackphi, innerTrackpt, IsolationR03, IsolationR04, LumiNumber, MatchedStat, muon_global, muon_is_good, muon_tracker, MuonEcal3x3Energy, MuonEcalDetId, MuonEcalEnergy, MuonEHcalDetId, MuonHcal1x1Energy, MuonHcalActiveLength, MuonHcalDepth1Energy, MuonHcalDepth1HotEnergy, MuonHcalDepth2Energy, MuonHcalDepth2HotEnergy, MuonHcalDepth3Energy, MuonHcalDepth3HotEnergy, MuonHcalDepth4Energy, MuonHcalDepth4HotEnergy, MuonHcalDepth5Energy, MuonHcalDepth5HotEnergy, MuonHcalDepth6Energy, MuonHcalDepth6HotEnergy, MuonHcalDepth7Energy, MuonHcalDepth7HotEnergy, MuonHcalDetId, MuonHcalEnergy, MuonHcalHot, MuonHOEnergy, NumPixelLayers, OuterTrack, OuterTrackChi, OuterTrackEta, OuterTrackHits, OuterTrackPhi, OuterTrackPt, OuterTrackRHits, PhiGlob, Pmuon, PtGlob, Tight_LongPara, Tight_PixelHits, and Tight_TransImpara.

Referenced by analyze().

669  {
671  EventNumber = -99999;
672  RunNumber = -99999;
673  LumiNumber = -99999;
674  BXNumber = -99999;
675  muon_is_good.clear();
676  muon_global.clear();
677  muon_tracker.clear();
678  PtGlob.clear();
679  EtaGlob.clear();
680  PhiGlob.clear();
681  Energy.clear();
682  Pmuon.clear();
683  TrackerLayer.clear();
684  innerTrack.clear();
685  NumPixelLayers.clear();
686  chiTracker.clear();
687  DxyTracker.clear();
688  DzTracker.clear();
689  innerTrackpt.clear();
690  innerTracketa.clear();
691  innerTrackphi.clear();
692  Tight_PixelHits.clear();
693  OuterTrack.clear();
694  OuterTrackPt.clear();
695  OuterTrackEta.clear();
696  OuterTrackPhi.clear();
697  OuterTrackHits.clear();
698  OuterTrackRHits.clear();
699  OuterTrackChi.clear();
700  GlobalTrack.clear();
701  chiGlobal.clear();
702  GlobalMuonHits.clear();
703  MatchedStat.clear();
704  GlobalTrckPt.clear();
705  GlobalTrckEta.clear();
706  GlobalTrckPhi.clear();
707  Tight_TransImpara.clear();
708  Tight_LongPara.clear();
709 
710  IsolationR04.clear();
711  IsolationR03.clear();
712  MuonEcalEnergy.clear();
713  MuonHcalEnergy.clear();
714  MuonHOEnergy.clear();
715  MuonEcalDetId.clear();
716  MuonHcalDetId.clear();
717  MuonEHcalDetId.clear();
718  MuonEcal3x3Energy.clear();
719  MuonHcal1x1Energy.clear();
720  MuonHcalDepth1Energy.clear();
721  MuonHcalDepth2Energy.clear();
722  MuonHcalDepth3Energy.clear();
723  MuonHcalDepth4Energy.clear();
724  MuonHcalDepth5Energy.clear();
725  MuonHcalDepth6Energy.clear();
726  MuonHcalDepth7Energy.clear();
727 
728  MuonHcalDepth1HotEnergy.clear();
729  MuonHcalDepth2HotEnergy.clear();
730  MuonHcalDepth3HotEnergy.clear();
731  MuonHcalDepth4HotEnergy.clear();
732  MuonHcalDepth5HotEnergy.clear();
733  MuonHcalDepth6HotEnergy.clear();
734  MuonHcalDepth7HotEnergy.clear();
735  MuonHcalHot.clear();
736  MuonHcalActiveLength.clear();
737  hltresults.clear();
738 }
std::vector< double > Tight_LongPara
std::vector< double > MuonEcal3x3Energy
std::vector< double > GlobalTrckPhi
std::vector< double > MuonHcalDepth7HotEnergy
std::vector< double > OuterTrackHits
std::vector< double > Pmuon
std::vector< double > OuterTrackPt
std::vector< double > GlobalTrckPt
std::vector< double > DxyTracker
std::vector< double > MuonHcalEnergy
std::vector< bool > GlobalTrack
std::vector< double > MuonHOEnergy
std::vector< double > MuonHcalHot
std::vector< bool > muon_global
std::vector< double > MuonHcalDepth1Energy
std::vector< double > GlobalMuonHits
std::vector< double > chiGlobal
std::vector< bool > innerTrack
std::vector< double > MuonHcalDepth3Energy
std::vector< double > PtGlob
std::vector< double > MuonHcalDepth2HotEnergy
std::vector< double > OuterTrackRHits
std::vector< double > OuterTrackEta
std::vector< unsigned int > MuonEHcalDetId
std::vector< double > MuonHcalDepth1HotEnergy
std::vector< double > PhiGlob
std::vector< double > MuonHcalActiveLength
std::vector< double > MuonHcalDepth7Energy
std::vector< double > MuonHcalDepth2Energy
std::vector< double > IsolationR03
std::vector< double > IsolationR04
std::vector< double > MuonHcalDepth3HotEnergy
std::vector< double > DzTracker
std::vector< double > Tight_TransImpara
std::vector< double > MuonHcalDepth4Energy
std::vector< int > hltresults
std::vector< bool > OuterTrack
std::vector< double > GlobalTrckEta
std::vector< double > MuonHcal1x1Energy
std::vector< unsigned int > MuonHcalDetId
std::vector< double > innerTracketa
std::vector< double > MatchedStat
std::vector< double > MuonHcalDepth5Energy
std::vector< double > MuonHcalDepth5HotEnergy
std::vector< double > innerTrackphi
std::vector< double > OuterTrackChi
std::vector< double > innerTrackpt
std::vector< double > MuonEcalEnergy
std::vector< double > Tight_PixelHits
std::vector< double > OuterTrackPhi
std::vector< double > MuonHcalDepth4HotEnergy
std::vector< double > chiTracker
std::vector< double > MuonHcalDepth6HotEnergy
std::vector< bool > muon_tracker
std::vector< double > MuonHcalDepth6Energy
std::vector< double > NumPixelLayers
std::vector< double > Energy
cond::RealTimeType< cond::runnumber >::type RunNumber
std::vector< bool > muon_is_good
std::vector< unsigned int > MuonEcalDetId
std::vector< double > EtaGlob
void HcalHBHEMuonAnalyzer::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 604 of file HcalHBHEMuonAnalyzer.cc.

604 {}
void HcalHBHEMuonAnalyzer::endLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 658 of file HcalHBHEMuonAnalyzer.cc.

658 { }
void HcalHBHEMuonAnalyzer::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 652 of file HcalHBHEMuonAnalyzer.cc.

652 { }
void HcalHBHEMuonAnalyzer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 661 of file HcalHBHEMuonAnalyzer.cc.

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

661  {
662  //The following says we do not know what parameters are allowed so do no validation
663  // Please change this to state exactly what you do use, even if it is no parameters
665  desc.setUnknown();
666  descriptions.addDefault(desc);
667 }
void addDefault(ParameterSetDescription const &psetDescription)
bool HcalHBHEMuonAnalyzer::isGoodVertex ( const reco::Vertex vtx)
private

Definition at line 771 of file HcalHBHEMuonAnalyzer.cc.

References reco::Vertex::isFake(), reco::Vertex::ndof(), and reco::Vertex::position().

Referenced by analyze().

771  {
772  if (vtx.isFake()) return false;
773  if (vtx.ndof() < 4) return false;
774  if (vtx.position().Rho() > 2.) return false;
775  if (fabs(vtx.position().Z()) > 24.) return false;
776  return true;
777 }
const Point & position() const
position
Definition: Vertex.h:106
double ndof() const
Definition: Vertex.h:102
bool isFake() const
Definition: Vertex.h:64
int HcalHBHEMuonAnalyzer::matchId ( const HcalDetId id1,
const HcalDetId id2 
)
private

Definition at line 740 of file HcalHBHEMuonAnalyzer.cc.

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

Referenced by analyze().

740  {
741 
742  HcalDetId kd1(id1.subdet(),id1.ieta(),id1.iphi(),1);
743  HcalDetId kd2(id2.subdet(),id2.ieta(),id2.iphi(),1);
744  int match = ((kd1 == kd2) ? 1 : 0);
745  return match;
746 }
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:45
int ieta() const
get the cell ieta
Definition: HcalDetId.h:51
int iphi() const
get the cell iphi
Definition: HcalDetId.h:53
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<HcalDDDRecConstantsTemp::HcalActiveLength> HcalHBHEMuonAnalyzer::actHB
private

Definition at line 192 of file HcalHBHEMuonAnalyzer.cc.

Referenced by activeLength(), and beginRun().

std::vector<HcalDDDRecConstantsTemp::HcalActiveLength> HcalHBHEMuonAnalyzer::actHE
private

Definition at line 192 of file HcalHBHEMuonAnalyzer.cc.

Referenced by activeLength(), and beginRun().

std::vector<std::string> HcalHBHEMuonAnalyzer::all_triggers
private

Definition at line 193 of file HcalHBHEMuonAnalyzer.cc.

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

unsigned int HcalHBHEMuonAnalyzer::BXNumber
private

Definition at line 199 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::chiGlobal
private

Definition at line 171 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::chiTracker
private

Definition at line 175 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::DxyTracker
private

Definition at line 175 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::DzTracker
private

Definition at line 175 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::Energy
private

Definition at line 181 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::EtaGlob
private

Definition at line 171 of file HcalHBHEMuonAnalyzer.cc.

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

unsigned int HcalHBHEMuonAnalyzer::EventNumber
private

Definition at line 199 of file HcalHBHEMuonAnalyzer.cc.

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

edm::Service<TFileService> HcalHBHEMuonAnalyzer::fs
private

Definition at line 157 of file HcalHBHEMuonAnalyzer.cc.

Referenced by beginJob().

std::vector<double> HcalHBHEMuonAnalyzer::GlobalMuonHits
private

Definition at line 172 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<bool> HcalHBHEMuonAnalyzer::GlobalTrack
private

Definition at line 179 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::GlobalTrckEta
private

Definition at line 173 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::GlobalTrckPhi
private

Definition at line 173 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::GlobalTrckPt
private

Definition at line 172 of file HcalHBHEMuonAnalyzer.cc.

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

HLTConfigProvider HcalHBHEMuonAnalyzer::hltConfig_
private

Definition at line 156 of file HcalHBHEMuonAnalyzer.cc.

Referenced by beginRun().

std::vector<int> HcalHBHEMuonAnalyzer::hltresults
private

Definition at line 198 of file HcalHBHEMuonAnalyzer.cc.

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

edm::InputTag HcalHBHEMuonAnalyzer::HLTriggerResults_
private

Definition at line 158 of file HcalHBHEMuonAnalyzer.cc.

Referenced by HcalHBHEMuonAnalyzer().

std::vector<bool> HcalHBHEMuonAnalyzer::innerTrack
private
std::vector<double> HcalHBHEMuonAnalyzer::innerTracketa
private

Definition at line 174 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::innerTrackphi
private

Definition at line 174 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::innerTrackpt
private

Definition at line 174 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::IsolationR03
private

Definition at line 180 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::IsolationR04
private

Definition at line 180 of file HcalHBHEMuonAnalyzer.cc.

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

std::string HcalHBHEMuonAnalyzer::labelEBRecHit_
private

Definition at line 159 of file HcalHBHEMuonAnalyzer.cc.

Referenced by HcalHBHEMuonAnalyzer().

std::string HcalHBHEMuonAnalyzer::labelEERecHit_
private

Definition at line 159 of file HcalHBHEMuonAnalyzer.cc.

Referenced by HcalHBHEMuonAnalyzer().

std::string HcalHBHEMuonAnalyzer::labelHBHERecHit_
private

Definition at line 160 of file HcalHBHEMuonAnalyzer.cc.

Referenced by HcalHBHEMuonAnalyzer().

std::string HcalHBHEMuonAnalyzer::labelMuon_
private

Definition at line 160 of file HcalHBHEMuonAnalyzer.cc.

Referenced by HcalHBHEMuonAnalyzer().

std::string HcalHBHEMuonAnalyzer::labelVtx_
private

Definition at line 160 of file HcalHBHEMuonAnalyzer.cc.

Referenced by HcalHBHEMuonAnalyzer().

unsigned int HcalHBHEMuonAnalyzer::LumiNumber
private

Definition at line 199 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MatchedStat
private

Definition at line 172 of file HcalHBHEMuonAnalyzer.cc.

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

int HcalHBHEMuonAnalyzer::maxDepth_
private

Definition at line 161 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<bool> HcalHBHEMuonAnalyzer::muon_global
private

Definition at line 197 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<bool> HcalHBHEMuonAnalyzer::muon_is_good
private

Definition at line 197 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<bool> HcalHBHEMuonAnalyzer::muon_tracker
private

Definition at line 197 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonEcal3x3Energy
private

Definition at line 182 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<unsigned int> HcalHBHEMuonAnalyzer::MuonEcalDetId
private

Definition at line 183 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonEcalEnergy
private

Definition at line 181 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<unsigned int> HcalHBHEMuonAnalyzer::MuonEHcalDetId
private

Definition at line 183 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcal1x1Energy
private

Definition at line 182 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalActiveLength
private

Definition at line 191 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth1Energy
private

Definition at line 184 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth1HotEnergy
private

Definition at line 188 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth2Energy
private

Definition at line 185 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth2HotEnergy
private

Definition at line 188 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth3Energy
private

Definition at line 185 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth3HotEnergy
private

Definition at line 189 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth4Energy
private

Definition at line 186 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth4HotEnergy
private

Definition at line 189 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth5Energy
private

Definition at line 186 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth5HotEnergy
private

Definition at line 190 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth6Energy
private

Definition at line 187 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth6HotEnergy
private

Definition at line 190 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth7Energy
private

Definition at line 187 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalDepth7HotEnergy
private

Definition at line 191 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<unsigned int> HcalHBHEMuonAnalyzer::MuonHcalDetId
private

Definition at line 183 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalEnergy
private

Definition at line 181 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHcalHot
private

Definition at line 184 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::MuonHOEnergy
private

Definition at line 181 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::NumPixelLayers
private

Definition at line 175 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<bool> HcalHBHEMuonAnalyzer::OuterTrack
private

Definition at line 179 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::OuterTrackChi
private

Definition at line 177 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::OuterTrackEta
private

Definition at line 176 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::OuterTrackHits
private

Definition at line 177 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::OuterTrackPhi
private

Definition at line 176 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::OuterTrackPt
private

Definition at line 176 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::OuterTrackRHits
private

Definition at line 177 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::PhiGlob
private

Definition at line 171 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::Pmuon
private

Definition at line 182 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::PtGlob
private

Definition at line 171 of file HcalHBHEMuonAnalyzer.cc.

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

unsigned int HcalHBHEMuonAnalyzer::RunNumber
private

Definition at line 199 of file HcalHBHEMuonAnalyzer.cc.

Referenced by PopulateDB.PopulateDB::run().

std::vector<double> HcalHBHEMuonAnalyzer::Tight_LongPara
private

Definition at line 178 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::Tight_PixelHits
private

Definition at line 178 of file HcalHBHEMuonAnalyzer.cc.

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

std::vector<double> HcalHBHEMuonAnalyzer::Tight_TransImpara
private

Definition at line 178 of file HcalHBHEMuonAnalyzer.cc.

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

edm::EDGetTokenT<EcalRecHitCollection> HcalHBHEMuonAnalyzer::tok_EB_
private

Definition at line 165 of file HcalHBHEMuonAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonAnalyzer().

edm::EDGetTokenT<EcalRecHitCollection> HcalHBHEMuonAnalyzer::tok_EE_
private

Definition at line 166 of file HcalHBHEMuonAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonAnalyzer().

edm::EDGetTokenT<HBHERecHitCollection> HcalHBHEMuonAnalyzer::tok_HBHE_
private

Definition at line 167 of file HcalHBHEMuonAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonAnalyzer().

edm::EDGetTokenT<reco::MuonCollection> HcalHBHEMuonAnalyzer::tok_Muon_
private

Definition at line 168 of file HcalHBHEMuonAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonAnalyzer().

edm::EDGetTokenT<edm::TriggerResults> HcalHBHEMuonAnalyzer::tok_trigRes_
private

Definition at line 163 of file HcalHBHEMuonAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonAnalyzer().

edm::EDGetTokenT<reco::VertexCollection> HcalHBHEMuonAnalyzer::tok_Vtx_
private

Definition at line 164 of file HcalHBHEMuonAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonAnalyzer().

std::vector<double> HcalHBHEMuonAnalyzer::TrackerLayer
private

Definition at line 173 of file HcalHBHEMuonAnalyzer.cc.

TTree* HcalHBHEMuonAnalyzer::TREE
private

Definition at line 196 of file HcalHBHEMuonAnalyzer.cc.

Referenced by analyze(), and beginJob().

int HcalHBHEMuonAnalyzer::verbosity_
private

Definition at line 161 of file HcalHBHEMuonAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonAnalyzer().