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

Static Public Member Functions

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

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::ESGetToken< CaloTopology, CaloTopologyRecordtok_caloTopology_
 
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecordtok_ddrec_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_EB_
 
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcdtok_ecalChStatus_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_EE_
 
edm::ESGetToken< CaloGeometry, CaloGeometryRecordtok_geom_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_hbhe_
 
edm::EDGetTokenT< edm::PCaloHitContainertok_hcal_
 
edm::ESGetToken< MagneticField, IdealMagneticFieldRecordtok_magField_
 
edm::EDGetTokenT< reco::MuonCollectiontok_muon_
 
edm::EDGetTokenT< reco::VertexCollectiontok_recVtx_
 
edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcdtok_sevlv_
 
edm::ESGetToken< HcalTopology, HcalRecNumberingRecordtok_topo_
 
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
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 54 of file HcalRaddamMuon.cc.

Constructor & Destructor Documentation

◆ HcalRaddamMuon()

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

Definition at line 153 of file HcalRaddamMuon.cc.

References edm::ParameterSet::getUntrackedParameter(), hlTriggerResults_, HLT_2022v11_cff::InputTag, isAOD_, TFileService::kSharedResource, maxDepth_, muonsrc_, tok_bs_, tok_caloTopology_, tok_ddrec_, tok_EB_, tok_ecalChStatus_, tok_EE_, tok_geom_, tok_hbhe_, tok_hcal_, tok_magField_, tok_muon_, tok_recVtx_, tok_sevlv_, tok_topo_, and tok_trigRes_.

154  : hlTriggerResults_(iConfig.getUntrackedParameter<edm::InputTag>("hlTriggerResults_")),
155  muonsrc_(iConfig.getUntrackedParameter<edm::InputTag>("muonSource")),
156  verbosity_(iConfig.getUntrackedParameter<int>("verbosity", 0)),
157  useRaw_(iConfig.getUntrackedParameter<int>("UseRaw", 0)),
158  isAOD_(iConfig.getUntrackedParameter<bool>("IsAOD", false)) {
159  usesResource(TFileService::kSharedResource);
160 
161  //now do what ever initialization is needed
162  maxDepth_ = iConfig.getUntrackedParameter<int>("MaxDepth", 4);
163  if (maxDepth_ > 7)
164  maxDepth_ = 7;
165  else if (maxDepth_ < 1)
166  maxDepth_ = 4;
167 
168  tok_hcal_ = consumes<edm::PCaloHitContainer>(edm::InputTag("g4SimHits", "HcalHits"));
169  tok_trigRes_ = consumes<edm::TriggerResults>(hlTriggerResults_);
170  tok_recVtx_ = consumes<reco::VertexCollection>(edm::InputTag("offlinePrimaryVertices"));
171  tok_bs_ = consumes<reco::BeamSpot>(edm::InputTag("offlineBeamSpot"));
172  if (isAOD_) {
173  tok_EB_ = consumes<EcalRecHitCollection>(edm::InputTag("reducedEcalRecHitsEB"));
174  tok_EE_ = consumes<EcalRecHitCollection>(edm::InputTag("reducedEcalRecHitsEE"));
175  tok_hbhe_ = consumes<HBHERecHitCollection>(edm::InputTag("reducedHcalRecHits", "hbhereco"));
176  } else {
177  tok_EB_ = consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
178  tok_EE_ = consumes<EcalRecHitCollection>(edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
179  tok_hbhe_ = consumes<HBHERecHitCollection>(edm::InputTag("hbhereco"));
180  }
181  tok_muon_ = consumes<reco::MuonCollection>(muonsrc_);
182 
183  tok_ddrec_ = esConsumes<HcalDDDRecConstants, HcalRecNumberingRecord, edm::Transition::BeginRun>();
184  tok_geom_ = esConsumes<CaloGeometry, CaloGeometryRecord>();
185  tok_caloTopology_ = esConsumes<CaloTopology, CaloTopologyRecord>();
186  tok_topo_ = esConsumes<HcalTopology, HcalRecNumberingRecord>();
187  tok_magField_ = esConsumes<MagneticField, IdealMagneticFieldRecord>();
188  tok_ecalChStatus_ = esConsumes<EcalChannelStatus, EcalChannelStatusRcd>();
189  tok_sevlv_ = esConsumes<EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd>();
190 }
static const std::string kSharedResource
Definition: TFileService.h:76
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hcal_
edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd > tok_sevlv_
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
edm::EDGetTokenT< reco::VertexCollection > tok_recVtx_
edm::ESGetToken< CaloTopology, CaloTopologyRecord > tok_caloTopology_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
const edm::InputTag hlTriggerResults_
T getUntrackedParameter(std::string const &, T const &) const
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_ddrec_
edm::EDGetTokenT< edm::TriggerResults > tok_trigRes_
const edm::InputTag muonsrc_
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > tok_ecalChStatus_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
const int verbosity_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > tok_magField_
edm::EDGetTokenT< reco::MuonCollection > tok_muon_
const bool isAOD_
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_topo_
edm::EDGetTokenT< reco::BeamSpot > tok_bs_

◆ ~HcalRaddamMuon()

HcalRaddamMuon::~HcalRaddamMuon ( )
override

Definition at line 192 of file HcalRaddamMuon.cc.

192  {
193  // do anything here that needs to be done at desctruction time
194  // (e.g. close files, deallocate resources etc.)
195 }

Member Function Documentation

◆ activeLength()

double HcalRaddamMuon::activeLength ( const DetId id_)
private

Definition at line 838 of file HcalRaddamMuon.cc.

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

Referenced by analyze().

838  {
839  HcalDetId id(id_);
840  int ieta = id.ietaAbs();
841  int depth = id.depth();
842  double lx(0);
843  if (id.subdet() == HcalBarrel) {
844  if (((verbosity_ / 10) % 10) > 2)
845  edm::LogVerbatim("HBHEMuon") << "actHB.size() " << actHB.size();
846  for (unsigned int i = 0; i < actHB.size(); ++i) {
847  if (ieta == actHB[i].ieta && depth == actHB[i].depth) {
848  lx = actHB[i].thick;
849  break;
850  }
851  }
852  } else {
853  if (((verbosity_ / 10) % 10) > 2)
854  edm::LogVerbatim("HBHEMuon") << "actHE.size() " << actHE.size();
855  for (unsigned int i = 0; i < actHE.size(); ++i) {
856  if (ieta == actHE[i].ieta && depth == actHE[i].depth) {
857  lx = actHE[i].thick;
858  break;
859  }
860  }
861  }
862  if (((verbosity_ / 10) % 10) > 2)
863  edm::LogVerbatim("HBHEMuon") << "active thick " << lx;
864  return lx;
865 }
Log< level::Info, true > LogVerbatim
std::vector< HcalDDDRecConstants::HcalActiveLength > actHB
std::vector< HcalDDDRecConstants::HcalActiveLength > actHE
const int verbosity_

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 202 of file HcalRaddamMuon.cc.

References edm::HLTGlobalStatus::accept(), activeLength(), all_triggers, Calorimetry_cff::bField, BXNumber, chiGlobal, chiTracker, clearVectors(), HcalTopology::dddConstants(), spr::propagatedTrackID::detIdECAL, spr::propagatedTrackID::detIdEHCAL, spr::propagatedTrackID::detIdHCAL, DxyTracker, DzTracker, spr::eECALmatrix(), spr::eHCALmatrix(), Energy, spr::energyHCALCell(), EtaGlob, EventNumber, edm::EventSetup::getData(), 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, spr::propagateCALO(), DiDispStaMuonMonitor_cfi::pt, PtGlob, DetId::rawId(), RunNumber, edm::second(), edm::HLTGlobalStatus::size(), Tight_LongPara, Tight_PixelHits, Tight_TransImpara, tok_bs_, tok_caloTopology_, tok_EB_, tok_ecalChStatus_, tok_EE_, tok_geom_, tok_hbhe_, tok_hcal_, tok_magField_, tok_muon_, tok_recVtx_, tok_sevlv_, tok_topo_, tok_trigRes_, TREE, edm::TriggerNames::triggerIndex(), useRaw_, verbosity_, bphysicsOniaDQM_cfi::vertex, extraflags_cff::vtx, and ecaldqm::zside().

202  {
203  clearVectors();
204  RunNumber = iEvent.id().run();
205  EventNumber = iEvent.id().event();
206  LumiNumber = iEvent.id().luminosityBlock();
207  BXNumber = iEvent.bunchCrossing();
208 
210  iEvent.getByToken(tok_hcal_, calosimhits);
211 
213  iEvent.getByToken(tok_trigRes_, _Triggers);
214 
215  if ((verbosity_ % 10) > 1)
216  edm::LogVerbatim("HBHEMuon") << "size of all triggers " << all_triggers.size();
217  int Ntriggers = all_triggers.size();
218 
219  if ((verbosity_ % 10) > 1)
220  edm::LogVerbatim("HBHEMuon") << "size of HLT MENU: " << _Triggers->size();
221 
222  if (_Triggers.isValid()) {
223  const edm::TriggerNames& triggerNames_ = iEvent.triggerNames(*_Triggers);
224 
225  std::vector<int> index;
226  for (int i = 0; i < Ntriggers; i++) {
227  index.push_back(triggerNames_.triggerIndex(all_triggers[i]));
228  int triggerSize = int(_Triggers->size());
229  if ((verbosity_ % 10) > 2)
230  edm::LogVerbatim("HBHEMuon") << "outside loop " << index[i] << "\ntriggerSize " << triggerSize;
231  if (index[i] < triggerSize) {
232  hltresults.push_back(_Triggers->accept(index[i]));
233  if ((verbosity_ % 10) > 2)
234  edm::LogVerbatim("HBHEMuon") << "trigger_info " << triggerSize << " triggerSize " << index[i]
235  << " trigger_index " << hltresults.at(i) << " hltresult ";
236  } else {
237  edm::LogVerbatim("HBHEMuon") << "Requested HLT path \""
238  << "\" does not exist";
239  }
240  }
241  }
242 
243  // get handles to calogeometry and calotopology
244  const CaloGeometry* geo = &iSetup.getData(tok_geom_);
245  const MagneticField* bField = &iSetup.getData(tok_magField_);
246  const EcalChannelStatus* theEcalChStatus = &iSetup.getData(tok_ecalChStatus_);
247  const EcalSeverityLevelAlgo* sevlv = &iSetup.getData(tok_sevlv_);
248  const CaloTopology* caloTopology = &iSetup.getData(tok_caloTopology_);
249  const HcalTopology* theHBHETopology = &iSetup.getData(tok_topo_);
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,
394  1,
395  1,
396  -100.0,
397  -100.0,
398  -500.0,
399  500.0,
400  false);
401 
402  eEcal = e3x3.first;
403  if (((verbosity_ / 10) % 10) > 1)
404  edm::LogVerbatim("HBHEMuon") << "eEcal" << eEcal;
405  }
406 
407  if (trackID.okHCAL) {
408  const DetId closestCell(trackID.detIdHCAL);
409  eHcal = spr::eHCALmatrix(theHBHETopology,
410  closestCell,
411  hbhe,
412  0,
413  0,
414  false,
415  true,
416  -100.0,
417  -100.0,
418  -100.0,
419  -100.0,
420  -500.,
421  500.,
422  useRaw_);
423 
424  int iphi = ((HcalDetId)(closestCell)).iphi();
425  int zside = ((HcalDetId)(closestCell)).iphi();
426  int depthHE = theHBHETopology->dddConstants()->getMinDepth(1, 16, iphi, zside);
427  if (((verbosity_ / 10) % 10) > 1)
428  edm::LogVerbatim("HBHEMuon") << "eHcal " << eHcal;
429  std::vector<std::pair<double, int> > ehdepth;
430  spr::energyHCALCell((HcalDetId)closestCell,
431  hbhe,
432  ehdepth,
433  maxDepth_,
434  -100.0,
435  -100.0,
436  -100.0,
437  -100.0,
438  -500.0,
439  500.0,
440  useRaw_,
441  depthHE,
442  (((verbosity_ / 1000) % 10) > 0));
443  for (unsigned int i = 0; i < ehdepth.size(); ++i) {
444  eHcalDepth[ehdepth[i].second - 1] = ehdepth[i].first;
445  if (((verbosity_ / 10) % 10) > 1)
446  edm::LogVerbatim("HBHEMuon")
447  << "eHcalDepth " << i << ":" << (ehdepth[i].second - 1) << ":" << eHcalDepth[ehdepth[i].second - 1];
448  }
449 
450  eHcal = spr::eHCALmatrix(theHBHETopology,
451  closestCell,
452  calosimhits,
453  0,
454  0,
455  false,
456  true,
457  -100.0,
458  -100.0,
459  -100.0,
460  -100.0,
461  -500.,
462  500.,
463  useRaw_);
464 
465  if (((verbosity_ / 10) % 10) > 1)
466  edm::LogVerbatim("HBHEMuon") << "eHcal " << eHcal;
467  const DetId closestCellCalo(trackID.detIdHCAL);
468  iphi = ((HcalDetId)(closestCellCalo)).iphi();
469  zside = ((HcalDetId)(closestCellCalo)).iphi();
470  depthHE = theHBHETopology->dddConstants()->getMinDepth(1, 16, iphi, zside);
471  std::vector<std::pair<double, int> > ehdepthCalo;
472  spr::energyHCALCell((HcalDetId)closestCellCalo,
473  calosimhits,
474  ehdepthCalo,
475  maxDepth_,
476  -100.0,
477  -100.0,
478  -100.0,
479  -100.0,
480  -500.0,
481  500.0,
482  useRaw_,
483  depthHE,
484  (((verbosity_ / 1000) % 10) > 0));
485  for (unsigned int i = 0; i < ehdepthCalo.size(); ++i) {
486  eHcalDepthCalo[ehdepthCalo[i].second - 1] = ehdepthCalo[i].first;
487  if (((verbosity_ / 10) % 10) > 1)
488  edm::LogVerbatim("HBHEMuon") << "eHcalDepthCalo " << i << ":" << (ehdepth[i].second - 1) << ":"
489  << eHcalDepth[ehdepth[i].second - 1];
490  }
491 
492  HcalDetId hcid0(closestCell.rawId());
493  activeL = activeLength(trackID.detIdHCAL);
494 
495  if (((verbosity_ / 10) % 10) > 0)
496  edm::LogVerbatim("HBHEMuon") << "activeL " << activeL;
497  HcalDetId hotCell, hotCellCalo;
498  h3x3 = spr::eHCALmatrix(geo, theHBHETopology, closestCell, hbhe, 1, 1, hotCell, false, useRaw_, false);
500  geo, theHBHETopology, closestCellCalo, calosimhits, 1, 1, hotCellCalo, false, useRaw_, false);
501 
502  isHot = matchId(closestCell, hotCell);
503  isHotCalo = matchId(closestCellCalo, hotCellCalo);
504 
505  if (((verbosity_ / 10) % 10) > 1)
506  edm::LogVerbatim("HBHEMuon") << "hcal 3X3 < " << h3x3 << ">"
507  << " ClosestCell <" << (HcalDetId)(closestCell) << "> hotCell id < " << hotCell
508  << "> isHot" << isHot;
509  if (hotCell != HcalDetId()) {
510  iphi = ((HcalDetId)(hotCell)).iphi();
511  zside = ((HcalDetId)(hotCell)).iphi();
512  depthHE = theHBHETopology->dddConstants()->getMinDepth(1, 16, iphi, zside);
513  std::vector<std::pair<double, int> > ehdepth;
514  spr::energyHCALCell(hotCell,
515  hbhe,
516  ehdepth,
517  maxDepth_,
518  -100.0,
519  -100.0,
520  -100.0,
521  -100.0,
522  -500.0,
523  500.0,
524  depthHE,
525  false); //(((verbosity_/1000)%10)>0));
526  for (unsigned int i = 0; i < ehdepth.size(); ++i) {
527  eHcalDepthHot[ehdepth[i].second - 1] = ehdepth[i].first;
528  if (((verbosity_ / 10) % 10) > 1)
529  edm::LogVerbatim("HBHEMuon") << "eHcalDepthHot " << i << ":" << (ehdepth[i].second - 1) << ":"
530  << eHcalDepthHot[ehdepth[i].second - 1];
531  }
532  }
533 
534  if (hotCellCalo != HcalDetId()) {
535  iphi = ((HcalDetId)(hotCellCalo)).iphi();
536  zside = ((HcalDetId)(hotCellCalo)).iphi();
537  depthHE = theHBHETopology->dddConstants()->getMinDepth(1, 16, iphi, zside);
538  std::vector<std::pair<double, int> > ehdepthCalo;
539 
540  spr::energyHCALCell(hotCellCalo,
541  calosimhits,
542  ehdepthCalo,
543  maxDepth_,
544  -100.0,
545  -100.0,
546  -100.0,
547  -100.0,
548  -500.0,
549  500.0,
550  useRaw_,
551  depthHE,
552  false);
553  for (unsigned int i = 0; i < ehdepthCalo.size(); ++i) {
554  eHcalDepthHotCalo[ehdepthCalo[i].second - 1] = ehdepthCalo[i].first;
555  if (((verbosity_ / 10) % 10) > 1)
556  edm::LogVerbatim("HBHEMuon") << "eHcalDepthHotCalo " << i << ":" << (ehdepth[i].second - 1) << ":"
557  << eHcalDepthHot[ehdepth[i].second - 1];
558  }
559  }
560  }
561  } else {
562  MuonEcalDetId.push_back(0);
563  MuonHcalDetId.push_back(0);
564  MuonEHcalDetId.push_back(0);
565  }
566 
567  MuonEcal3x3Energy.push_back(eEcal);
568  MuonHcal1x1Energy.push_back(eHcal);
569  MuonHcalDepth1Energy.push_back(eHcalDepth[0]);
570  MuonHcalDepth2Energy.push_back(eHcalDepth[1]);
571  MuonHcalDepth3Energy.push_back(eHcalDepth[2]);
572  MuonHcalDepth4Energy.push_back(eHcalDepth[3]);
573  MuonHcalDepth5Energy.push_back(eHcalDepth[4]);
574  MuonHcalDepth6Energy.push_back(eHcalDepth[5]);
575  MuonHcalDepth7Energy.push_back(eHcalDepth[6]);
576  MuonHcalDepth1HotEnergy.push_back(eHcalDepthHot[0]);
577  MuonHcalDepth2HotEnergy.push_back(eHcalDepthHot[1]);
578  MuonHcalDepth3HotEnergy.push_back(eHcalDepthHot[2]);
579  MuonHcalDepth4HotEnergy.push_back(eHcalDepthHot[3]);
580  MuonHcalDepth5HotEnergy.push_back(eHcalDepthHot[4]);
581  MuonHcalDepth6HotEnergy.push_back(eHcalDepthHot[5]);
582  MuonHcalDepth7HotEnergy.push_back(eHcalDepthHot[6]);
583  MuonHcalHot.push_back(isHot);
584 
585  //
586  MuonHcalDepth1EnergyCalo.push_back(eHcalDepthCalo[0]);
587  MuonHcalDepth2EnergyCalo.push_back(eHcalDepthCalo[1]);
588  MuonHcalDepth3EnergyCalo.push_back(eHcalDepthCalo[2]);
589  MuonHcalDepth4EnergyCalo.push_back(eHcalDepthCalo[3]);
590  MuonHcalDepth5EnergyCalo.push_back(eHcalDepthCalo[4]);
591  MuonHcalDepth6EnergyCalo.push_back(eHcalDepthCalo[5]);
592  MuonHcalDepth7EnergyCalo.push_back(eHcalDepthCalo[6]);
593  MuonHcalDepth1HotEnergyCalo.push_back(eHcalDepthHotCalo[0]);
594  MuonHcalDepth2HotEnergyCalo.push_back(eHcalDepthHotCalo[1]);
595  MuonHcalDepth3HotEnergyCalo.push_back(eHcalDepthHotCalo[2]);
596  MuonHcalDepth4HotEnergyCalo.push_back(eHcalDepthHotCalo[3]);
597  MuonHcalDepth5HotEnergyCalo.push_back(eHcalDepthHotCalo[4]);
598  MuonHcalDepth6HotEnergyCalo.push_back(eHcalDepthHotCalo[5]);
599  MuonHcalDepth7HotEnergyCalo.push_back(eHcalDepthHotCalo[6]);
600  MuonHcalHotCalo.push_back(isHotCalo);
601 
602  //
603  MuonHcalActiveLength.push_back(activeL);
604  }
605  }
606  TREE->Fill();
607 }
int getMinDepth(const int &itype, const int &ieta, const int &iphi, const int &zside) const
bool accept() const
Has at least one path accepted the event?
Log< level::Info, true > LogVerbatim
std::vector< double > MuonHcalDepth1HotEnergy
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hcal_
std::vector< spr::propagatedTrackID > propagateCALO(edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, const std::string &theTrackQuality, bool debug=false)
std::vector< double > GlobalMuonHits
std::vector< bool > muon_tracker
std::vector< double > MuonHcalDepth3HotEnergyCalo
std::vector< bool > muon_global
std::vector< double > MuonEcal3x3Energy
edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd > tok_sevlv_
std::vector< double > OuterTrackChi
std::vector< double > MuonHcalDepth4EnergyCalo
std::vector< double > Pmuon
const Point & position() const
position
Definition: BeamSpot.h:59
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
std::vector< bool > OuterTrack
std::vector< double > MuonHcalActiveLength
std::vector< double > GlobalTrckPhi
std::vector< double > DzTracker
std::vector< bool > muon_is_good
std::vector< double > MuonHcalDepth6HotEnergy
std::vector< unsigned int > MuonHcalDetId
std::vector< double > MuonHcalDepth6EnergyCalo
double activeLength(const DetId &)
std::vector< unsigned int > MuonEcalDetId
std::vector< double > MuonHcalDepth5HotEnergyCalo
std::vector< double > MuonHcal1x1Energy
std::vector< double > MuonHcalDepth4HotEnergyCalo
edm::EDGetTokenT< reco::VertexCollection > tok_recVtx_
std::vector< unsigned int > MuonEHcalDetId
std::vector< double > OuterTrackEta
std::vector< double > MuonHcalDepth1HotEnergyCalo
std::vector< double > MuonHcalDepth1EnergyCalo
std::vector< double > MuonHcalDepth7Energy
std::vector< double > OuterTrackPt
std::vector< unsigned int > MuonHcalHot
std::vector< double > Tight_LongPara
edm::ESGetToken< CaloTopology, CaloTopologyRecord > tok_caloTopology_
int zside(DetId const &)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
std::vector< double > innerTrackphi
std::vector< double > MuonHcalDepth1Energy
std::vector< unsigned int > MuonHcalHotCalo
std::vector< double > MuonHcalDepth4Energy
std::vector< double > MuonHcalDepth3HotEnergy
std::vector< double > EtaGlob
unsigned int triggerIndex(std::string_view name) const
Definition: TriggerNames.cc:52
U second(std::pair< T, U > const &p)
std::vector< double > innerTracketa
unsigned int size() const
Get number of paths stored.
std::vector< double > OuterTrackRHits
std::vector< double > MuonHcalDepth5HotEnergy
int iEvent
Definition: GenABIO.cc:224
std::vector< double > MuonEcalEnergy
edm::EDGetTokenT< edm::TriggerResults > tok_trigRes_
std::vector< double > MuonHcalDepth2EnergyCalo
std::vector< double > Energy
std::vector< double > MuonHcalDepth2Energy
unsigned int LumiNumber
std::vector< double > MuonHOEnergy
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > tok_ecalChStatus_
std::vector< double > MuonHcalDepth5EnergyCalo
std::vector< double > Tight_TransImpara
bool getData(T &iHolder) const
Definition: EventSetup.h:122
unsigned int RunNumber
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
std::vector< double > DxyTracker
std::vector< bool > innerTrack
std::vector< std::string > all_triggers
std::vector< double > MuonHcalDepth7EnergyCalo
Definition: DetId.h:17
std::vector< double > innerTrackpt
const int verbosity_
std::vector< double > MuonHcalDepth3EnergyCalo
std::vector< double > MuonHcalDepth2HotEnergyCalo
std::vector< double > MuonHcalDepth7HotEnergyCalo
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
std::vector< double > MuonHcalDepth7HotEnergy
std::vector< double > chiTracker
std::vector< bool > GlobalTrack
std::vector< double > MuonHcalDepth6HotEnergyCalo
std::vector< double > MuonHcalDepth2HotEnergy
unsigned int EventNumber
std::vector< double > GlobalTrckPt
std::vector< double > MuonHcalDepth5Energy
bool isValid() const
Definition: HandleBase.h:70
std::vector< double > OuterTrackPhi
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > tok_magField_
unsigned int BXNumber
std::vector< double > Tight_PixelHits
edm::EDGetTokenT< reco::MuonCollection > tok_muon_
static int position[264][3]
Definition: ReadPGInfo.cc:289
std::vector< double > MuonHcalDepth4HotEnergy
const HcalDDDRecConstants * dddConstants() const
Definition: HcalTopology.h:164
std::vector< double > PhiGlob
std::vector< double > NumPixelLayers
std::vector< double > OuterTrackHits
int matchId(const HcalDetId &, const HcalDetId &)
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
std::vector< double > chiGlobal
std::vector< double > IsolationR03
std::vector< double > MuonHcalEnergy
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_topo_
std::vector< double > MuonHcalDepth3Energy
edm::EDGetTokenT< reco::BeamSpot > tok_bs_
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)
std::vector< int > hltresults
std::vector< double > MuonHcalDepth6Energy
std::vector< double > PtGlob
std::vector< double > IsolationR04
std::vector< double > GlobalTrckEta
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)
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)
std::vector< double > MatchedStat

◆ beginJob()

void HcalRaddamMuon::beginJob ( )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 610 of file HcalRaddamMuon.cc.

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.

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

◆ beginRun()

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

Definition at line 714 of file HcalRaddamMuon.cc.

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

714  {
715  const HcalDDDRecConstants* hdc = &iSetup.getData(tok_ddrec_);
716  actHB.clear();
717  actHE.clear();
718  actHB = hdc->getThickActive(0);
719  actHE = hdc->getThickActive(1);
720 
721  bool changed = true;
722  all_triggers.clear();
723  if (hltConfig_.init(iRun, iSetup, "HLT", changed)) {
724  // if init returns TRUE, initialisation has succeeded!
725  edm::LogVerbatim("HBHEMuon") << "HLT config with process name 'HLT' successfully extracted";
726  std::string string_search[5] = {"HLT_IsoMu_", "HLT_L1SingleMu_", "HLT_L2Mu", "HLT_Mu", "HLT_RelIso1p0Mu"};
727  unsigned int ntriggers = hltConfig_.size();
728  for (unsigned int t = 0; t < ntriggers; ++t) {
730  for (unsigned int ik = 0; ik < 5; ++ik) {
731  if (hltname.find(string_search[ik]) != std::string::npos) {
732  all_triggers.push_back(hltname);
733  break;
734  }
735  }
736  } //loop over ntriggers
737  edm::LogVerbatim("HBHEMuon") << "All triggers size in begin run" << all_triggers.size();
738  } else {
739  edm::LogError("HBHEMuon") << "Error! HLT config extraction with process name 'HLT' failed";
740  }
741 
742 } //firstmethod
Log< level::Info, true > LogVerbatim
const std::string & triggerName(unsigned int triggerIndex) const
std::vector< HcalDDDRecConstants::HcalActiveLength > actHB
Log< level::Error, false > LogError
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_ddrec_
unsigned int size() const
number of trigger paths in trigger table
HLTConfigProvider hltConfig_
std::vector< std::string > all_triggers
std::vector< HcalDDDRecConstants::HcalActiveLength > actHE
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
std::vector< HcalActiveLength > getThickActive(const int &type) const

◆ clearVectors()

void HcalRaddamMuon::clearVectors ( )
private

clearing vectots

Definition at line 758 of file HcalRaddamMuon.cc.

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().

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

◆ endJob()

void HcalRaddamMuon::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 711 of file HcalRaddamMuon.cc.

Referenced by o2olib.O2ORunMgr::executeJob().

711 {}

◆ endRun()

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

Definition at line 745 of file HcalRaddamMuon.cc.

745 {}

◆ fillDescriptions()

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

Definition at line 747 of file HcalRaddamMuon.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_2022v11_cff::InputTag.

747  {
749  desc.addUntracked<edm::InputTag>("hlTriggerResults", edm::InputTag("TriggerResults", "", "HLT"));
750  desc.addUntracked<edm::InputTag>("muonSource", edm::InputTag("muons"));
751  desc.addUntracked<int>("verbosity", 0);
752  desc.addUntracked<int>("useRaw", 0);
753  desc.add<bool>("isAOD", false);
754  desc.addUntracked<int>("maxDepth", 4);
755  descriptions.add("hcalRaddamMuon", desc);
756 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ matchId()

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

Definition at line 831 of file HcalRaddamMuon.cc.

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

Referenced by analyze().

831  {
832  HcalDetId kd1(id1.subdet(), id1.ieta(), id1.iphi(), 1);
833  HcalDetId kd2(id2.subdet(), id2.ieta(), id2.iphi(), 1);
834  int match = ((kd1 == kd2) ? 1 : 0);
835  return match;
836 }
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

◆ _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_caloTopology_

edm::ESGetToken<CaloTopology, CaloTopologyRecord> HcalRaddamMuon::tok_caloTopology_
private

Definition at line 146 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_ddrec_

edm::ESGetToken<HcalDDDRecConstants, HcalRecNumberingRecord> HcalRaddamMuon::tok_ddrec_
private

Definition at line 144 of file HcalRaddamMuon.cc.

Referenced by beginRun(), 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_ecalChStatus_

edm::ESGetToken<EcalChannelStatus, EcalChannelStatusRcd> HcalRaddamMuon::tok_ecalChStatus_
private

Definition at line 149 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_geom_

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> HcalRaddamMuon::tok_geom_
private

Definition at line 145 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_magField_

edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> HcalRaddamMuon::tok_magField_
private

Definition at line 148 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_sevlv_

edm::ESGetToken<EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd> HcalRaddamMuon::tok_sevlv_
private

Definition at line 150 of file HcalRaddamMuon.cc.

Referenced by analyze(), and HcalRaddamMuon().

◆ tok_topo_

edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> HcalRaddamMuon::tok_topo_
private

Definition at line 147 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 activeLength(), and analyze().