CMS 3D CMS Logo

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

Public Member Functions

 HcalRaddamMuon (const edm::ParameterSet &)
 
 ~HcalRaddamMuon () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources >
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

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

Private Member Functions

double activeLength (const DetId &)
 
void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void clearVectors ()
 
void endJob () override
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
int matchId (const HcalDetId &, const HcalDetId &)
 

Private Attributes

double _RecoMuon1TrackIsoSumPtMaxCutValue_03
 
double _RecoMuon1TrackIsoSumPtMaxCutValue_04
 
std::vector< HcalDDDRecConstants::HcalActiveLengthactHB
 
std::vector< HcalDDDRecConstants::HcalActiveLengthactHE
 
std::vector< bool > all_ifTriggerpassed
 
std::vector< std::string > all_triggers
 
std::vector< std::string > all_triggers1
 
std::vector< std::string > all_triggers2
 
std::vector< std::string > all_triggers3
 
std::vector< std::string > all_triggers4
 
std::vector< std::string > all_triggers5
 
unsigned int BXNumber
 
std::vector< double > chiGlobal
 
std::vector< double > chiTracker
 
std::vector< double > DxyTracker
 
std::vector< double > dxyWithBS
 
std::vector< double > DzTracker
 
std::vector< double > dzWithBS
 
std::vector< double > Energy
 
std::vector< float > energy_hb
 
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
 
double h3x3
 
double h3x3Calo
 
std::vector< double > High_TrackLayers
 
HLTConfigProvider hltConfig_
 
std::string hltlabel_
 
std::vector< std::string > hltpaths
 
std::vector< int > hltresults
 
const edm::InputTag hlTriggerResults_
 
std::vector< double > ImpactParameter
 
std::vector< bool > innerTrack
 
std::vector< double > innerTracketa
 
std::vector< double > innerTrackphi
 
std::vector< double > innerTrackpt
 
const bool isAOD_
 
std::vector< bool > isHB
 
std::vector< bool > isHE
 
std::vector< double > IsolationR03
 
std::vector< double > IsolationR04
 
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 > MuonHcalDepth1EnergyCalo
 
std::vector< double > MuonHcalDepth1HotEnergy
 
std::vector< double > MuonHcalDepth1HotEnergyCalo
 
std::vector< double > MuonHcalDepth2Energy
 
std::vector< double > MuonHcalDepth2EnergyCalo
 
std::vector< double > MuonHcalDepth2HotEnergy
 
std::vector< double > MuonHcalDepth2HotEnergyCalo
 
std::vector< double > MuonHcalDepth3Energy
 
std::vector< double > MuonHcalDepth3EnergyCalo
 
std::vector< double > MuonHcalDepth3HotEnergy
 
std::vector< double > MuonHcalDepth3HotEnergyCalo
 
std::vector< double > MuonHcalDepth4Energy
 
std::vector< double > MuonHcalDepth4EnergyCalo
 
std::vector< double > MuonHcalDepth4HotEnergy
 
std::vector< double > MuonHcalDepth4HotEnergyCalo
 
std::vector< double > MuonHcalDepth5Energy
 
std::vector< double > MuonHcalDepth5EnergyCalo
 
std::vector< double > MuonHcalDepth5HotEnergy
 
std::vector< double > MuonHcalDepth5HotEnergyCalo
 
std::vector< double > MuonHcalDepth6Energy
 
std::vector< double > MuonHcalDepth6EnergyCalo
 
std::vector< double > MuonHcalDepth6HotEnergy
 
std::vector< double > MuonHcalDepth6HotEnergyCalo
 
std::vector< double > MuonHcalDepth7Energy
 
std::vector< double > MuonHcalDepth7EnergyCalo
 
std::vector< double > MuonHcalDepth7HotEnergy
 
std::vector< double > MuonHcalDepth7HotEnergyCalo
 
std::vector< unsigned int > MuonHcalDetId
 
std::vector< double > MuonHcalEnergy
 
std::vector< unsigned int > MuonHcalHot
 
std::vector< unsigned int > MuonHcalHotCalo
 
std::vector< double > MuonHOEnergy
 
const edm::InputTag muonsrc_
 
std::vector< double > No_pixelLayers
 
std::vector< double > NormChi2
 
std::vector< double > NPvx
 
std::vector< double > NPvy
 
std::vector< double > NPvz
 
std::vector< double > NQOverP
 
std::vector< double > NQOverPError
 
std::vector< double > NRefPointX
 
std::vector< double > NRefPointY
 
std::vector< double > NRefPointZ
 
int ntriggers
 
std::vector< double > NTrkMomentum
 
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 > PCharge
 
std::vector< double > PChi2
 
std::vector< double > PD0
 
std::vector< double > PD0Error
 
std::vector< double > PdxyTrack
 
std::vector< double > PdzTrack
 
std::vector< double > PhiGlob
 
std::vector< double > PLostHits
 
std::vector< double > Pmuon
 
std::vector< double > PNDoF
 
std::vector< double > PNormalizedChi2
 
std::vector< double > PtGlob
 
std::vector< double > Pthetha
 
std::vector< double > PValidHits
 
std::vector< double > PxGlob
 
std::vector< double > PyGlob
 
std::vector< double > PzGlob
 
unsigned int RunNumber
 
std::vector< double > Tight_GlobalMuonTrkFit
 
std::vector< double > Tight_LongPara
 
std::vector< double > Tight_MatchedStations
 
std::vector< double > Tight_MuonHits
 
std::vector< double > Tight_PixelHits
 
std::vector< double > Tight_TransImpara
 
std::vector< double > Tight_TrkerLayers
 
std::vector< float > time_hb
 
edm::EDGetTokenT< reco::BeamSpottok_bs_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_EB_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_EE_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbhe_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_hcal_
 
edm::EDGetTokenT< reco::MuonCollectiontok_muon_
 
edm::EDGetTokenT< reco::VertexCollectiontok_recVtx_
 
edm::EDGetTokenT< edm::TriggerResultstok_trigRes_
 
std::vector< double > track_cosmic_detid
 
std::vector< double > track_cosmic_detIDinner
 
std::vector< double > track_cosmic_detIDouter
 
std::vector< double > track_cosmic_momentumIX
 
std::vector< double > track_cosmic_momentumIY
 
std::vector< double > track_cosmic_momentumIZ
 
std::vector< double > track_cosmic_momentumOX
 
std::vector< double > track_cosmic_momentumOY
 
std::vector< double > track_cosmic_momentumOZ
 
std::vector< double > track_cosmic_positionIX
 
std::vector< double > track_cosmic_positionIY
 
std::vector< double > track_cosmic_positionIZ
 
std::vector< double > track_cosmic_positionOX
 
std::vector< double > track_cosmic_positionOY
 
std::vector< double > track_cosmic_positionOZ
 
std::vector< double > track_cosmic_rad
 
std::vector< double > track_cosmic_xmomentum
 
std::vector< double > track_cosmic_xposition
 
std::vector< double > track_cosmic_ymomentum
 
std::vector< double > track_cosmic_yposition
 
std::vector< double > track_cosmic_zmomentum
 
std::vector< double > track_cosmic_zposition
 
std::vector< double > TrackerLayer
 
std::vector< double > trackerlayer_hits
 
TTree * TREE
 
std::vector< std::string > TrigName_
 
std::vector< bool > Trk_match_MuStat
 
int type
 
const int useRaw_
 
std::vector< double > v_RH_h3x3_ene
 
std::vector< int > v_RH_h3x3_ieta
 
std::vector< int > v_RH_h3x3_iphi
 
const int verbosity_
 

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
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 54 of file HcalRaddamMuon.cc.

Constructor & Destructor Documentation

◆ HcalRaddamMuon()

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

Definition at line 145 of file HcalRaddamMuon.cc.

146  : hlTriggerResults_(iConfig.getUntrackedParameter<edm::InputTag>("hlTriggerResults_")),
147  muonsrc_(iConfig.getUntrackedParameter<edm::InputTag>("muonSource")),
148  verbosity_(iConfig.getUntrackedParameter<int>("verbosity", 0)),
149  useRaw_(iConfig.getUntrackedParameter<int>("UseRaw", 0)),
150  isAOD_(iConfig.getUntrackedParameter<bool>("IsAOD", false)) {
151  usesResource(TFileService::kSharedResource);
152 
153  //now do what ever initialization is needed
154  maxDepth_ = iConfig.getUntrackedParameter<int>("MaxDepth", 4);
155  if (maxDepth_ > 7)
156  maxDepth_ = 7;
157  else if (maxDepth_ < 1)
158  maxDepth_ = 4;
159 
160  tok_hcal_ = consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", "HcalHits"));
161  tok_trigRes_ = consumes<edm::TriggerResults>(hlTriggerResults_);
162  tok_recVtx_ = consumes<reco::VertexCollection>(edm::InputTag("offlinePrimaryVertices"));
163  tok_bs_ = consumes<reco::BeamSpot>(edm::InputTag("offlineBeamSpot"));
164  if (isAOD_) {
165  tok_EB_ = consumes<EcalRecHitCollection>(edm::InputTag("reducedEcalRecHitsEB"));
166  tok_EE_ = consumes<EcalRecHitCollection>(edm::InputTag("reducedEcalRecHitsEE"));
167  tok_hbhe_ = consumes<HBHERecHitCollection>(edm::InputTag("reducedHcalRecHits", "hbhereco"));
168  } else {
169  tok_EB_ = consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
170  tok_EE_ = consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
171  tok_hbhe_ = consumes<HBHERecHitCollection>(edm::InputTag("hbhereco"));
172  }
173  tok_muon_ = consumes<reco::MuonCollection>(muonsrc_);
174 }

References edm::ParameterSet::getUntrackedParameter(), hlTriggerResults_, isAOD_, TFileService::kSharedResource, maxDepth_, muonsrc_, tok_bs_, tok_EB_, tok_EE_, tok_hbhe_, tok_hcal_, tok_muon_, tok_recVtx_, and tok_trigRes_.

◆ ~HcalRaddamMuon()

HcalRaddamMuon::~HcalRaddamMuon ( )
override

Definition at line 176 of file HcalRaddamMuon.cc.

176  {
177  // do anything here that needs to be done at desctruction time
178  // (e.g. close files, deallocate resources etc.)
179 }

Member Function Documentation

◆ activeLength()

double HcalRaddamMuon::activeLength ( const DetId id_)
private

Definition at line 829 of file HcalRaddamMuon.cc.

829  {
830  HcalDetId id(id_);
831  int ieta = id.ietaAbs();
832  int depth = id.depth();
833  double lx(0);
834  if (id.subdet() == HcalBarrel) {
835  // std::cout<<"actHB.size()"<<actHB.size()<<std::endl;
836  for (unsigned int i = 0; i < actHB.size(); ++i) {
837  if (ieta == actHB[i].ieta && depth == actHB[i].depth) {
838  lx = actHB[i].thick;
839  break;
840  }
841  }
842  } else {
843  // std::cout<<"actHE.size()"<<actHE.size()<<std::endl;
844  for (unsigned int i = 0; i < actHE.size(); ++i) {
845  if (ieta == actHE[i].ieta && depth == actHE[i].depth) {
846  lx = actHE[i].thick;
847  // std::cout<<"actHE[i].thick"<<actHE[i].thick<<std::endl;
848  break;
849  }
850  }
851  }
852  return lx;
853 }

References actHB, actHE, LEDCalibrationChannels::depth, HcalBarrel, mps_fire::i, triggerObjects_cff::id, and LEDCalibrationChannels::ieta.

Referenced by analyze().

◆ analyze()

void HcalRaddamMuon::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 186 of file HcalRaddamMuon.cc.

186  {
187  clearVectors();
188  RunNumber = iEvent.id().run();
189  EventNumber = iEvent.id().event();
190  LumiNumber = iEvent.id().luminosityBlock();
191  BXNumber = iEvent.bunchCrossing();
192 
194  iEvent.getByToken(tok_hcal_, calosimhits);
195 
197  iEvent.getByToken(tok_trigRes_, _Triggers);
198 
199  if ((verbosity_ % 10) > 1)
200  std::cout << "size of all triggers " << all_triggers.size() << std::endl;
201  int Ntriggers = all_triggers.size();
202 
203  if ((verbosity_ % 10) > 1)
204  std::cout << "size of HLT MENU: " << _Triggers->size() << std::endl;
205 
206  if (_Triggers.isValid()) {
207  const edm::TriggerNames& triggerNames_ = iEvent.triggerNames(*_Triggers);
208 
209  std::vector<int> index;
210  for (int i = 0; i < Ntriggers; i++) {
211  index.push_back(triggerNames_.triggerIndex(all_triggers[i]));
212  int triggerSize = int(_Triggers->size());
213  if ((verbosity_ % 10) > 2)
214  std::cout << "outside loop " << index[i] << "\ntriggerSize " << triggerSize << std::endl;
215  if (index[i] < triggerSize) {
216  hltresults.push_back(_Triggers->accept(index[i]));
217  if ((verbosity_ % 10) > 2)
218  std::cout << "trigger_info " << triggerSize << " triggerSize " << index[i] << " trigger_index "
219  << hltresults.at(i) << " hltresult " << std::endl;
220  } else {
221  edm::LogInfo("TriggerBlock") << "Requested HLT path \""
222  << "\" does not exist";
223  }
224  }
225  }
226 
227  // get handles to calogeometry and calotopology
229  iSetup.get<CaloGeometryRecord>().get(pG);
230  const CaloGeometry* geo = pG.product();
231 
233  iSetup.get<IdealMagneticFieldRecord>().get(bFieldH);
234  const MagneticField* bField = bFieldH.product();
235 
237  iSetup.get<EcalChannelStatusRcd>().get(ecalChStatus);
238  const EcalChannelStatus* theEcalChStatus = ecalChStatus.product();
239 
241  iSetup.get<EcalSeverityLevelAlgoRcd>().get(sevlv);
242 
243  edm::ESHandle<CaloTopology> theCaloTopology;
244  iSetup.get<CaloTopologyRecord>().get(theCaloTopology);
245  const CaloTopology* caloTopology = theCaloTopology.product();
246 
248  iSetup.get<HcalRecNumberingRecord>().get(htopo);
249  const HcalTopology* theHBHETopology = htopo.product();
250 
252  iEvent.getByToken(tok_bs_, bmspot);
253 
255  iEvent.getByToken(tok_recVtx_, vtx);
256 
257  edm::Handle<EcalRecHitCollection> barrelRecHitsHandle;
258  edm::Handle<EcalRecHitCollection> endcapRecHitsHandle;
259  iEvent.getByToken(tok_EB_, barrelRecHitsHandle);
260  iEvent.getByToken(tok_EE_, endcapRecHitsHandle);
261 
263  iEvent.getByToken(tok_hbhe_, hbhe);
264 
266  iEvent.getByToken(tok_muon_, _Muon);
267  const reco::Vertex& vertex = (*(vtx)->begin());
268 
269  math::XYZPoint bspot;
270  bspot = (bmspot.isValid()) ? bmspot->position() : math::XYZPoint(0, 0, 0);
271 
272  if (_Muon.isValid()) {
273  for (reco::MuonCollection::const_iterator RecMuon = _Muon->begin(); RecMuon != _Muon->end(); ++RecMuon) {
274  muon_is_good.push_back(RecMuon->isPFMuon());
275  muon_global.push_back(RecMuon->isGlobalMuon());
276  muon_tracker.push_back(RecMuon->isTrackerMuon());
277  PtGlob.push_back((RecMuon)->pt());
278  EtaGlob.push_back(RecMuon->eta());
279  PhiGlob.push_back(RecMuon->phi());
280  Energy.push_back(RecMuon->energy());
281  Pmuon.push_back(RecMuon->p());
282  // if (RecMuon->isPFMuon()) goodEvent = true;
283  // acessing tracker hits info
284  if (RecMuon->track().isNonnull()) {
285  TrackerLayer.push_back(RecMuon->track()->hitPattern().trackerLayersWithMeasurement());
286  } else {
287  TrackerLayer.push_back(-1);
288  }
289  if (RecMuon->innerTrack().isNonnull()) {
290  innerTrack.push_back(true);
291  NumPixelLayers.push_back(RecMuon->innerTrack()->hitPattern().pixelLayersWithMeasurement());
292  chiTracker.push_back(RecMuon->innerTrack()->normalizedChi2());
293  DxyTracker.push_back(fabs(RecMuon->innerTrack()->dxy((vertex).position())));
294  DzTracker.push_back(fabs(RecMuon->innerTrack()->dz((vertex).position())));
295  innerTrackpt.push_back(RecMuon->innerTrack()->pt());
296  innerTracketa.push_back(RecMuon->innerTrack()->eta());
297  innerTrackphi.push_back(RecMuon->innerTrack()->phi());
298  Tight_PixelHits.push_back(RecMuon->innerTrack()->hitPattern().numberOfValidPixelHits());
299  } else {
300  innerTrack.push_back(false);
301  NumPixelLayers.push_back(0);
302  chiTracker.push_back(0);
303  DxyTracker.push_back(0);
304  DzTracker.push_back(0);
305  innerTrackpt.push_back(0);
306  innerTracketa.push_back(0);
307  innerTrackphi.push_back(0);
308  Tight_PixelHits.push_back(0);
309  }
310  // outer track info
311 
312  if (RecMuon->outerTrack().isNonnull()) {
313  OuterTrack.push_back(true);
314  OuterTrackPt.push_back(RecMuon->outerTrack()->pt());
315  OuterTrackEta.push_back(RecMuon->outerTrack()->eta());
316  OuterTrackPhi.push_back(RecMuon->outerTrack()->phi());
317  OuterTrackChi.push_back(RecMuon->outerTrack()->normalizedChi2());
318  OuterTrackHits.push_back(RecMuon->outerTrack()->numberOfValidHits());
319  OuterTrackRHits.push_back(RecMuon->outerTrack()->recHitsSize());
320  } else {
321  OuterTrack.push_back(false);
322  OuterTrackPt.push_back(0);
323  OuterTrackEta.push_back(0);
324  OuterTrackPhi.push_back(0);
325  OuterTrackChi.push_back(0);
326  OuterTrackHits.push_back(0);
327  OuterTrackRHits.push_back(0);
328  }
329  // Tight Muon cuts
330  if (RecMuon->globalTrack().isNonnull()) {
331  GlobalTrack.push_back(true);
332  chiGlobal.push_back(RecMuon->globalTrack()->normalizedChi2());
333  GlobalMuonHits.push_back(RecMuon->globalTrack()->hitPattern().numberOfValidMuonHits());
334  MatchedStat.push_back(RecMuon->numberOfMatchedStations());
335  GlobalTrckPt.push_back(RecMuon->globalTrack()->pt());
336  GlobalTrckEta.push_back(RecMuon->globalTrack()->eta());
337  GlobalTrckPhi.push_back(RecMuon->globalTrack()->phi());
338  Tight_TransImpara.push_back(fabs(RecMuon->muonBestTrack()->dxy(vertex.position())));
339  Tight_LongPara.push_back(fabs(RecMuon->muonBestTrack()->dz(vertex.position())));
340  } else {
341  GlobalTrack.push_back(false);
342  chiGlobal.push_back(0);
343  GlobalMuonHits.push_back(0);
344  MatchedStat.push_back(0);
345  GlobalTrckPt.push_back(0);
346  GlobalTrckEta.push_back(0);
347  GlobalTrckPhi.push_back(0);
348  Tight_TransImpara.push_back(0);
349  Tight_LongPara.push_back(0);
350  }
351 
352  IsolationR04.push_back(
353  ((RecMuon->pfIsolationR04().sumChargedHadronPt +
354  std::max(0.,
355  RecMuon->pfIsolationR04().sumNeutralHadronEt + RecMuon->pfIsolationR04().sumPhotonEt -
356  (0.5 * RecMuon->pfIsolationR04().sumPUPt))) /
357  RecMuon->pt()));
358 
359  IsolationR03.push_back(
360  ((RecMuon->pfIsolationR03().sumChargedHadronPt +
361  std::max(0.,
362  RecMuon->pfIsolationR03().sumNeutralHadronEt + RecMuon->pfIsolationR03().sumPhotonEt -
363  (0.5 * RecMuon->pfIsolationR03().sumPUPt))) /
364  RecMuon->pt()));
365 
366  MuonEcalEnergy.push_back(RecMuon->calEnergy().emS9);
367  MuonHcalEnergy.push_back(RecMuon->calEnergy().hadS9);
368  MuonHOEnergy.push_back(RecMuon->calEnergy().hoS9);
369 
370  double eEcal(0), eHcal(0), activeL(0), eHcalDepth[7], eHcalDepthHot[7], eHcalDepthCalo[7], eHcalDepthHotCalo[7];
371  unsigned int isHot = 0;
372  unsigned int isHotCalo = 0;
373 
374  for (int i = 0; i < 7; ++i)
375  eHcalDepth[i] = eHcalDepthHot[i] = eHcalDepthCalo[i] = eHcalDepthHotCalo[i] = -10000;
376 
377  if (RecMuon->innerTrack().isNonnull()) {
378  const reco::Track* pTrack = (RecMuon->innerTrack()).get();
379  spr::propagatedTrackID trackID = spr::propagateCALO(pTrack, geo, bField, (((verbosity_ / 100) % 10 > 0)));
380 
381  MuonEcalDetId.push_back((trackID.detIdECAL)());
382  MuonHcalDetId.push_back((trackID.detIdHCAL)());
383  MuonEHcalDetId.push_back((trackID.detIdEHCAL)());
384 
385  if (trackID.okECAL) {
386  const DetId isoCell(trackID.detIdECAL);
387  std::pair<double, bool> e3x3 = spr::eECALmatrix(isoCell,
388  barrelRecHitsHandle,
389  endcapRecHitsHandle,
390  *theEcalChStatus,
391  geo,
392  caloTopology,
393  sevlv.product(),
394  1,
395  1,
396  -100.0,
397  -100.0,
398  -500.0,
399  500.0,
400  false);
401 
402  eEcal = e3x3.first;
403  //std::cout<<"eEcal"<<eEcal<<std::endl;
404  }
405 
406  if (trackID.okHCAL) {
407  const DetId closestCell(trackID.detIdHCAL);
408  eHcal = spr::eHCALmatrix(theHBHETopology,
409  closestCell,
410  hbhe,
411  0,
412  0,
413  false,
414  true,
415  -100.0,
416  -100.0,
417  -100.0,
418  -100.0,
419  -500.,
420  500.,
421  useRaw_);
422 
423  int iphi = ((HcalDetId)(closestCell)).iphi();
424  int zside = ((HcalDetId)(closestCell)).iphi();
425  int depthHE = theHBHETopology->dddConstants()->getMinDepth(1, 16, iphi, zside);
426  //std::cout<<"eHcal"<<eHcal<<std::endl;
427  std::vector<std::pair<double, int> > ehdepth;
428  spr::energyHCALCell((HcalDetId)closestCell,
429  hbhe,
430  ehdepth,
431  maxDepth_,
432  -100.0,
433  -100.0,
434  -100.0,
435  -100.0,
436  -500.0,
437  500.0,
438  useRaw_,
439  depthHE,
440  (((verbosity_ / 1000) % 10) > 0));
441  for (unsigned int i = 0; i < ehdepth.size(); ++i) {
442  eHcalDepth[ehdepth[i].second - 1] = ehdepth[i].first;
443  //std::cout<<eHcalDepth[ehdepth[i].second-1]<<std::endl;
444  }
445 
446  eHcal = spr::eHCALmatrix(theHBHETopology,
447  closestCell,
448  calosimhits,
449  0,
450  0,
451  false,
452  true,
453  -100.0,
454  -100.0,
455  -100.0,
456  -100.0,
457  -500.,
458  500.,
459  useRaw_);
460 
461  //std::cout<<"eHcal"<<eHcal<<std::endl;
462  const DetId closestCellCalo(trackID.detIdHCAL);
463  iphi = ((HcalDetId)(closestCellCalo)).iphi();
464  zside = ((HcalDetId)(closestCellCalo)).iphi();
465  depthHE = theHBHETopology->dddConstants()->getMinDepth(1, 16, iphi, zside);
466  std::vector<std::pair<double, int> > ehdepthCalo;
467  spr::energyHCALCell((HcalDetId)closestCellCalo,
468  calosimhits,
469  ehdepthCalo,
470  maxDepth_,
471  -100.0,
472  -100.0,
473  -100.0,
474  -100.0,
475  -500.0,
476  500.0,
477  useRaw_,
478  depthHE,
479  (((verbosity_ / 1000) % 10) > 0));
480  for (unsigned int i = 0; i < ehdepthCalo.size(); ++i) {
481  eHcalDepthCalo[ehdepthCalo[i].second - 1] = ehdepthCalo[i].first;
482  //std::cout<<eHcalDepth[ehdepth[i].second-1]<<std::endl;
483  }
484 
485  HcalDetId hcid0(closestCell.rawId());
486  activeL = activeLength(trackID.detIdHCAL);
487 
488  std::cout << activeL << std::endl;
489  HcalDetId hotCell, hotCellCalo;
490  h3x3 = spr::eHCALmatrix(geo, theHBHETopology, closestCell, hbhe, 1, 1, hotCell, false, useRaw_, false);
492  geo, theHBHETopology, closestCellCalo, calosimhits, 1, 1, hotCellCalo, false, useRaw_, false);
493 
494  isHot = matchId(closestCell, hotCell);
495  isHotCalo = matchId(closestCellCalo, hotCellCalo);
496 
497  // std::cout<<"hcal 3X3 < "<<h3x3<<">" << " ClosestCell <" << (HcalDetId)(closestCell) << "> hotCell id < " << hotCell << "> isHot" << isHot << std::endl;
498  if (hotCell != HcalDetId()) {
499  iphi = ((HcalDetId)(hotCell)).iphi();
500  zside = ((HcalDetId)(hotCell)).iphi();
501  depthHE = theHBHETopology->dddConstants()->getMinDepth(1, 16, iphi, zside);
502  std::vector<std::pair<double, int> > ehdepth;
503  spr::energyHCALCell(hotCell,
504  hbhe,
505  ehdepth,
506  maxDepth_,
507  -100.0,
508  -100.0,
509  -100.0,
510  -100.0,
511  -500.0,
512  500.0,
513  depthHE,
514  false); //(((verbosity_/1000)%10)>0));
515  for (unsigned int i = 0; i < ehdepth.size(); ++i) {
516  eHcalDepthHot[ehdepth[i].second - 1] = ehdepth[i].first;
517  // std::cout<<eHcalDepthHot[ehdepth[i].second-1]<<std::endl;
518  }
519  }
520 
521  if (hotCellCalo != HcalDetId()) {
522  iphi = ((HcalDetId)(hotCellCalo)).iphi();
523  zside = ((HcalDetId)(hotCellCalo)).iphi();
524  depthHE = theHBHETopology->dddConstants()->getMinDepth(1, 16, iphi, zside);
525  std::vector<std::pair<double, int> > ehdepthCalo;
526 
527  spr::energyHCALCell(hotCellCalo,
528  calosimhits,
529  ehdepthCalo,
530  maxDepth_,
531  -100.0,
532  -100.0,
533  -100.0,
534  -100.0,
535  -500.0,
536  500.0,
537  useRaw_,
538  depthHE,
539  false);
540  for (unsigned int i = 0; i < ehdepthCalo.size(); ++i) {
541  eHcalDepthHotCalo[ehdepthCalo[i].second - 1] = ehdepthCalo[i].first;
542  // std::cout<<eHcalDepthHot[ehdepth[i].second-1]<<std::endl;
543  }
544  }
545  }
546  } else {
547  MuonEcalDetId.push_back(0);
548  MuonHcalDetId.push_back(0);
549  MuonEHcalDetId.push_back(0);
550  }
551 
552  MuonEcal3x3Energy.push_back(eEcal);
553  MuonHcal1x1Energy.push_back(eHcal);
554  MuonHcalDepth1Energy.push_back(eHcalDepth[0]);
555  MuonHcalDepth2Energy.push_back(eHcalDepth[1]);
556  MuonHcalDepth3Energy.push_back(eHcalDepth[2]);
557  MuonHcalDepth4Energy.push_back(eHcalDepth[3]);
558  MuonHcalDepth5Energy.push_back(eHcalDepth[4]);
559  MuonHcalDepth6Energy.push_back(eHcalDepth[5]);
560  MuonHcalDepth7Energy.push_back(eHcalDepth[6]);
561  MuonHcalDepth1HotEnergy.push_back(eHcalDepthHot[0]);
562  MuonHcalDepth2HotEnergy.push_back(eHcalDepthHot[1]);
563  MuonHcalDepth3HotEnergy.push_back(eHcalDepthHot[2]);
564  MuonHcalDepth4HotEnergy.push_back(eHcalDepthHot[3]);
565  MuonHcalDepth5HotEnergy.push_back(eHcalDepthHot[4]);
566  MuonHcalDepth6HotEnergy.push_back(eHcalDepthHot[5]);
567  MuonHcalDepth7HotEnergy.push_back(eHcalDepthHot[6]);
568  MuonHcalHot.push_back(isHot);
569 
570  //
571  MuonHcalDepth1EnergyCalo.push_back(eHcalDepthCalo[0]);
572  MuonHcalDepth2EnergyCalo.push_back(eHcalDepthCalo[1]);
573  MuonHcalDepth3EnergyCalo.push_back(eHcalDepthCalo[2]);
574  MuonHcalDepth4EnergyCalo.push_back(eHcalDepthCalo[3]);
575  MuonHcalDepth5EnergyCalo.push_back(eHcalDepthCalo[4]);
576  MuonHcalDepth6EnergyCalo.push_back(eHcalDepthCalo[5]);
577  MuonHcalDepth7EnergyCalo.push_back(eHcalDepthCalo[6]);
578  MuonHcalDepth1HotEnergyCalo.push_back(eHcalDepthHotCalo[0]);
579  MuonHcalDepth2HotEnergyCalo.push_back(eHcalDepthHotCalo[1]);
580  MuonHcalDepth3HotEnergyCalo.push_back(eHcalDepthHotCalo[2]);
581  MuonHcalDepth4HotEnergyCalo.push_back(eHcalDepthHotCalo[3]);
582  MuonHcalDepth5HotEnergyCalo.push_back(eHcalDepthHotCalo[4]);
583  MuonHcalDepth6HotEnergyCalo.push_back(eHcalDepthHotCalo[5]);
584  MuonHcalDepth7HotEnergyCalo.push_back(eHcalDepthHotCalo[6]);
585  MuonHcalHotCalo.push_back(isHotCalo);
586 
587  //
588  MuonHcalActiveLength.push_back(activeL);
589  }
590  }
591  TREE->Fill();
592 }

References edm::HLTGlobalStatus::accept(), activeLength(), all_triggers, begin, Calorimetry_cff::bField, BXNumber, chiGlobal, chiTracker, clearVectors(), gather_cfg::cout, HcalTopology::dddConstants(), spr::propagatedTrackID::detIdECAL, spr::propagatedTrackID::detIdEHCAL, spr::propagatedTrackID::detIdHCAL, DxyTracker, DzTracker, spr::eECALmatrix(), spr::eHCALmatrix(), Energy, spr::energyHCALCell(), EtaGlob, EventNumber, edm::EventSetup::get(), get, HcalDDDRecConstants::getMinDepth(), GlobalMuonHits, GlobalTrack, GlobalTrckEta, GlobalTrckPhi, GlobalTrckPt, h3x3, h3x3Calo, photonIsolationHIProducer_cfi::hbhe, hltresults, mps_fire::i, iEvent, innerTrack, innerTracketa, innerTrackphi, innerTrackpt, createfilelist::int, LEDCalibrationChannels::iphi, IsolationR03, IsolationR04, edm::HandleBase::isValid(), LumiNumber, MatchedStat, matchId(), SiStripPI::max, maxDepth_, muon_global, muon_is_good, muon_tracker, MuonEcal3x3Energy, MuonEcalDetId, MuonEcalEnergy, MuonEHcalDetId, MuonHcal1x1Energy, MuonHcalActiveLength, MuonHcalDepth1Energy, MuonHcalDepth1EnergyCalo, MuonHcalDepth1HotEnergy, MuonHcalDepth1HotEnergyCalo, MuonHcalDepth2Energy, MuonHcalDepth2EnergyCalo, MuonHcalDepth2HotEnergy, MuonHcalDepth2HotEnergyCalo, MuonHcalDepth3Energy, MuonHcalDepth3EnergyCalo, MuonHcalDepth3HotEnergy, MuonHcalDepth3HotEnergyCalo, MuonHcalDepth4Energy, MuonHcalDepth4EnergyCalo, MuonHcalDepth4HotEnergy, MuonHcalDepth4HotEnergyCalo, MuonHcalDepth5Energy, MuonHcalDepth5EnergyCalo, MuonHcalDepth5HotEnergy, MuonHcalDepth5HotEnergyCalo, MuonHcalDepth6Energy, MuonHcalDepth6EnergyCalo, MuonHcalDepth6HotEnergy, MuonHcalDepth6HotEnergyCalo, MuonHcalDepth7Energy, MuonHcalDepth7EnergyCalo, MuonHcalDepth7HotEnergy, MuonHcalDepth7HotEnergyCalo, MuonHcalDetId, MuonHcalEnergy, MuonHcalHot, MuonHcalHotCalo, MuonHOEnergy, NumPixelLayers, spr::propagatedTrackID::okECAL, spr::propagatedTrackID::okHCAL, OuterTrack, OuterTrackChi, OuterTrackEta, OuterTrackHits, OuterTrackPhi, OuterTrackPt, OuterTrackRHits, PhiGlob, Pmuon, reco::BeamSpot::position(), position, edm::ESHandle< T >::product(), spr::propagateCALO(), DiDispStaMuonMonitor_cfi::pt, PtGlob, DetId::rawId(), RunNumber, edm::HLTGlobalStatus::size(), Tight_LongPara, Tight_PixelHits, Tight_TransImpara, tok_bs_, tok_EB_, tok_EE_, tok_hbhe_, tok_hcal_, tok_muon_, tok_recVtx_, tok_trigRes_, TREE, edm::TriggerNames::triggerIndex(), useRaw_, verbosity_, bphysicsOniaDQM_cfi::vertex, badGlobalMuonTaggersAOD_cff::vtx, and ecaldqm::zside().

◆ beginJob()

void HcalRaddamMuon::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 595 of file HcalRaddamMuon.cc.

595  {
596  TREE = fs->make<TTree>("TREE", "TREE");
597  TREE->Branch("Event_No", &EventNumber);
598  TREE->Branch("Run_No", &RunNumber);
599  TREE->Branch("LumiNumber", &LumiNumber);
600  TREE->Branch("BXNumber", &BXNumber);
601  TREE->Branch("pt_of_muon", &PtGlob);
602  TREE->Branch("eta_of_muon", &EtaGlob);
603  TREE->Branch("phi_of_muon", &PhiGlob);
604  TREE->Branch("energy_of_muon", &Energy);
605  TREE->Branch("p_of_muon", &Pmuon);
606  TREE->Branch("PF_Muon", &muon_is_good);
607  TREE->Branch("Global_Muon", &muon_global);
608  TREE->Branch("Tracker_muon", &muon_tracker);
609 
610  TREE->Branch("hcal_3into3", &MuonHcalEnergy);
611  TREE->Branch("hcal_1x1", &MuonHcal1x1Energy);
612  TREE->Branch("hcal_detID", &MuonHcalDetId);
613  TREE->Branch("hcal_edepth1", &MuonHcalDepth1Energy);
614  TREE->Branch("hcal_edepth2", &MuonHcalDepth2Energy);
615  TREE->Branch("hcal_edepth3", &MuonHcalDepth3Energy);
616  TREE->Branch("hcal_edepth4", &MuonHcalDepth4Energy);
617  TREE->Branch("hcal_edepthHot1", &MuonHcalDepth1HotEnergy);
618  TREE->Branch("hcal_edepthHot2", &MuonHcalDepth2HotEnergy);
619  TREE->Branch("hcal_edepthHot3", &MuonHcalDepth3HotEnergy);
620  TREE->Branch("hcal_edepthHot4", &MuonHcalDepth4HotEnergy);
621 
622  TREE->Branch("hcal_edepth1PSim", &MuonHcalDepth1EnergyCalo);
623  TREE->Branch("hcal_edepth2PSim", &MuonHcalDepth2EnergyCalo);
624  TREE->Branch("hcal_edepth3PSim", &MuonHcalDepth3EnergyCalo);
625  TREE->Branch("hcal_edepth4PSim", &MuonHcalDepth4EnergyCalo);
626  TREE->Branch("hcal_edepthHot1PSim", &MuonHcalDepth1HotEnergyCalo);
627  TREE->Branch("hcal_edepthHot2PSim", &MuonHcalDepth2HotEnergyCalo);
628  TREE->Branch("hcal_edepthHot3PSim", &MuonHcalDepth3HotEnergyCalo);
629  TREE->Branch("hcal_edepthHot4PSim", &MuonHcalDepth4HotEnergyCalo);
630 
631  if (maxDepth_ > 4) {
632  TREE->Branch("hcal_edepth5PSim", &MuonHcalDepth5EnergyCalo);
633  TREE->Branch("hcal_edepthHot5PSim", &MuonHcalDepth5HotEnergyCalo);
634  if (maxDepth_ > 5) {
635  TREE->Branch("hcal_edepth6PSim", &MuonHcalDepth6EnergyCalo);
636  TREE->Branch("hcal_edepthHot6PSim", &MuonHcalDepth6HotEnergyCalo);
637  if (maxDepth_ > 6) {
638  TREE->Branch("hcal_edepth7PSim", &MuonHcalDepth7EnergyCalo);
639  TREE->Branch("hcal_edepthHot7PSim", &MuonHcalDepth7HotEnergyCalo);
640  }
641  }
642  }
643 
644  TREE->Branch("TrackerLayer", &TrackerLayer);
645  TREE->Branch("innerTrack", &innerTrack);
646  TREE->Branch("innerTrackpt", &innerTrackpt);
647  TREE->Branch("innerTracketa", &innerTracketa);
648  TREE->Branch("innerTrackphi", &innerTrackphi);
649  TREE->Branch("MatchedStat", &MatchedStat);
650  TREE->Branch("GlobalTrckPt", &GlobalTrckPt);
651  TREE->Branch("GlobalTrckEta", &GlobalTrckEta);
652  TREE->Branch("GlobalTrckPhi", &GlobalTrckPhi);
653  TREE->Branch("NumPixelLayers", &NumPixelLayers);
654  TREE->Branch("chiTracker", &chiTracker);
655  TREE->Branch("DxyTracker", &DxyTracker);
656  TREE->Branch("DzTracker", &DzTracker);
657  TREE->Branch("OuterTrack", &OuterTrack);
658  TREE->Branch("OuterTrackPt", &OuterTrackPt);
659  TREE->Branch("OuterTrackEta", &OuterTrackEta);
660  TREE->Branch("OuterTrackPhi", &OuterTrackPhi);
661  TREE->Branch("OuterTrackHits", &OuterTrackHits);
662  TREE->Branch("OuterTrackRHits", &OuterTrackRHits);
663  TREE->Branch("OuterTrackChi", &OuterTrackChi);
664  TREE->Branch("GlobalTrack", &GlobalTrack);
665  TREE->Branch("GlobTrack_Chi", &chiGlobal);
666  TREE->Branch("Global_Muon_Hits", &GlobalMuonHits);
667  TREE->Branch("MatchedStations", &MatchedStat);
668  TREE->Branch("Global_Track_Pt", &GlobalTrckPt);
669  TREE->Branch("Global_Track_Eta", &GlobalTrckEta);
670  TREE->Branch("Global_Track_Phi", &GlobalTrckPhi);
672  TREE->Branch("Tight_LongitudinalImpactparameter", &Tight_LongPara);
673  TREE->Branch("Tight_TransImpactparameter", &Tight_TransImpara);
674  TREE->Branch("InnerTrackPixelHits", &Tight_PixelHits);
675  TREE->Branch("IsolationR04", &IsolationR04);
676  TREE->Branch("IsolationR03", &IsolationR03);
677 
678  TREE->Branch("hcal_cellHot", &MuonHcalHot);
679  TREE->Branch("hcal_cellHotPSim", &MuonHcalHotCalo);
680 
681  TREE->Branch("ecal_3into3", &MuonEcalEnergy);
682  TREE->Branch("ecal_3x3", &MuonEcal3x3Energy);
683  TREE->Branch("ecal_detID", &MuonEcalDetId);
684  TREE->Branch("ehcal_detID", &MuonEHcalDetId);
685  TREE->Branch("tracker_3into3", &MuonHOEnergy);
686  TREE->Branch("activeLength", &MuonHcalActiveLength);
687 
689  TREE->Branch("hltresults", &hltresults);
690  TREE->Branch("all_triggers", &all_triggers);
691  TREE->Branch("rechit_energy", &energy_hb);
692  TREE->Branch("rechit_time", &time_hb);
693 }

References all_triggers, BXNumber, chiGlobal, chiTracker, DxyTracker, DzTracker, Energy, energy_hb, 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, MuonHcalDepth1EnergyCalo, MuonHcalDepth1HotEnergy, MuonHcalDepth1HotEnergyCalo, MuonHcalDepth2Energy, MuonHcalDepth2EnergyCalo, MuonHcalDepth2HotEnergy, MuonHcalDepth2HotEnergyCalo, MuonHcalDepth3Energy, MuonHcalDepth3EnergyCalo, MuonHcalDepth3HotEnergy, MuonHcalDepth3HotEnergyCalo, MuonHcalDepth4Energy, MuonHcalDepth4EnergyCalo, MuonHcalDepth4HotEnergy, MuonHcalDepth4HotEnergyCalo, MuonHcalDepth5EnergyCalo, MuonHcalDepth5HotEnergyCalo, MuonHcalDepth6EnergyCalo, MuonHcalDepth6HotEnergyCalo, MuonHcalDepth7EnergyCalo, MuonHcalDepth7HotEnergyCalo, MuonHcalDetId, MuonHcalEnergy, MuonHcalHot, MuonHcalHotCalo, MuonHOEnergy, NumPixelLayers, OuterTrack, OuterTrackChi, OuterTrackEta, OuterTrackHits, OuterTrackPhi, OuterTrackPt, OuterTrackRHits, PhiGlob, Pmuon, PtGlob, RunNumber, Tight_LongPara, Tight_PixelHits, Tight_TransImpara, time_hb, and TREE.

◆ beginRun()

void HcalRaddamMuon::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprivate

Definition at line 699 of file HcalRaddamMuon.cc.

699  {
701  iSetup.get<HcalRecNumberingRecord>().get(pHRNDC);
702  const HcalDDDRecConstants& hdc = (*pHRNDC);
703  actHB.clear();
704  actHE.clear();
705  actHB = hdc.getThickActive(0);
706  actHE = hdc.getThickActive(1);
707 
708  bool changed = true;
709  all_triggers.clear();
710  if (hltConfig_.init(iRun, iSetup, "HLT", changed)) {
711  // if init returns TRUE, initialisation has succeeded!
712  edm::LogInfo("TriggerBlock") << "HLT config with process name "
713  << "HLT"
714  << " successfully extracted";
715  std::string string_search[5] = {"HLT_IsoMu_", "HLT_L1SingleMu_", "HLT_L2Mu", "HLT_Mu", "HLT_RelIso1p0Mu"};
716  unsigned int ntriggers = hltConfig_.size();
717  for (unsigned int t = 0; t < ntriggers; ++t) {
719  for (unsigned int ik = 0; ik < 5; ++ik) {
720  if (hltname.find(string_search[ik]) != std::string::npos) {
721  all_triggers.push_back(hltname);
722  break;
723  }
724  }
725  } //loop over ntriggers
726  // std::cout<<"all triggers size in begin run"<<all_triggers.size()<<std::endl;
727  } else {
728  edm::LogError("TriggerBlock") << "Error! HLT config extraction with process name "
729  << "HLT"
730  << " failed";
731  }
732 
733 } //firstmethod

References actHB, actHE, all_triggers, edm::EventSetup::get(), get, HcalDDDRecConstants::getThickActive(), hltConfig_, HLTConfigProvider::init(), ntriggers, HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, OrderedSet::t, and HLTConfigProvider::triggerName().

◆ clearVectors()

void HcalRaddamMuon::clearVectors ( )
private

clearing vectots

Definition at line 749 of file HcalRaddamMuon.cc.

749  {
751  EventNumber = -99999;
752  RunNumber = -99999;
753  LumiNumber = -99999;
754  BXNumber = -99999;
755  energy_hb.clear();
756  time_hb.clear();
757  muon_is_good.clear();
758  muon_global.clear();
759  muon_tracker.clear();
760  PtGlob.clear();
761  EtaGlob.clear();
762  PhiGlob.clear();
763  Energy.clear();
764  Pmuon.clear();
765  TrackerLayer.clear();
766  innerTrack.clear();
767  NumPixelLayers.clear();
768  chiTracker.clear();
769  DxyTracker.clear();
770  DzTracker.clear();
771  innerTrackpt.clear();
772  innerTracketa.clear();
773  innerTrackphi.clear();
774  Tight_PixelHits.clear();
775  OuterTrack.clear();
776  OuterTrackPt.clear();
777  OuterTrackEta.clear();
778  OuterTrackPhi.clear();
779  OuterTrackHits.clear();
780  OuterTrackRHits.clear();
781  OuterTrackChi.clear();
782  GlobalTrack.clear();
783  chiGlobal.clear();
784  GlobalMuonHits.clear();
785  MatchedStat.clear();
786  GlobalTrckPt.clear();
787  GlobalTrckEta.clear();
788  GlobalTrckPhi.clear();
789  Tight_TransImpara.clear();
790  Tight_LongPara.clear();
791 
792  IsolationR04.clear();
793  IsolationR03.clear();
794  MuonEcalEnergy.clear();
795  MuonHcalEnergy.clear();
796  MuonHOEnergy.clear();
797  MuonEcalDetId.clear();
798  MuonHcalDetId.clear();
799  MuonEHcalDetId.clear();
800  MuonEcal3x3Energy.clear();
801  MuonHcal1x1Energy.clear();
802  MuonHcalDepth1Energy.clear();
803  MuonHcalDepth2Energy.clear();
804  MuonHcalDepth3Energy.clear();
805  MuonHcalDepth4Energy.clear();
806  MuonHcalDepth5Energy.clear();
807  MuonHcalDepth6Energy.clear();
808  MuonHcalDepth7Energy.clear();
809 
810  MuonHcalDepth1HotEnergy.clear();
811  MuonHcalDepth2HotEnergy.clear();
812  MuonHcalDepth3HotEnergy.clear();
813  MuonHcalDepth4HotEnergy.clear();
814  MuonHcalDepth5HotEnergy.clear();
815  MuonHcalDepth6HotEnergy.clear();
816  MuonHcalDepth7HotEnergy.clear();
817  MuonHcalHot.clear();
818  MuonHcalActiveLength.clear();
819  hltresults.clear();
820 }

References BXNumber, chiGlobal, chiTracker, DxyTracker, DzTracker, Energy, energy_hb, 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, RunNumber, Tight_LongPara, Tight_PixelHits, Tight_TransImpara, and time_hb.

Referenced by analyze().

◆ endJob()

void HcalRaddamMuon::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 696 of file HcalRaddamMuon.cc.

696 {}

Referenced by o2olib.O2ORunMgr::executeJob().

◆ endRun()

void HcalRaddamMuon::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivate

Definition at line 736 of file HcalRaddamMuon.cc.

736 {}

◆ fillDescriptions()

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

Definition at line 738 of file HcalRaddamMuon.cc.

738  {
740  desc.addUntracked<edm::InputTag>("hlTriggerResults", edm::InputTag("TriggerResults", "", "HLT"));
741  desc.addUntracked<edm::InputTag>("muonSource", edm::InputTag("muons"));
742  desc.addUntracked<int>("verbosity", 0);
743  desc.addUntracked<int>("useRaw", 0);
744  desc.add<bool>("isAOD", false);
745  desc.addUntracked<int>("maxDepth", 4);
746  descriptions.add("hcalRaddamMuon", desc);
747 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), and HLT_2018_cff::InputTag.

◆ matchId()

int HcalRaddamMuon::matchId ( const HcalDetId id1,
const HcalDetId id2 
)
private

Definition at line 822 of file HcalRaddamMuon.cc.

822  {
823  HcalDetId kd1(id1.subdet(), id1.ieta(), id1.iphi(), 1);
824  HcalDetId kd2(id2.subdet(), id2.ieta(), id2.iphi(), 1);
825  int match = ((kd1 == kd2) ? 1 : 0);
826  return match;
827 }

References globals_cff::id1, globals_cff::id2, and match().

Referenced by analyze().

Member Data Documentation

◆ _RecoMuon1TrackIsoSumPtMaxCutValue_03

double HcalRaddamMuon::_RecoMuon1TrackIsoSumPtMaxCutValue_03
private

Definition at line 130 of file HcalRaddamMuon.cc.

◆ _RecoMuon1TrackIsoSumPtMaxCutValue_04

double HcalRaddamMuon::_RecoMuon1TrackIsoSumPtMaxCutValue_04
private

Definition at line 130 of file HcalRaddamMuon.cc.

◆ actHB

std::vector<HcalDDDRecConstants::HcalActiveLength> HcalRaddamMuon::actHB
private

Definition at line 104 of file HcalRaddamMuon.cc.

Referenced by activeLength(), and beginRun().

◆ actHE

std::vector<HcalDDDRecConstants::HcalActiveLength> HcalRaddamMuon::actHE
private

Definition at line 104 of file HcalRaddamMuon.cc.

Referenced by activeLength(), and beginRun().

◆ all_ifTriggerpassed

std::vector<bool> HcalRaddamMuon::all_ifTriggerpassed
private

Definition at line 118 of file HcalRaddamMuon.cc.

◆ all_triggers

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

Definition at line 113 of file HcalRaddamMuon.cc.

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

◆ all_triggers1

std::vector<std::string> HcalRaddamMuon::all_triggers1
private

Definition at line 113 of file HcalRaddamMuon.cc.

◆ all_triggers2

std::vector<std::string> HcalRaddamMuon::all_triggers2
private

Definition at line 113 of file HcalRaddamMuon.cc.

◆ all_triggers3

std::vector<std::string> HcalRaddamMuon::all_triggers3
private

Definition at line 113 of file HcalRaddamMuon.cc.

◆ all_triggers4

std::vector<std::string> HcalRaddamMuon::all_triggers4
private

Definition at line 113 of file HcalRaddamMuon.cc.

◆ all_triggers5

std::vector<std::string> HcalRaddamMuon::all_triggers5
private

Definition at line 113 of file HcalRaddamMuon.cc.

◆ BXNumber

unsigned int HcalRaddamMuon::BXNumber
private

Definition at line 129 of file HcalRaddamMuon.cc.

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

◆ chiGlobal

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

Definition at line 79 of file HcalRaddamMuon.cc.

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

◆ chiTracker

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

Definition at line 81 of file HcalRaddamMuon.cc.

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

◆ DxyTracker

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

Definition at line 81 of file HcalRaddamMuon.cc.

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

◆ dxyWithBS

std::vector<double> HcalRaddamMuon::dxyWithBS
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ DzTracker

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

Definition at line 81 of file HcalRaddamMuon.cc.

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

◆ dzWithBS

std::vector<double> HcalRaddamMuon::dzWithBS
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ Energy

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

Definition at line 88 of file HcalRaddamMuon.cc.

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

◆ energy_hb

std::vector<float> HcalRaddamMuon::energy_hb
private

Definition at line 121 of file HcalRaddamMuon.cc.

Referenced by beginJob(), and clearVectors().

◆ EtaGlob

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

Definition at line 78 of file HcalRaddamMuon.cc.

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

◆ EventNumber

unsigned int HcalRaddamMuon::EventNumber
private

Definition at line 129 of file HcalRaddamMuon.cc.

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

◆ fs

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

Definition at line 106 of file HcalRaddamMuon.cc.

Referenced by beginJob().

◆ GlobalMuonHits

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

Definition at line 79 of file HcalRaddamMuon.cc.

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

◆ GlobalTrack

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

Definition at line 86 of file HcalRaddamMuon.cc.

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

◆ GlobalTrckEta

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

Definition at line 79 of file HcalRaddamMuon.cc.

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

◆ GlobalTrckPhi

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

Definition at line 79 of file HcalRaddamMuon.cc.

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

◆ GlobalTrckPt

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

Definition at line 79 of file HcalRaddamMuon.cc.

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

◆ h3x3

double HcalRaddamMuon::h3x3
private

Definition at line 128 of file HcalRaddamMuon.cc.

Referenced by analyze().

◆ h3x3Calo

double HcalRaddamMuon::h3x3Calo
private

Definition at line 128 of file HcalRaddamMuon.cc.

Referenced by analyze().

◆ High_TrackLayers

std::vector<double> HcalRaddamMuon::High_TrackLayers
private

Definition at line 84 of file HcalRaddamMuon.cc.

◆ hltConfig_

HLTConfigProvider HcalRaddamMuon::hltConfig_
private

Definition at line 108 of file HcalRaddamMuon.cc.

Referenced by beginRun().

◆ hltlabel_

std::string HcalRaddamMuon::hltlabel_
private

Definition at line 112 of file HcalRaddamMuon.cc.

◆ hltpaths

std::vector<std::string> HcalRaddamMuon::hltpaths
private

Definition at line 122 of file HcalRaddamMuon.cc.

◆ hltresults

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

Definition at line 120 of file HcalRaddamMuon.cc.

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

◆ hlTriggerResults_

const edm::InputTag HcalRaddamMuon::hlTriggerResults_
private

Definition at line 109 of file HcalRaddamMuon.cc.

Referenced by HcalRaddamMuon().

◆ ImpactParameter

std::vector<double> HcalRaddamMuon::ImpactParameter
private

Definition at line 83 of file HcalRaddamMuon.cc.

◆ innerTrack

std::vector<bool> HcalRaddamMuon::innerTrack
private

◆ innerTracketa

std::vector<double> HcalRaddamMuon::innerTracketa
private

Definition at line 80 of file HcalRaddamMuon.cc.

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

◆ innerTrackphi

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

Definition at line 80 of file HcalRaddamMuon.cc.

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

◆ innerTrackpt

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

Definition at line 80 of file HcalRaddamMuon.cc.

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

◆ isAOD_

const bool HcalRaddamMuon::isAOD_
private

Definition at line 111 of file HcalRaddamMuon.cc.

Referenced by HcalRaddamMuon().

◆ isHB

std::vector<bool> HcalRaddamMuon::isHB
private

Definition at line 116 of file HcalRaddamMuon.cc.

◆ isHE

std::vector<bool> HcalRaddamMuon::isHE
private

Definition at line 116 of file HcalRaddamMuon.cc.

◆ IsolationR03

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

Definition at line 87 of file HcalRaddamMuon.cc.

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

◆ IsolationR04

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

Definition at line 87 of file HcalRaddamMuon.cc.

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

◆ LumiNumber

unsigned int HcalRaddamMuon::LumiNumber
private

Definition at line 129 of file HcalRaddamMuon.cc.

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

◆ MatchedStat

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

Definition at line 79 of file HcalRaddamMuon.cc.

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

◆ maxDepth_

int HcalRaddamMuon::maxDepth_
private

Definition at line 105 of file HcalRaddamMuon.cc.

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

◆ muon_global

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

Definition at line 119 of file HcalRaddamMuon.cc.

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

◆ muon_is_good

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

Definition at line 119 of file HcalRaddamMuon.cc.

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

◆ muon_tracker

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

Definition at line 119 of file HcalRaddamMuon.cc.

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

◆ MuonEcal3x3Energy

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

Definition at line 88 of file HcalRaddamMuon.cc.

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

◆ MuonEcalDetId

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

Definition at line 89 of file HcalRaddamMuon.cc.

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

◆ MuonEcalEnergy

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

Definition at line 88 of file HcalRaddamMuon.cc.

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

◆ MuonEHcalDetId

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

Definition at line 89 of file HcalRaddamMuon.cc.

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

◆ MuonHcal1x1Energy

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

Definition at line 88 of file HcalRaddamMuon.cc.

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

◆ MuonHcalActiveLength

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

Definition at line 103 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth1Energy

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

Definition at line 90 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth1EnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth1EnergyCalo
private

Definition at line 96 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth1HotEnergy

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

Definition at line 92 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth1HotEnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth1HotEnergyCalo
private

Definition at line 98 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth2Energy

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

Definition at line 90 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth2EnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth2EnergyCalo
private

Definition at line 96 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth2HotEnergy

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

Definition at line 92 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth2HotEnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth2HotEnergyCalo
private

Definition at line 98 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth3Energy

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

Definition at line 90 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth3EnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth3EnergyCalo
private

Definition at line 96 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth3HotEnergy

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

Definition at line 92 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth3HotEnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth3HotEnergyCalo
private

Definition at line 98 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth4Energy

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

Definition at line 90 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth4EnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth4EnergyCalo
private

Definition at line 96 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth4HotEnergy

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

Definition at line 92 of file HcalRaddamMuon.cc.

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

◆ MuonHcalDepth4HotEnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth4HotEnergyCalo
private

Definition at line 98 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth5Energy

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

Definition at line 90 of file HcalRaddamMuon.cc.

Referenced by analyze(), and clearVectors().

◆ MuonHcalDepth5EnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth5EnergyCalo
private

Definition at line 96 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth5HotEnergy

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

Definition at line 92 of file HcalRaddamMuon.cc.

Referenced by analyze(), and clearVectors().

◆ MuonHcalDepth5HotEnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth5HotEnergyCalo
private

Definition at line 98 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth6Energy

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

Definition at line 90 of file HcalRaddamMuon.cc.

Referenced by analyze(), and clearVectors().

◆ MuonHcalDepth6EnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth6EnergyCalo
private

Definition at line 96 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth6HotEnergy

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

Definition at line 92 of file HcalRaddamMuon.cc.

Referenced by analyze(), and clearVectors().

◆ MuonHcalDepth6HotEnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth6HotEnergyCalo
private

Definition at line 98 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth7Energy

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

Definition at line 90 of file HcalRaddamMuon.cc.

Referenced by analyze(), and clearVectors().

◆ MuonHcalDepth7EnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth7EnergyCalo
private

Definition at line 96 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDepth7HotEnergy

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

Definition at line 92 of file HcalRaddamMuon.cc.

Referenced by analyze(), and clearVectors().

◆ MuonHcalDepth7HotEnergyCalo

std::vector<double> HcalRaddamMuon::MuonHcalDepth7HotEnergyCalo
private

Definition at line 98 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHcalDetId

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

Definition at line 89 of file HcalRaddamMuon.cc.

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

◆ MuonHcalEnergy

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

Definition at line 88 of file HcalRaddamMuon.cc.

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

◆ MuonHcalHot

std::vector<unsigned int> HcalRaddamMuon::MuonHcalHot
private

Definition at line 89 of file HcalRaddamMuon.cc.

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

◆ MuonHcalHotCalo

std::vector<unsigned int> HcalRaddamMuon::MuonHcalHotCalo
private

Definition at line 89 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ MuonHOEnergy

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

Definition at line 88 of file HcalRaddamMuon.cc.

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

◆ muonsrc_

const edm::InputTag HcalRaddamMuon::muonsrc_
private

Definition at line 109 of file HcalRaddamMuon.cc.

Referenced by HcalRaddamMuon().

◆ No_pixelLayers

std::vector<double> HcalRaddamMuon::No_pixelLayers
private

Definition at line 83 of file HcalRaddamMuon.cc.

◆ NormChi2

std::vector<double> HcalRaddamMuon::NormChi2
private

Definition at line 83 of file HcalRaddamMuon.cc.

◆ NPvx

std::vector<double> HcalRaddamMuon::NPvx
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ NPvy

std::vector<double> HcalRaddamMuon::NPvy
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ NPvz

std::vector<double> HcalRaddamMuon::NPvz
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ NQOverP

std::vector<double> HcalRaddamMuon::NQOverP
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ NQOverPError

std::vector<double> HcalRaddamMuon::NQOverPError
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ NRefPointX

std::vector<double> HcalRaddamMuon::NRefPointX
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ NRefPointY

std::vector<double> HcalRaddamMuon::NRefPointY
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ NRefPointZ

std::vector<double> HcalRaddamMuon::NRefPointZ
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ ntriggers

int HcalRaddamMuon::ntriggers
private

Definition at line 131 of file HcalRaddamMuon.cc.

Referenced by beginRun().

◆ NTrkMomentum

std::vector<double> HcalRaddamMuon::NTrkMomentum
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ NumPixelLayers

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

Definition at line 81 of file HcalRaddamMuon.cc.

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

◆ OuterTrack

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

Definition at line 86 of file HcalRaddamMuon.cc.

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

◆ OuterTrackChi

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

Definition at line 82 of file HcalRaddamMuon.cc.

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

◆ OuterTrackEta

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

Definition at line 82 of file HcalRaddamMuon.cc.

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

◆ OuterTrackHits

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

Definition at line 82 of file HcalRaddamMuon.cc.

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

◆ OuterTrackPhi

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

Definition at line 82 of file HcalRaddamMuon.cc.

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

◆ OuterTrackPt

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

Definition at line 82 of file HcalRaddamMuon.cc.

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

◆ OuterTrackRHits

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

Definition at line 82 of file HcalRaddamMuon.cc.

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

◆ PCharge

std::vector<double> HcalRaddamMuon::PCharge
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PChi2

std::vector<double> HcalRaddamMuon::PChi2
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PD0

std::vector<double> HcalRaddamMuon::PD0
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PD0Error

std::vector<double> HcalRaddamMuon::PD0Error
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PdxyTrack

std::vector<double> HcalRaddamMuon::PdxyTrack
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PdzTrack

std::vector<double> HcalRaddamMuon::PdzTrack
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PhiGlob

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

Definition at line 79 of file HcalRaddamMuon.cc.

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

◆ PLostHits

std::vector<double> HcalRaddamMuon::PLostHits
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ Pmuon

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

Definition at line 88 of file HcalRaddamMuon.cc.

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

◆ PNDoF

std::vector<double> HcalRaddamMuon::PNDoF
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PNormalizedChi2

std::vector<double> HcalRaddamMuon::PNormalizedChi2
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PtGlob

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

Definition at line 72 of file HcalRaddamMuon.cc.

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

◆ Pthetha

std::vector<double> HcalRaddamMuon::Pthetha
private

Definition at line 125 of file HcalRaddamMuon.cc.

◆ PValidHits

std::vector<double> HcalRaddamMuon::PValidHits
private

Definition at line 126 of file HcalRaddamMuon.cc.

◆ PxGlob

std::vector<double> HcalRaddamMuon::PxGlob
private

Definition at line 125 of file HcalRaddamMuon.cc.

◆ PyGlob

std::vector<double> HcalRaddamMuon::PyGlob
private

Definition at line 125 of file HcalRaddamMuon.cc.

◆ PzGlob

std::vector<double> HcalRaddamMuon::PzGlob
private

Definition at line 125 of file HcalRaddamMuon.cc.

◆ RunNumber

unsigned int HcalRaddamMuon::RunNumber
private

◆ Tight_GlobalMuonTrkFit

std::vector<double> HcalRaddamMuon::Tight_GlobalMuonTrkFit
private

Definition at line 84 of file HcalRaddamMuon.cc.

◆ Tight_LongPara

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

Definition at line 84 of file HcalRaddamMuon.cc.

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

◆ Tight_MatchedStations

std::vector<double> HcalRaddamMuon::Tight_MatchedStations
private

Definition at line 84 of file HcalRaddamMuon.cc.

◆ Tight_MuonHits

std::vector<double> HcalRaddamMuon::Tight_MuonHits
private

Definition at line 84 of file HcalRaddamMuon.cc.

◆ Tight_PixelHits

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

Definition at line 84 of file HcalRaddamMuon.cc.

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

◆ Tight_TransImpara

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

Definition at line 84 of file HcalRaddamMuon.cc.

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

◆ Tight_TrkerLayers

std::vector<double> HcalRaddamMuon::Tight_TrkerLayers
private

Definition at line 84 of file HcalRaddamMuon.cc.

◆ time_hb

std::vector<float> HcalRaddamMuon::time_hb
private

Definition at line 121 of file HcalRaddamMuon.cc.

Referenced by beginJob(), and clearVectors().

◆ tok_bs_

edm::EDGetTokenT<reco::BeamSpot> HcalRaddamMuon::tok_bs_
private

Definition at line 138 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_EB_

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

Definition at line 139 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_EE_

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

Definition at line 140 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_hbhe_

edm::EDGetTokenT<HBHERecHitCollection> HcalRaddamMuon::tok_hbhe_
private

Definition at line 141 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_hcal_

edm::EDGetTokenT<edm::PCaloHitContainer> HcalRaddamMuon::tok_hcal_
private

Definition at line 135 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_muon_

edm::EDGetTokenT<reco::MuonCollection> HcalRaddamMuon::tok_muon_
private

Definition at line 142 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_recVtx_

edm::EDGetTokenT<reco::VertexCollection> HcalRaddamMuon::tok_recVtx_
private

Definition at line 137 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_trigRes_

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

Definition at line 136 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ track_cosmic_detid

std::vector<double> HcalRaddamMuon::track_cosmic_detid
private

Definition at line 132 of file HcalRaddamMuon.cc.

◆ track_cosmic_detIDinner

std::vector<double> HcalRaddamMuon::track_cosmic_detIDinner
private

Definition at line 75 of file HcalRaddamMuon.cc.

◆ track_cosmic_detIDouter

std::vector<double> HcalRaddamMuon::track_cosmic_detIDouter
private

Definition at line 75 of file HcalRaddamMuon.cc.

◆ track_cosmic_momentumIX

std::vector<double> HcalRaddamMuon::track_cosmic_momentumIX
private

Definition at line 75 of file HcalRaddamMuon.cc.

◆ track_cosmic_momentumIY

std::vector<double> HcalRaddamMuon::track_cosmic_momentumIY
private

Definition at line 75 of file HcalRaddamMuon.cc.

◆ track_cosmic_momentumIZ

std::vector<double> HcalRaddamMuon::track_cosmic_momentumIZ
private

Definition at line 75 of file HcalRaddamMuon.cc.

◆ track_cosmic_momentumOX

std::vector<double> HcalRaddamMuon::track_cosmic_momentumOX
private

Definition at line 75 of file HcalRaddamMuon.cc.

◆ track_cosmic_momentumOY

std::vector<double> HcalRaddamMuon::track_cosmic_momentumOY
private

Definition at line 75 of file HcalRaddamMuon.cc.

◆ track_cosmic_momentumOZ

std::vector<double> HcalRaddamMuon::track_cosmic_momentumOZ
private

Definition at line 75 of file HcalRaddamMuon.cc.

◆ track_cosmic_positionIX

std::vector<double> HcalRaddamMuon::track_cosmic_positionIX
private

Definition at line 72 of file HcalRaddamMuon.cc.

◆ track_cosmic_positionIY

std::vector<double> HcalRaddamMuon::track_cosmic_positionIY
private

Definition at line 72 of file HcalRaddamMuon.cc.

◆ track_cosmic_positionIZ

std::vector<double> HcalRaddamMuon::track_cosmic_positionIZ
private

Definition at line 72 of file HcalRaddamMuon.cc.

◆ track_cosmic_positionOX

std::vector<double> HcalRaddamMuon::track_cosmic_positionOX
private

Definition at line 72 of file HcalRaddamMuon.cc.

◆ track_cosmic_positionOY

std::vector<double> HcalRaddamMuon::track_cosmic_positionOY
private

Definition at line 72 of file HcalRaddamMuon.cc.

◆ track_cosmic_positionOZ

std::vector<double> HcalRaddamMuon::track_cosmic_positionOZ
private

Definition at line 72 of file HcalRaddamMuon.cc.

◆ track_cosmic_rad

std::vector<double> HcalRaddamMuon::track_cosmic_rad
private

Definition at line 132 of file HcalRaddamMuon.cc.

◆ track_cosmic_xmomentum

std::vector<double> HcalRaddamMuon::track_cosmic_xmomentum
private

Definition at line 132 of file HcalRaddamMuon.cc.

◆ track_cosmic_xposition

std::vector<double> HcalRaddamMuon::track_cosmic_xposition
private

Definition at line 132 of file HcalRaddamMuon.cc.

◆ track_cosmic_ymomentum

std::vector<double> HcalRaddamMuon::track_cosmic_ymomentum
private

Definition at line 132 of file HcalRaddamMuon.cc.

◆ track_cosmic_yposition

std::vector<double> HcalRaddamMuon::track_cosmic_yposition
private

Definition at line 132 of file HcalRaddamMuon.cc.

◆ track_cosmic_zmomentum

std::vector<double> HcalRaddamMuon::track_cosmic_zmomentum
private

Definition at line 132 of file HcalRaddamMuon.cc.

◆ track_cosmic_zposition

std::vector<double> HcalRaddamMuon::track_cosmic_zposition
private

Definition at line 132 of file HcalRaddamMuon.cc.

◆ TrackerLayer

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

Definition at line 80 of file HcalRaddamMuon.cc.

◆ trackerlayer_hits

std::vector<double> HcalRaddamMuon::trackerlayer_hits
private

Definition at line 83 of file HcalRaddamMuon.cc.

◆ TREE

TTree* HcalRaddamMuon::TREE
private

Definition at line 117 of file HcalRaddamMuon.cc.

Referenced by analyze(), and beginJob().

◆ TrigName_

std::vector<std::string> HcalRaddamMuon::TrigName_
private

Definition at line 122 of file HcalRaddamMuon.cc.

◆ Trk_match_MuStat

std::vector<bool> HcalRaddamMuon::Trk_match_MuStat
private

Definition at line 119 of file HcalRaddamMuon.cc.

◆ type

int HcalRaddamMuon::type
private

◆ useRaw_

const int HcalRaddamMuon::useRaw_
private

Definition at line 110 of file HcalRaddamMuon.cc.

Referenced by analyze().

◆ v_RH_h3x3_ene

std::vector<double> HcalRaddamMuon::v_RH_h3x3_ene
private

Definition at line 125 of file HcalRaddamMuon.cc.

◆ v_RH_h3x3_ieta

std::vector<int> HcalRaddamMuon::v_RH_h3x3_ieta
private

Definition at line 123 of file HcalRaddamMuon.cc.

◆ v_RH_h3x3_iphi

std::vector<int> HcalRaddamMuon::v_RH_h3x3_iphi
private

Definition at line 124 of file HcalRaddamMuon.cc.

◆ verbosity_

const int HcalRaddamMuon::verbosity_
private

Definition at line 110 of file HcalRaddamMuon.cc.

Referenced by analyze().

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
HcalRaddamMuon::EtaGlob
std::vector< double > EtaGlob
Definition: HcalRaddamMuon.cc:78
HcalRaddamMuon::actHE
std::vector< HcalDDDRecConstants::HcalActiveLength > actHE
Definition: HcalRaddamMuon.cc:104
HcalRaddamMuon::innerTrackphi
std::vector< double > innerTrackphi
Definition: HcalRaddamMuon.cc:80
HcalRaddamMuon::Tight_TransImpara
std::vector< double > Tight_TransImpara
Definition: HcalRaddamMuon.cc:84
mps_fire.i
i
Definition: mps_fire.py:355
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
HcalRaddamMuon::NumPixelLayers
std::vector< double > NumPixelLayers
Definition: HcalRaddamMuon.cc:81
HcalRaddamMuon::OuterTrackPhi
std::vector< double > OuterTrackPhi
Definition: HcalRaddamMuon.cc:82
HcalRaddamMuon::tok_bs_
edm::EDGetTokenT< reco::BeamSpot > tok_bs_
Definition: HcalRaddamMuon.cc:138
HcalRaddamMuon::OuterTrack
std::vector< bool > OuterTrack
Definition: HcalRaddamMuon.cc:86
HcalRaddamMuon::MuonHcalDepth5EnergyCalo
std::vector< double > MuonHcalDepth5EnergyCalo
Definition: HcalRaddamMuon.cc:96
HcalRaddamMuon::chiTracker
std::vector< double > chiTracker
Definition: HcalRaddamMuon.cc:81
HcalRaddamMuon::BXNumber
unsigned int BXNumber
Definition: HcalRaddamMuon.cc:129
HcalRaddamMuon::muonsrc_
const edm::InputTag muonsrc_
Definition: HcalRaddamMuon.cc:109
HcalRaddamMuon::matchId
int matchId(const HcalDetId &, const HcalDetId &)
Definition: HcalRaddamMuon.cc:822
HcalRaddamMuon::MuonHcalDepth6EnergyCalo
std::vector< double > MuonHcalDepth6EnergyCalo
Definition: HcalRaddamMuon.cc:96
HcalRaddamMuon::PtGlob
std::vector< double > PtGlob
Definition: HcalRaddamMuon.cc:72
HcalRaddamMuon::MuonHcalDepth6HotEnergy
std::vector< double > MuonHcalDepth6HotEnergy
Definition: HcalRaddamMuon.cc:92
spr::propagatedTrackID::detIdEHCAL
DetId detIdEHCAL
Definition: CaloPropagateTrack.h:47
HcalRaddamMuon::hltresults
std::vector< int > hltresults
Definition: HcalRaddamMuon.cc:120
HcalRaddamMuon::MuonEHcalDetId
std::vector< unsigned int > MuonEHcalDetId
Definition: HcalRaddamMuon.cc:89
HcalRaddamMuon::MuonHcalDepth7HotEnergyCalo
std::vector< double > MuonHcalDepth7HotEnergyCalo
Definition: HcalRaddamMuon.cc:98
HcalRaddamMuon::actHB
std::vector< HcalDDDRecConstants::HcalActiveLength > actHB
Definition: HcalRaddamMuon.cc:104
HcalRaddamMuon::MuonHcalDepth3EnergyCalo
std::vector< double > MuonHcalDepth3EnergyCalo
Definition: HcalRaddamMuon.cc:96
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
HcalDDDRecConstants::getThickActive
std::vector< HcalActiveLength > getThickActive(const int &type) const
Definition: HcalDDDRecConstants.cc:465
HcalRaddamMuon::fs
edm::Service< TFileService > fs
Definition: HcalRaddamMuon.cc:106
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
HcalRaddamMuon::MuonHcalDepth1HotEnergy
std::vector< double > MuonHcalDepth1HotEnergy
Definition: HcalRaddamMuon.cc:92
globals_cff.id1
id1
Definition: globals_cff.py:32
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HcalTopology
Definition: HcalTopology.h:26
HcalRaddamMuon::MuonHOEnergy
std::vector< double > MuonHOEnergy
Definition: HcalRaddamMuon.cc:88
edm::LogInfo
Definition: MessageLogger.h:254
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
HcalRaddamMuon::IsolationR03
std::vector< double > IsolationR03
Definition: HcalRaddamMuon.cc:87
HcalRaddamMuon::MuonHcalDepth3HotEnergy
std::vector< double > MuonHcalDepth3HotEnergy
Definition: HcalRaddamMuon.cc:92
HcalRaddamMuon::MuonHcalDepth1HotEnergyCalo
std::vector< double > MuonHcalDepth1HotEnergyCalo
Definition: HcalRaddamMuon.cc:98
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalRaddamMuon::PhiGlob
std::vector< double > PhiGlob
Definition: HcalRaddamMuon.cc:79
HcalRaddamMuon::tok_trigRes_
edm::EDGetTokenT< edm::TriggerResults > tok_trigRes_
Definition: HcalRaddamMuon.cc:136
CaloTopologyRecord
Definition: CaloTopologyRecord.h:10
HcalBarrel
Definition: HcalAssistant.h:33
HcalRaddamMuon::Tight_PixelHits
std::vector< double > Tight_PixelHits
Definition: HcalRaddamMuon.cc:84
HcalRaddamMuon::hltConfig_
HLTConfigProvider hltConfig_
Definition: HcalRaddamMuon.cc:108
HcalRaddamMuon::DzTracker
std::vector< double > DzTracker
Definition: HcalRaddamMuon.cc:81
EcalCondObjectContainer< EcalChannelStatusCode >
edm::Handle
Definition: AssociativeIterator.h:50
HcalRaddamMuon::MuonHcalEnergy
std::vector< double > MuonHcalEnergy
Definition: HcalRaddamMuon.cc:88
HcalRaddamMuon::MuonHcalDepth7Energy
std::vector< double > MuonHcalDepth7Energy
Definition: HcalRaddamMuon.cc:90
HcalRaddamMuon::MuonHcalDepth2Energy
std::vector< double > MuonHcalDepth2Energy
Definition: HcalRaddamMuon.cc:90
HcalRaddamMuon::OuterTrackHits
std::vector< double > OuterTrackHits
Definition: HcalRaddamMuon.cc:82
CaloTopology
Definition: CaloTopology.h:19
HcalRaddamMuon::MuonHcalDepth5HotEnergy
std::vector< double > MuonHcalDepth5HotEnergy
Definition: HcalRaddamMuon.cc:92
HcalRaddamMuon::MuonHcal1x1Energy
std::vector< double > MuonHcal1x1Energy
Definition: HcalRaddamMuon.cc:88
HcalRaddamMuon::muon_global
std::vector< bool > muon_global
Definition: HcalRaddamMuon.cc:119
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
HcalRaddamMuon::MuonHcalDetId
std::vector< unsigned int > MuonHcalDetId
Definition: HcalRaddamMuon.cc:89
DetId
Definition: DetId.h:17
HcalRaddamMuon::MuonHcalDepth6Energy
std::vector< double > MuonHcalDepth6Energy
Definition: HcalRaddamMuon.cc:90
HcalRaddamMuon::MuonHcalDepth2EnergyCalo
std::vector< double > MuonHcalDepth2EnergyCalo
Definition: HcalRaddamMuon.cc:96
CaloGeometry
Definition: CaloGeometry.h:21
spr::energyHCALCell
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, int useRaw=0, int depthHE=3, bool debug=false)
HcalRaddamMuon::MuonHcalHotCalo
std::vector< unsigned int > MuonHcalHotCalo
Definition: HcalRaddamMuon.cc:89
HcalRaddamMuon::IsolationR04
std::vector< double > IsolationR04
Definition: HcalRaddamMuon.cc:87
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
spr::eECALmatrix
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)
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HcalRaddamMuon::muon_tracker
std::vector< bool > muon_tracker
Definition: HcalRaddamMuon.cc:119
HcalRaddamMuon::clearVectors
void clearVectors()
Definition: HcalRaddamMuon.cc:749
edm::HLTGlobalStatus::size
unsigned int size() const
Get number of paths stored.
Definition: HLTGlobalStatus.h:35
HcalRaddamMuon::GlobalMuonHits
std::vector< double > GlobalMuonHits
Definition: HcalRaddamMuon.cc:79
HcalRaddamMuon::ntriggers
int ntriggers
Definition: HcalRaddamMuon.cc:131
HcalRaddamMuon::MuonHcalDepth2HotEnergyCalo
std::vector< double > MuonHcalDepth2HotEnergyCalo
Definition: HcalRaddamMuon.cc:98
HcalRaddamMuon::OuterTrackPt
std::vector< double > OuterTrackPt
Definition: HcalRaddamMuon.cc:82
spr::propagatedTrackID::okECAL
bool okECAL
Definition: CaloPropagateTrack.h:46
HcalRaddamMuon::tok_EE_
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
Definition: HcalRaddamMuon.cc:140
HcalRaddamMuon::innerTrack
std::vector< bool > innerTrack
Definition: HcalRaddamMuon.cc:86
reco::Track
Definition: Track.h:27
edm::ESHandle< CaloGeometry >
EcalSeverityLevelAlgoRcd
Definition: EcalSeverityLevelAlgoRcd.h:12
HcalRaddamMuon::EventNumber
unsigned int EventNumber
Definition: HcalRaddamMuon.cc:129
HcalRaddamMuon::MuonHcalDepth7HotEnergy
std::vector< double > MuonHcalDepth7HotEnergy
Definition: HcalRaddamMuon.cc:92
reco::BeamSpot::position
const Point & position() const
position
Definition: BeamSpot.h:59
HcalRaddamMuon::OuterTrackEta
std::vector< double > OuterTrackEta
Definition: HcalRaddamMuon.cc:82
OrderedSet.t
t
Definition: OrderedSet.py:90
HcalRaddamMuon::isAOD_
const bool isAOD_
Definition: HcalRaddamMuon.cc:111
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
HcalDDDRecConstants::getMinDepth
int getMinDepth(const int &itype, const int &ieta, const int &iphi, const int &zside) const
Definition: HcalDDDRecConstants.cc:353
HcalRaddamMuon::chiGlobal
std::vector< double > chiGlobal
Definition: HcalRaddamMuon.cc:79
badGlobalMuonTaggersAOD_cff.vtx
vtx
Definition: badGlobalMuonTaggersAOD_cff.py:5
HcalRaddamMuon::tok_muon_
edm::EDGetTokenT< reco::MuonCollection > tok_muon_
Definition: HcalRaddamMuon.cc:142
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLTConfigProvider::size
unsigned int size() const
number of trigger paths in trigger table
Definition: HLTConfigProvider.h:62
HcalRaddamMuon::MuonHcalDepth5Energy
std::vector< double > MuonHcalDepth5Energy
Definition: HcalRaddamMuon.cc:90
HcalRaddamMuon::MuonHcalDepth4EnergyCalo
std::vector< double > MuonHcalDepth4EnergyCalo
Definition: HcalRaddamMuon.cc:96
HcalRaddamMuon::MuonHcalDepth1EnergyCalo
std::vector< double > MuonHcalDepth1EnergyCalo
Definition: HcalRaddamMuon.cc:96
edm::ParameterSetDescription::addUntracked
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:100
HcalRaddamMuon::MuonHcalDepth4HotEnergy
std::vector< double > MuonHcalDepth4HotEnergy
Definition: HcalRaddamMuon.cc:92
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
spr::propagatedTrackID::detIdHCAL
DetId detIdHCAL
Definition: CaloPropagateTrack.h:47
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
HcalRaddamMuon::MuonHcalHot
std::vector< unsigned int > MuonHcalHot
Definition: HcalRaddamMuon.cc:89
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
HcalRaddamMuon::useRaw_
const int useRaw_
Definition: HcalRaddamMuon.cc:110
edm::LogError
Definition: MessageLogger.h:183
spr::propagatedTrackID::detIdECAL
DetId detIdECAL
Definition: CaloPropagateTrack.h:47
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
HcalRaddamMuon::MuonEcalEnergy
std::vector< double > MuonEcalEnergy
Definition: HcalRaddamMuon.cc:88
EcalChannelStatusRcd
Definition: EcalChannelStatusRcd.h:5
HcalRaddamMuon::MuonEcal3x3Energy
std::vector< double > MuonEcal3x3Energy
Definition: HcalRaddamMuon.cc:88
HcalTopology::dddConstants
const HcalDDDRecConstants * dddConstants() const
Definition: HcalTopology.h:164
match
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
TrackerLayer
Definition: TrackerLayer.h:13
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
HcalRaddamMuon::tok_recVtx_
edm::EDGetTokenT< reco::VertexCollection > tok_recVtx_
Definition: HcalRaddamMuon.cc:137
HcalRaddamMuon::MuonHcalDepth5HotEnergyCalo
std::vector< double > MuonHcalDepth5HotEnergyCalo
Definition: HcalRaddamMuon.cc:98
HcalDetId
Definition: HcalDetId.h:12
createfilelist.int
int
Definition: createfilelist.py:10
HcalRaddamMuon::DxyTracker
std::vector< double > DxyTracker
Definition: HcalRaddamMuon.cc:81
iEvent
int iEvent
Definition: GenABIO.cc:224
HcalRaddamMuon::OuterTrackRHits
std::vector< double > OuterTrackRHits
Definition: HcalRaddamMuon.cc:82
HcalRaddamMuon::LumiNumber
unsigned int LumiNumber
Definition: HcalRaddamMuon.cc:129
HcalRaddamMuon::GlobalTrckPhi
std::vector< double > GlobalTrckPhi
Definition: HcalRaddamMuon.cc:79
HcalRaddamMuon::MuonHcalDepth4HotEnergyCalo
std::vector< double > MuonHcalDepth4HotEnergyCalo
Definition: HcalRaddamMuon.cc:98
get
#define get
HcalRaddamMuon::TREE
TTree * TREE
Definition: HcalRaddamMuon.cc:117
spr::propagatedTrackID::okHCAL
bool okHCAL
Definition: CaloPropagateTrack.h:46
HcalRaddamMuon::MuonHcalDepth7EnergyCalo
std::vector< double > MuonHcalDepth7EnergyCalo
Definition: HcalRaddamMuon.cc:96
photonIsolationHIProducer_cfi.hbhe
hbhe
Definition: photonIsolationHIProducer_cfi.py:8
spr::propagateCALO
std::vector< spr::propagatedTrackID > propagateCALO(edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, const std::string &theTrackQuality, bool debug=false)
Definition: CaloPropagateTrack.cc:141
HcalRaddamMuon::time_hb
std::vector< float > time_hb
Definition: HcalRaddamMuon.cc:121
HcalRaddamMuon::MuonHcalDepth6HotEnergyCalo
std::vector< double > MuonHcalDepth6HotEnergyCalo
Definition: HcalRaddamMuon.cc:98
HcalRaddamMuon::MuonHcalDepth1Energy
std::vector< double > MuonHcalDepth1Energy
Definition: HcalRaddamMuon.cc:90
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
HcalRaddamMuon::MuonHcalDepth2HotEnergy
std::vector< double > MuonHcalDepth2HotEnergy
Definition: HcalRaddamMuon.cc:92
HcalRaddamMuon::innerTrackpt
std::vector< double > innerTrackpt
Definition: HcalRaddamMuon.cc:80
HcalRaddamMuon::tok_hbhe_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
Definition: HcalRaddamMuon.cc:141
HLTConfigProvider::init
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
Definition: HLTConfigProvider.cc:36
Calorimetry_cff.bField
bField
Definition: Calorimetry_cff.py:292
HcalRaddamMuon::RunNumber
unsigned int RunNumber
Definition: HcalRaddamMuon.cc:129
HcalRaddamMuon::GlobalTrckPt
std::vector< double > GlobalTrckPt
Definition: HcalRaddamMuon.cc:79
HcalRaddamMuon::Pmuon
std::vector< double > Pmuon
Definition: HcalRaddamMuon.cc:88
HcalRaddamMuon::h3x3Calo
double h3x3Calo
Definition: HcalRaddamMuon.cc:128
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
HcalRaddamMuon::muon_is_good
std::vector< bool > muon_is_good
Definition: HcalRaddamMuon.cc:119
edm::TriggerNames
Definition: TriggerNames.h:55
HcalRaddamMuon::hlTriggerResults_
const edm::InputTag hlTriggerResults_
Definition: HcalRaddamMuon.cc:109
spr::propagatedTrackID
Definition: CaloPropagateTrack.h:40
HcalRaddamMuon::maxDepth_
int maxDepth_
Definition: HcalRaddamMuon.cc:105
spr::eHCALmatrix
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, int useRaw=0, bool debug=false)
edm::HLTGlobalStatus::accept
bool accept() const
Has at least one path accepted the event?
Definition: HLTGlobalStatus.h:49
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
HcalRaddamMuon::OuterTrackChi
std::vector< double > OuterTrackChi
Definition: HcalRaddamMuon.cc:82
HcalRaddamMuon::tok_EB_
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
Definition: HcalRaddamMuon.cc:139
HcalDDDRecConstants
Definition: HcalDDDRecConstants.h:23
HcalRaddamMuon::innerTracketa
std::vector< double > innerTracketa
Definition: HcalRaddamMuon.cc:80
HLTConfigProvider::triggerName
const std::string & triggerName(unsigned int triggerIndex) const
Definition: HLTConfigProvider.h:69
HcalRaddamMuon::Tight_LongPara
std::vector< double > Tight_LongPara
Definition: HcalRaddamMuon.cc:84
HcalRaddamMuon::MuonHcalDepth4Energy
std::vector< double > MuonHcalDepth4Energy
Definition: HcalRaddamMuon.cc:90
HcalRaddamMuon::MuonHcalActiveLength
std::vector< double > MuonHcalActiveLength
Definition: HcalRaddamMuon.cc:103
HcalRaddamMuon::energy_hb
std::vector< float > energy_hb
Definition: HcalRaddamMuon.cc:121
HcalRaddamMuon::GlobalTrack
std::vector< bool > GlobalTrack
Definition: HcalRaddamMuon.cc:86
globals_cff.id2
id2
Definition: globals_cff.py:33
HcalRaddamMuon::h3x3
double h3x3
Definition: HcalRaddamMuon.cc:128
HcalRaddamMuon::tok_hcal_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hcal_
Definition: HcalRaddamMuon.cc:135
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
HcalRaddamMuon::MuonHcalDepth3Energy
std::vector< double > MuonHcalDepth3Energy
Definition: HcalRaddamMuon.cc:90
HcalRaddamMuon::MatchedStat
std::vector< double > MatchedStat
Definition: HcalRaddamMuon.cc:79
edm::TriggerNames::triggerIndex
unsigned int triggerIndex(std::string const &name) const
Definition: TriggerNames.cc:24
MagneticField
Definition: MagneticField.h:19
HcalRaddamMuon::GlobalTrckEta
std::vector< double > GlobalTrckEta
Definition: HcalRaddamMuon.cc:79
HcalRaddamMuon::verbosity_
const int verbosity_
Definition: HcalRaddamMuon.cc:110
edm::InputTag
Definition: InputTag.h:15
HcalRaddamMuon::MuonEcalDetId
std::vector< unsigned int > MuonEcalDetId
Definition: HcalRaddamMuon.cc:89
begin
#define begin
Definition: vmac.h:32
HcalRaddamMuon::activeLength
double activeLength(const DetId &)
Definition: HcalRaddamMuon.cc:829
HcalRaddamMuon::MuonHcalDepth3HotEnergyCalo
std::vector< double > MuonHcalDepth3HotEnergyCalo
Definition: HcalRaddamMuon.cc:98
HcalRaddamMuon::Energy
std::vector< double > Energy
Definition: HcalRaddamMuon.cc:88
reco::Vertex
Definition: Vertex.h:35
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
HcalRaddamMuon::all_triggers
std::vector< std::string > all_triggers
Definition: HcalRaddamMuon.cc:113