CMS 3D CMS Logo

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

Public Member Functions

 HcalHBHEMuonHighEtaAnalyzer (const edm::ParameterSet &)
 
- 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
 
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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
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
 
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 (edm::Event const &, edm::EventSetup const &) override
 
bool analyzeHadron (edm::Event const &, math::XYZPoint &)
 
bool analyzeMuon (edm::Event const &, math::XYZPoint &)
 
bool analyzeTracks (const reco::Track *, math::XYZPoint &, int, std::vector< spr::propagatedTrackID > &, bool)
 
void beginJob () override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void clearVectors ()
 
int depth16HE (int, int)
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void fillTrackParameters (const reco::Track *, math::XYZPoint)
 
double gainFactor (const HcalDbService *, const HcalDetId &)
 
bool goodCell (const HcalDetId &, const reco::Track *, const CaloGeometry *, const MagneticField *)
 
bool isGoodVertex (const reco::Vertex &)
 
int matchId (const HcalDetId &, const HcalDetId &)
 
double respCorr (const DetId &)
 

Private Attributes

std::vector< HcalDDDRecConstants::HcalActiveLengthactHB
 
std::vector< HcalDDDRecConstants::HcalActiveLengthactHE
 
const bool analyzeMuon_
 
edm::Handle< EcalRecHitCollectionbarrelRecHitsHandle_
 
const MagneticFieldbField_
 
const CaloTopologycaloTopology_
 
const bool collapseDepth_
 
const HcalDbServiceconditions_
 
std::map< DetId, double > corrValue_
 
std::vector< double > ecal3x3Energy_
 
std::vector< unsigned int > ecalDetId_
 
std::vector< double > ecalEnergy_
 
std::vector< unsigned int > ehcalDetId_
 
std::vector< double > emaxNearP_
 
const double emaxNearPThr_
 
edm::Handle< EcalRecHitCollectionendcapRecHitsHandle_
 
std::vector< double > energyMuon_
 
std::vector< double > etaGlob_
 
const double etaMin_
 
unsigned int eventNumber_
 
const std::string fileInCorr_
 
const CaloGeometrygeo_
 
const bool getCharge_
 
unsigned int goodVertex_
 
edm::Handle< HBHERecHitCollectionhbhe_
 
std::vector< double > hcal1x1Energy_
 
std::vector< int > hcal_ieta_
 
std::vector< int > hcal_iphi_
 
std::vector< double > hcalActiveLength_
 
std::vector< double > hcalActiveLengthHot_
 
std::vector< double > hcalDepthActiveLength_ [depthMax_]
 
std::vector< double > hcalDepthActiveLengthHot_ [depthMax_]
 
std::vector< double > hcalDepthChargeHot_ [depthMax_]
 
std::vector< double > hcalDepthChargeHotBG_ [depthMax_]
 
std::vector< double > hcalDepthEnergy_ [depthMax_]
 
std::vector< double > hcalDepthEnergyCorr_ [depthMax_]
 
std::vector< double > hcalDepthEnergyHot_ [depthMax_]
 
std::vector< double > hcalDepthEnergyHotCorr_ [depthMax_]
 
std::vector< bool > hcalDepthMatch_ [depthMax_]
 
std::vector< bool > hcalDepthMatchHot_ [depthMax_]
 
std::vector< unsigned int > hcalDetId_
 
std::vector< double > hcalEnergy_
 
std::vector< bool > hcalHot_
 
const HcalDDDRecConstantshdc_
 
std::vector< double > hoEnergy_
 
const bool ignoreHECorr_
 
const bool isItPlan1_
 
const bool isItPreRecHit_
 
std::vector< double > isolationR03_
 
std::vector< double > isolationR04_
 
int kount_
 
const edm::InputTag labelEBRecHit_
 
const edm::InputTag labelEERecHit_
 
const std::string labelGenTrack_
 
const edm::InputTag labelHBHERecHit_
 
const std::string labelMuon_
 
const std::string labelVtx_
 
std::vector< bool > matchedId_
 
int maxDepth_
 
std::vector< bool > mediumMuon_
 
bool mergedDepth_
 
std::vector< double > phiGlob_
 
std::vector< double > pMuon_
 
std::vector< double > ptGlob_
 
HcalRespCorrsrespCorrs_
 
unsigned int runNumber_
 
spr::trackSelectionParameters selectionParameter_
 
const EcalSeverityLevelAlgosevlv_
 
const EcalChannelStatustheEcalChStatus_
 
const HcalTopologytheHBHETopology_
 
const std::string theTrackQuality_
 
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcdtok_chan_
 
edm::ESGetToken< HcalDbService, HcalDbRecordtok_dbservice_
 
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecordtok_ddrec_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_EB_
 
edm::EDGetTokenT< EcalRecHitCollectiontok_EE_
 
edm::EDGetTokenT< reco::TrackCollectiontok_genTrack_
 
edm::ESGetToken< CaloGeometry, CaloGeometryRecordtok_geom_
 
edm::EDGetTokenT< HBHERecHitCollectiontok_HBHE_
 
edm::ESGetToken< HcalTopology, HcalRecNumberingRecordtok_htopo_
 
edm::ESGetToken< MagneticField, IdealMagneticFieldRecordtok_magField_
 
edm::EDGetTokenT< reco::MuonCollectiontok_Muon_
 
edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcdtok_respcorr_
 
edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcdtok_sevlv_
 
edm::ESGetToken< CaloTopology, CaloTopologyRecordtok_topo_
 
edm::EDGetTokenT< reco::VertexCollectiontok_Vtx_
 
std::vector< double > trackDz_
 
std::vector< int > trackLayerCrossed_
 
std::vector< int > trackMissedInnerHits_
 
std::vector< int > trackMissedOuterHits_
 
std::vector< int > trackOuterHit_
 
TTree * tree_
 
const bool unCorrect_
 
bool useMyCorr_
 
const int useRaw_
 
const int verbosity_
 
const bool writeRespCorr_
 

Static Private Attributes

static const int depthMax_ = 7
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
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 = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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 76 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Constructor & Destructor Documentation

◆ HcalHBHEMuonHighEtaAnalyzer()

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

Definition at line 176 of file HcalHBHEMuonHighEtaAnalyzer.cc.

177  : labelEBRecHit_(iConfig.getParameter<edm::InputTag>("labelEBRecHit")),
178  labelEERecHit_(iConfig.getParameter<edm::InputTag>("labelEERecHit")),
179  labelHBHERecHit_(iConfig.getParameter<edm::InputTag>("labelHBHERecHit")),
180  labelVtx_(iConfig.getParameter<std::string>("labelVertex")),
181  labelMuon_(iConfig.getParameter<std::string>("labelMuon")),
182  labelGenTrack_(iConfig.getParameter<std::string>("labelTrack")),
183  etaMin_(iConfig.getParameter<double>("etaMin")),
184  emaxNearPThr_(iConfig.getParameter<double>("emaxNearPThreshold")),
185  analyzeMuon_(iConfig.getParameter<bool>("analyzeMuon")),
186  unCorrect_(iConfig.getParameter<bool>("unCorrect")),
187  collapseDepth_(iConfig.getParameter<bool>("collapseDepth")),
188  isItPlan1_(iConfig.getParameter<bool>("isItPlan1")),
189  getCharge_(iConfig.getParameter<bool>("getCharge")),
190  useRaw_(iConfig.getParameter<int>("useRaw")),
191  verbosity_(iConfig.getParameter<int>("verbosity")),
192  theTrackQuality_(iConfig.getUntrackedParameter<std::string>("trackQuality")),
193  fileInCorr_(iConfig.getUntrackedParameter<std::string>("fileInCorr", "")),
194  ignoreHECorr_(iConfig.getUntrackedParameter<bool>("ignoreHECorr", false)),
195  isItPreRecHit_(iConfig.getUntrackedParameter<bool>("isItPreRecHit", false)),
196  writeRespCorr_(iConfig.getUntrackedParameter<bool>("writeRespCorr", false)),
197  hdc_(nullptr),
198  theHBHETopology_(nullptr),
199  respCorrs_(nullptr),
200  tree_(nullptr) {
201  usesResource(TFileService::kSharedResource);
202  //now do what ever initialization is needed
203  kount_ = 0;
204  maxDepth_ = iConfig.getUntrackedParameter<int>("maxDepth", 7);
205  if (maxDepth_ > depthMax_)
207  else if (maxDepth_ < 1)
208  maxDepth_ = 4;
209 
211  selectionParameter_.minPt = iConfig.getUntrackedParameter<double>("minTrackPt");
213  selectionParameter_.maxDxyPV = iConfig.getUntrackedParameter<double>("maxDxyPV");
214  selectionParameter_.maxDzPV = iConfig.getUntrackedParameter<double>("maxDzPV");
215  selectionParameter_.maxChi2 = iConfig.getUntrackedParameter<double>("maxChi2");
216  selectionParameter_.maxDpOverP = iConfig.getUntrackedParameter<double>("maxDpOverP");
219 
221  tok_EB_ = consumes<EcalRecHitCollection>(labelEBRecHit_);
222  tok_EE_ = consumes<EcalRecHitCollection>(labelEERecHit_);
223  tok_HBHE_ = consumes<HBHERecHitCollection>(labelHBHERecHit_);
224  tok_Vtx_ = consumes<reco::VertexCollection>(labelVtx_);
225  tok_Muon_ = consumes<reco::MuonCollection>(labelMuon_);
226  tok_genTrack_ = consumes<reco::TrackCollection>(labelGenTrack_);
227  edm::LogVerbatim("HBHEMuon") << "Labels used: Track " << labelGenTrack_ << " Vtx " << labelVtx_ << " EB "
228  << labelEBRecHit_ << " EE " << labelEERecHit_ << " HBHE " << labelHBHERecHit_ << " MU "
229  << labelMuon_;
230 
231  tok_ddrec_ = esConsumes<HcalDDDRecConstants, HcalRecNumberingRecord, edm::Transition::BeginRun>();
232  tok_htopo_ = esConsumes<HcalTopology, HcalRecNumberingRecord, edm::Transition::BeginRun>();
233  tok_respcorr_ = esConsumes<HcalRespCorrs, HcalRespCorrsRcd, edm::Transition::BeginRun>();
234  tok_geom_ = esConsumes<CaloGeometry, CaloGeometryRecord, edm::Transition::BeginRun>();
235  tok_magField_ = esConsumes<MagneticField, IdealMagneticFieldRecord>();
236  tok_chan_ = esConsumes<EcalChannelStatus, EcalChannelStatusRcd>();
237  tok_sevlv_ = esConsumes<EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd>();
238  tok_topo_ = esConsumes<CaloTopology, CaloTopologyRecord>();
239  tok_dbservice_ = esConsumes<HcalDbService, HcalDbRecord>();
240 
241  if (!fileInCorr_.empty()) {
242  std::ifstream infile(fileInCorr_.c_str());
243  if (infile.is_open()) {
244  while (true) {
245  unsigned int id;
246  double cfac;
247  infile >> id >> cfac;
248  if (!infile.good())
249  break;
250  corrValue_[DetId(id)] = cfac;
251  }
252  infile.close();
253  }
254  }
255  useMyCorr_ = (!corrValue_.empty());
256  edm::LogVerbatim("HBHEMuon") << "Flags used: UseRaw " << useRaw_ << " GetCharge " << getCharge_ << " UnCorrect "
257  << unCorrect_ << " IgnoreHECorr " << ignoreHECorr_ << " CollapseDepth " << collapseDepth_
258  << ":" << mergedDepth_ << " IsItPlan1 " << isItPlan1_ << " IsItPreRecHit "
259  << isItPreRecHit_ << " UseMyCorr " << useMyCorr_;
260 }

References collapseDepth_, corrValue_, depthMax_, fileInCorr_, getCharge_, edm::ParameterSet::getUntrackedParameter(), triggerObjects_cff::id, ignoreHECorr_, timingPdfMaker::infile, isItPlan1_, isItPreRecHit_, kount_, TFileService::kSharedResource, labelEBRecHit_, labelEERecHit_, labelGenTrack_, labelHBHERecHit_, labelMuon_, labelVtx_, spr::trackSelectionParameters::maxChi2, maxDepth_, spr::trackSelectionParameters::maxDpOverP, spr::trackSelectionParameters::maxDxyPV, spr::trackSelectionParameters::maxDzPV, spr::trackSelectionParameters::maxInMiss, spr::trackSelectionParameters::maxOutMiss, mergedDepth_, spr::trackSelectionParameters::minLayerCrossed, spr::trackSelectionParameters::minOuterHit, spr::trackSelectionParameters::minPt, spr::trackSelectionParameters::minQuality, reco::TrackBase::qualityByName(), selectionParameter_, theTrackQuality_, tok_chan_, tok_dbservice_, tok_ddrec_, tok_EB_, tok_EE_, tok_genTrack_, tok_geom_, tok_HBHE_, tok_htopo_, tok_magField_, tok_Muon_, tok_respcorr_, tok_sevlv_, tok_topo_, tok_Vtx_, StandaloneTrackMonitor_cfi::trackQuality, unCorrect_, useMyCorr_, and useRaw_.

Member Function Documentation

◆ activeLength()

double HcalHBHEMuonHighEtaAnalyzer::activeLength ( const DetId hid)
private

Definition at line 936 of file HcalHBHEMuonHighEtaAnalyzer.cc.

936  {
937  HcalDetId id(hid);
938  int ieta = id.ietaAbs();
939  int zside = id.zside();
940  int iphi = id.iphi();
941  std::vector<int> dpths;
942  if (mergedDepth_) {
943  std::vector<HcalDetId> ids;
944  hdc_->unmergeDepthDetId(id, ids);
945  for (auto idh : ids)
946  dpths.emplace_back(idh.depth());
947  } else {
948  dpths.emplace_back(id.depth());
949  }
950  double lx(0);
951  if (id.subdet() == HcalBarrel) {
952  for (unsigned int i = 0; i < actHB.size(); ++i) {
953  if ((ieta == actHB[i].ieta) && (zside == actHB[i].zside) &&
954  (std::find(dpths.begin(), dpths.end(), actHB[i].depth) != dpths.end()) &&
955  (std::find(actHB[i].iphis.begin(), actHB[i].iphis.end(), iphi) != actHB[i].iphis.end())) {
956  lx += actHB[i].thick;
957  }
958  }
959  } else {
960  for (unsigned int i = 0; i < actHE.size(); ++i) {
961  if ((ieta == actHE[i].ieta) && (zside == actHE[i].zside) &&
962  (std::find(dpths.begin(), dpths.end(), actHE[i].depth) != dpths.end()) &&
963  (std::find(actHE[i].iphis.begin(), actHE[i].iphis.end(), iphi) != actHE[i].iphis.end())) {
964  lx += actHE[i].thick;
965  }
966  }
967  }
968  return lx;
969 }

References actHB, actHE, LEDCalibrationChannels::depth, spr::find(), HcalBarrel, hdc_, mps_fire::i, triggerObjects_cff::id, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, mergedDepth_, HcalDDDRecConstants::unmergeDepthDetId(), and ecaldqm::zside().

Referenced by analyzeTracks(), and beginRun().

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 361 of file HcalHBHEMuonHighEtaAnalyzer.cc.

361  {
362  ++kount_;
363  clearVectors();
364  runNumber_ = iEvent.id().run();
365  eventNumber_ = iEvent.id().event();
366 #ifdef EDM_ML_DEBUG
367  edm::LogVerbatim("HBHEMuon") << "Run " << runNumber_ << " Event " << eventNumber_;
368 #endif
369 
370  // get handles to calogeometry and calotopology
371  bField_ = &iSetup.getData(tok_magField_);
372  theEcalChStatus_ = &iSetup.getData(tok_chan_);
373  sevlv_ = &iSetup.getData(tok_sevlv_);
374  caloTopology_ = &iSetup.getData(tok_topo_);
375  conditions_ = &iSetup.getData(tok_dbservice_);
376 
377  // Relevant blocks from iEvent
379  iEvent.getByToken(tok_Vtx_, vtx);
380 
381  iEvent.getByToken(tok_EB_, barrelRecHitsHandle_);
382  iEvent.getByToken(tok_EE_, endcapRecHitsHandle_);
383  iEvent.getByToken(tok_HBHE_, hbhe_);
384 
385  // require a good vertex
386  math::XYZPoint pvx;
387  goodVertex_ = 0;
388  if (!vtx.isValid()) {
389 #ifdef EDM_ML_DEBUG
390  edm::LogVerbatim("HBHEMuon") << "No Good Vertex found == Reject\n";
391 #endif
392  return;
393  }
394 
395  reco::VertexCollection::const_iterator firstGoodVertex = vtx->end();
396  for (reco::VertexCollection::const_iterator it = vtx->begin(); it != vtx->end(); it++) {
397  if (isGoodVertex(*it)) {
398  if (firstGoodVertex == vtx->end())
399  firstGoodVertex = it;
400  ++goodVertex_;
401  }
402  }
403  if (firstGoodVertex != vtx->end())
404  pvx = firstGoodVertex->position();
405 
406  bool accept(false);
407  if (barrelRecHitsHandle_.isValid() && endcapRecHitsHandle_.isValid() && hbhe_.isValid()) {
409  }
410  if (accept) {
411 #ifdef EDM_ML_DEBUG
412  edm::LogVerbatim("HBHEMuon") << "Total of " << hcal_ieta_.size() << " propagated points";
413  for (unsigned int i = 0; i < hcal_ieta_.size(); ++i)
414  edm::LogVerbatim("HBHEMuon") << "[" << i << "] ieta/iphi for entry to "
415  << "HCAL has value of " << hcal_ieta_[i] << ":" << hcal_iphi_[i];
416  if ((verbosity_ / 100) % 10 > 0) {
417  edm::LogVerbatim("HBHEMuon") << "Sizes:: ptGlob:" << ptGlob_.size() << " etaGlob:" << etaGlob_.size()
418  << " phiGlob:" << phiGlob_.size() << " energyMuon:" << energyMuon_.size()
419  << " pMuon:" << pMuon_.size() << " mediumMuon: " << mediumMuon_.size()
420  << " isolation:" << isolationR04_.size() << ":" << isolationR03_.size()
421  << " e|h|ho energy: " << ecalEnergy_.size() << ":" << hcalEnergy_.size() << ":"
422  << hoEnergy_.size();
423  edm::LogVerbatim("HBHEMuon") << " matchedId:" << matchedId_.size() << " hcalHot:" << hcalHot_.size()
424  << " 3x3|1x1 energy:" << ecal3x3Energy_.size() << ":" << hcal1x1Energy_.size()
425  << " detId:" << ecalDetId_.size() << ":" << hcalDetId_.size() << ":"
426  << ehcalDetId_.size() << " eta|phi:" << hcal_ieta_.size() << ":"
427  << hcal_iphi_.size();
428  edm::LogVerbatim("HBHEMuon") << " activeLength:" << hcalActiveLength_.size() << ":"
429  << hcalActiveLengthHot_.size() << " emaxNearP:" << emaxNearP_.size()
430  << " trackDz: " << trackDz_.size() << " tracks:" << trackLayerCrossed_.size() << ":"
431  << trackOuterHit_.size() << ":" << trackMissedInnerHits_.size() << ":"
432  << trackMissedOuterHits_.size();
433  for (unsigned int i = 0; i < depthMax_; ++i)
434  edm::LogVerbatim("HBHEMuon")
435  << "Depth " << i
436  << " Energy|Length|EnergyHot|LengthHot|Charge|ChargeBG|EnergyCorr|EnergyHotCorr|Match|MatchHot:"
437  << hcalDepthEnergy_[i].size() << ":" << hcalDepthActiveLength_[i].size() << ":"
438  << hcalDepthEnergyHot_[i].size() << ":" << hcalDepthActiveLengthHot_[i].size() << ":"
439  << hcalDepthChargeHot_[i].size() << ":" << hcalDepthChargeHotBG_[i].size() << ":"
440  << hcalDepthEnergyCorr_[i].size() << ":" << hcalDepthEnergyHotCorr_[i].size() << ":"
441  << hcalDepthMatch_[i].size() << ":" << hcalDepthMatchHot_[i].size();
442  }
443 #endif
444  tree_->Fill();
445  }
446 }

References accept(), analyzeHadron(), analyzeMuon(), analyzeMuon_, barrelRecHitsHandle_, bField_, caloTopology_, clearVectors(), conditions_, depthMax_, ecal3x3Energy_, ecalDetId_, ecalEnergy_, ehcalDetId_, emaxNearP_, endcapRecHitsHandle_, energyMuon_, etaGlob_, eventNumber_, edm::EventSetup::getData(), goodVertex_, hbhe_, hcal1x1Energy_, hcal_ieta_, hcal_iphi_, hcalActiveLength_, hcalActiveLengthHot_, hcalDepthActiveLength_, hcalDepthActiveLengthHot_, hcalDepthChargeHot_, hcalDepthChargeHotBG_, hcalDepthEnergy_, hcalDepthEnergyCorr_, hcalDepthEnergyHot_, hcalDepthEnergyHotCorr_, hcalDepthMatch_, hcalDepthMatchHot_, hcalDetId_, hcalEnergy_, hcalHot_, hoEnergy_, mps_fire::i, iEvent, isGoodVertex(), isolationR03_, isolationR04_, kount_, matchedId_, mediumMuon_, phiGlob_, pMuon_, ptGlob_, runNumber_, sevlv_, theEcalChStatus_, tok_chan_, tok_dbservice_, tok_EB_, tok_EE_, tok_HBHE_, tok_magField_, tok_sevlv_, tok_topo_, tok_Vtx_, trackDz_, trackLayerCrossed_, trackMissedInnerHits_, trackMissedOuterHits_, trackOuterHit_, tree_, verbosity_, and extraflags_cff::vtx.

◆ analyzeHadron()

bool HcalHBHEMuonHighEtaAnalyzer::analyzeHadron ( edm::Event const &  iEvent,
math::XYZPoint leadPV 
)
private

Definition at line 566 of file HcalHBHEMuonHighEtaAnalyzer.cc.

566  {
567  //Get track collection
569  iEvent.getByToken(tok_genTrack_, trkCollection);
570  bool accept = false;
571 
572  if (!trkCollection.isValid()) {
573  std::vector<spr::propagatedTrackID> trkCaloDets;
574  spr::propagateCALO(trkCollection, geo_, bField_, theTrackQuality_, trkCaloDets, false);
575  int nTrack(0);
576  std::vector<spr::propagatedTrackID>::const_iterator trkDetItr;
577  for (trkDetItr = trkCaloDets.begin(), nTrack = 0; trkDetItr != trkCaloDets.end(); trkDetItr++, nTrack++) {
578  const reco::Track* pTrack = &(*(trkDetItr->trkItr));
579  if (std::abs(pTrack->eta()) > etaMin_) {
580  accept = analyzeTracks(pTrack, leadPV, nTrack, trkCaloDets, true);
581  }
582  }
583  }
584  return accept;
585 }

References funct::abs(), accept(), analyzeTracks(), bField_, reco::TrackBase::eta(), etaMin_, geo_, iEvent, edm::HandleBase::isValid(), spr::propagateCALO(), theTrackQuality_, and tok_genTrack_.

Referenced by analyze().

◆ analyzeMuon()

bool HcalHBHEMuonHighEtaAnalyzer::analyzeMuon ( edm::Event const &  iEvent,
math::XYZPoint leadPV 
)
private

Definition at line 501 of file HcalHBHEMuonHighEtaAnalyzer.cc.

501  {
503  iEvent.getByToken(tok_Muon_, _Muon);
504  bool accept = false;
505 
506  if (_Muon.isValid()) {
507  int nTrack(0);
508  std::vector<spr::propagatedTrackID> trkCaloDets;
509  for (reco::MuonCollection::const_iterator RecMuon = _Muon->begin(); RecMuon != _Muon->end(); ++RecMuon) {
510  if (RecMuon->innerTrack().isNonnull()) {
511  const reco::Track* pTrack = (RecMuon->innerTrack()).get();
512  if (std::abs(pTrack->eta()) > etaMin_) {
513  if (analyzeTracks(pTrack, leadPV, nTrack, trkCaloDets, false)) {
514  accept = true;
515  ptGlob_.emplace_back((RecMuon)->pt());
516  etaGlob_.emplace_back(RecMuon->eta());
517  phiGlob_.emplace_back(RecMuon->phi());
518  energyMuon_.push_back(RecMuon->energy());
519  pMuon_.emplace_back(RecMuon->p());
520  bool mediumMuon = (((RecMuon->isPFMuon()) && (RecMuon->isGlobalMuon() || RecMuon->isTrackerMuon())) &&
521  (RecMuon->innerTrack()->validFraction() > 0.49));
522  if (mediumMuon) {
523  double chiGlobal =
524  ((RecMuon->globalTrack().isNonnull()) ? RecMuon->globalTrack()->normalizedChi2() : 999);
525  bool goodGlob =
526  (RecMuon->isGlobalMuon() && chiGlobal < 3 && RecMuon->combinedQuality().chi2LocalPosition < 12 &&
527  RecMuon->combinedQuality().trkKink < 20);
528  mediumMuon = muon::segmentCompatibility(*RecMuon) > (goodGlob ? 0.303 : 0.451);
529  }
530  mediumMuon_.emplace_back(mediumMuon);
531  bool isoR03 =
532  ((RecMuon->pfIsolationR03().sumChargedHadronPt +
533  std::max(0.,
534  RecMuon->pfIsolationR03().sumNeutralHadronEt + RecMuon->pfIsolationR03().sumPhotonEt -
535  (0.5 * RecMuon->pfIsolationR03().sumPUPt))) /
536  RecMuon->pt());
537  bool isoR04 =
538  ((RecMuon->pfIsolationR04().sumChargedHadronPt +
539  std::max(0.,
540  RecMuon->pfIsolationR04().sumNeutralHadronEt + RecMuon->pfIsolationR04().sumPhotonEt -
541  (0.5 * RecMuon->pfIsolationR04().sumPUPt))) /
542  RecMuon->pt());
543  isolationR03_.emplace_back(isoR03);
544  isolationR04_.emplace_back(isoR04);
545 
546  ecalEnergy_.emplace_back(RecMuon->calEnergy().emS9);
547  hcalEnergy_.emplace_back(RecMuon->calEnergy().hadS9);
548  hoEnergy_.emplace_back(RecMuon->calEnergy().hoS9);
549 #ifdef EDM_ML_DEBUG
550  if ((verbosity_ / 100) % 10 > 0)
551  edm::LogVerbatim("HBHEMuon")
552  << "Muon[" << ptGlob_.size() << "] pt:eta:phi:p " << ptGlob_.back() << ":" << etaGlob_.back() << ":"
553  << phiGlob_.back() << ":" << energyMuon_.back() << ":" << pMuon_.back() << ":"
554  << " Medium:i3:i4 " << mediumMuon_.back() << ":" << isolationR03_.back() << ":"
555  << isolationR04_.back() << ":"
556  << " Energy EC:HC:HO " << ecalEnergy_.back() << ":" << hcalEnergy_.back() << ":" << hoEnergy_.back();
557 #endif
558  }
559  }
560  }
561  }
562  }
563  return accept;
564 }

References funct::abs(), accept(), analyzeTracks(), ecalEnergy_, energyMuon_, reco::TrackBase::eta(), etaGlob_, etaMin_, get, hcalEnergy_, hoEnergy_, iEvent, isolationR03_, isolationR04_, edm::HandleBase::isValid(), SiStripPI::max, mediumMuon_, phiGlob_, pMuon_, DiDispStaMuonMonitor_cfi::pt, ptGlob_, muon::segmentCompatibility(), tok_Muon_, and verbosity_.

Referenced by analyze().

◆ analyzeTracks()

bool HcalHBHEMuonHighEtaAnalyzer::analyzeTracks ( const reco::Track pTrack,
math::XYZPoint leadPV,
int  nTrack,
std::vector< spr::propagatedTrackID > &  trkCaloDets,
bool  ifHadron 
)
private

Definition at line 587 of file HcalHBHEMuonHighEtaAnalyzer.cc.

591  {
592  bool accept(false);
593 
594  if (spr::goodTrack(pTrack, leadPV, selectionParameter_, false)) {
595  spr::propagatedTrackID trackID = spr::propagateCALO(pTrack, geo_, bField_, false);
596 
597  if (trackID.okECAL && trackID.okHCAL) {
598  double emaxNearP = (ifHadron) ? spr::chargeIsolationEcal(nTrack, trkCaloDets, geo_, caloTopology_, 15, 15) : 0;
599  if (emaxNearP < emaxNearPThr_) {
600  double eEcal(0), eHcal(0), activeLengthTot(0), activeLengthHotTot(0);
601  double eHcalDepth[depthMax_], eHcalDepthHot[depthMax_];
602  double eHcalDepthC[depthMax_], eHcalDepthHotC[depthMax_];
603  double cHcalDepthHot[depthMax_], cHcalDepthHotBG[depthMax_];
604  double activeL[depthMax_], activeHotL[depthMax_];
605  bool matchDepth[depthMax_], matchDepthHot[depthMax_];
606  HcalDetId eHcalDetId[depthMax_];
607  unsigned int isHot(0);
608  bool tmpmatch(false);
609  int ieta(-1000), iphi(-1000);
610  for (int i = 0; i < depthMax_; ++i) {
611  eHcalDepth[i] = eHcalDepthHot[i] = 0;
612  eHcalDepthC[i] = eHcalDepthHotC[i] = 0;
613  cHcalDepthHot[i] = cHcalDepthHotBG[i] = 0;
614  activeL[i] = activeHotL[i] = 0;
615  matchDepth[i] = matchDepthHot[i] = true;
616  }
617 
619  std::pair<bool, HcalDetId> info = spr::propagateHCALBack(pTrack, geo_, bField_, false);
620  if (info.first)
621  check = info.second;
622 
623  const DetId isoCell(trackID.detIdECAL);
624  std::pair<double, bool> e3x3 = spr::eECALmatrix(isoCell,
628  geo_,
630  sevlv_,
631  1,
632  1,
633  -100.0,
634  -100.0,
635  -500.0,
636  500.0,
637  false);
638  eEcal = e3x3.first;
639 #ifdef EDM_ML_DEBUG
640  if (verbosity_ % 10 > 0)
641  edm::LogVerbatim("HBHEMuon") << "Propagate Track to ECAL: " << e3x3.second << ":" << trackID.okECAL << " E "
642  << eEcal;
643 #endif
644 
645  DetId closestCell(trackID.detIdHCAL);
646  HcalDetId hcidt(closestCell.rawId());
647  if ((hcidt.ieta() == check.ieta()) && (hcidt.iphi() == check.iphi()))
648  tmpmatch = true;
649 #ifdef EDM_ML_DEBUG
650  if (verbosity_ % 10 > 0)
651  edm::LogVerbatim("HBHEMuon") << "Front " << hcidt << " Back " << info.first << ":" << check << " Match "
652  << tmpmatch;
653 #endif
654 
655  HcalSubdetector subdet = hcidt.subdet();
656  ieta = hcidt.ieta();
657  iphi = hcidt.iphi();
658  bool hborhe = (std::abs(ieta) == 16);
659 
661  closestCell,
662  hbhe_,
663  0,
664  0,
665  false,
666  true,
667  -100.0,
668  -100.0,
669  -100.0,
670  -100.0,
671  -500.,
672  500.,
673  useRaw_);
674  std::vector<std::pair<double, int>> ehdepth;
675  spr::energyHCALCell((HcalDetId)closestCell,
676  hbhe_,
677  ehdepth,
678  depthMax_,
679  -100.0,
680  -100.0,
681  -100.0,
682  -100.0,
683  -500.0,
684  500.0,
685  useRaw_,
686  depth16HE(ieta, iphi),
687  false);
688  for (int i = 0; i < depthMax_; ++i)
689  eHcalDetId[i] = HcalDetId();
690  for (unsigned int i = 0; i < ehdepth.size(); ++i) {
691  HcalSubdetector subdet0 =
692  (hborhe) ? ((ehdepth[i].second >= depth16HE(ieta, iphi)) ? HcalEndcap : HcalBarrel) : subdet;
693  HcalDetId hcid0(subdet0, ieta, iphi, ehdepth[i].second);
694  double actL = activeLength(DetId(hcid0));
695  double ene = ehdepth[i].first;
696  bool tmpC(false);
697  if (ene > 0.0) {
698  if (!(theHBHETopology_->validHcal(hcid0))) {
699  edm::LogWarning("HBHEMuon") << "(1) Invalid ID " << hcid0 << " with E = " << ene;
700  edm::LogWarning("HBHEMuon") << HcalDetId(closestCell) << " with " << ehdepth.size() << " depths:";
701  for (const auto& ehd : ehdepth)
702  edm::LogWarning("HBHEMuon") << " " << ehd.second << ":" << ehd.first;
703  } else {
704  tmpC = goodCell(hcid0, pTrack, geo_, bField_);
705  double enec(ene);
706  if (unCorrect_) {
707  double corr = (ignoreHECorr_ && (subdet0 == HcalEndcap)) ? 1.0 : respCorr(DetId(hcid0));
708  if (corr != 0)
709  ene /= corr;
710 #ifdef EDM_ML_DEBUG
711  if (verbosity_ % 10 > 0) {
712  HcalDetId id = (isItPlan1_ && isItPreRecHit_) ? hdc_->mergedDepthDetId(hcid0) : hcid0;
713  edm::LogVerbatim("HBHEMuon") << hcid0 << ":" << id << " Corr " << corr;
714  }
715 #endif
716  }
717  int depth = ehdepth[i].second - 1;
718  if (collapseDepth_) {
719  HcalDetId id = hdc_->mergedDepthDetId(hcid0);
720  depth = id.depth() - 1;
721  }
722  eHcalDepth[depth] += ene;
723  eHcalDepthC[depth] += enec;
724  activeL[depth] += actL;
725  activeLengthTot += actL;
726  matchDepth[depth] = (matchDepth[depth] && tmpC);
727 #ifdef EDM_ML_DEBUG
728  if ((verbosity_ / 10) % 10 > 0)
729  edm::LogVerbatim("HBHEMuon")
730  << hcid0 << " E " << ene << ":" << enec << " L " << actL << " Match " << tmpC;
731 #endif
732  }
733  }
734  }
735 #ifdef EDM_ML_DEBUG
736  if ((verbosity_ / 10) % 10 > 0) {
737  edm::LogVerbatim("HBHEMuon") << hcidt << " Match " << tmpmatch << " Depths " << ehdepth.size();
738  for (unsigned int k = 0; k < ehdepth.size(); ++k)
739  edm::LogVerbatim("HBHEMuon") << " [" << k << ":" << ehdepth[k].second << "] " << matchDepth[k];
740  }
741 #endif
742  HcalDetId hotCell;
743  spr::eHCALmatrix(geo_, theHBHETopology_, closestCell, hbhe_, 1, 1, hotCell, false, useRaw_, false);
744  isHot = matchId(closestCell, hotCell);
745  if (hotCell != HcalDetId()) {
746  subdet = HcalDetId(hotCell).subdet();
747  ieta = HcalDetId(hotCell).ieta();
748  iphi = HcalDetId(hotCell).iphi();
749  hborhe = (std::abs(ieta) == 16);
750  std::vector<std::pair<double, int>> ehdepth;
751  spr::energyHCALCell(hotCell,
752  hbhe_,
753  ehdepth,
754  depthMax_,
755  -100.0,
756  -100.0,
757  -100.0,
758  -100.0,
759  -500.0,
760  500.0,
761  useRaw_,
762  depth16HE(ieta, iphi),
763  false);
764  for (int i = 0; i < depthMax_; ++i)
765  eHcalDetId[i] = HcalDetId();
766  for (unsigned int i = 0; i < ehdepth.size(); ++i) {
767  HcalSubdetector subdet0 =
768  (hborhe) ? ((ehdepth[i].second >= depth16HE(ieta, iphi)) ? HcalEndcap : HcalBarrel) : subdet;
769  HcalDetId hcid0(subdet0, ieta, iphi, ehdepth[i].second);
770  double actL = activeLength(DetId(hcid0));
771  double ene = ehdepth[i].first;
772  bool tmpC(false);
773  if (ene > 0.0) {
774  if (!(theHBHETopology_->validHcal(hcid0))) {
775  edm::LogWarning("HBHEMuon") << "(2) Invalid ID " << hcid0 << " with E = " << ene;
776  edm::LogWarning("HBHEMuon") << HcalDetId(hotCell) << " with " << ehdepth.size() << " depths:";
777  for (const auto& ehd : ehdepth)
778  edm::LogWarning("HBHEMuon") << " " << ehd.second << ":" << ehd.first;
779  } else {
780  tmpC = goodCell(hcid0, pTrack, geo_, bField_);
781  double chg(ene), enec(ene);
782  if (unCorrect_) {
783  double corr = (ignoreHECorr_ && (subdet0 == HcalEndcap)) ? 1.0 : respCorr(DetId(hcid0));
784  if (corr != 0)
785  ene /= corr;
786 #ifdef EDM_ML_DEBUG
787  if (verbosity_ % 10 > 0) {
788  HcalDetId id = (isItPlan1_ && isItPreRecHit_) ? hdc_->mergedDepthDetId(hcid0) : hcid0;
789  edm::LogVerbatim("HBHEMuon")
790  << hcid0 << ":" << id << " Corr " << corr << " E " << ene << ":" << enec;
791  }
792 #endif
793  }
794  if (getCharge_) {
795  double gain = gainFactor(conditions_, hcid0);
796  if (gain != 0)
797  chg /= gain;
798 #ifdef EDM_ML_DEBUG
799  if (verbosity_ % 10 > 0)
800  edm::LogVerbatim("HBHEMuon") << hcid0 << " Gain " << gain << " C " << chg;
801 #endif
802  }
803  int depth = ehdepth[i].second - 1;
804  if (collapseDepth_) {
805  HcalDetId id = hdc_->mergedDepthDetId(hcid0);
806  depth = id.depth() - 1;
807  }
808  eHcalDepthHot[depth] += ene;
809  eHcalDepthHotC[depth] += enec;
810  cHcalDepthHot[depth] += chg;
811  activeHotL[depth] += actL;
812  activeLengthHotTot += actL;
813  matchDepthHot[depth] = (matchDepthHot[depth] && tmpC);
814 #ifdef EDM_ML_DEBUG
815  if ((verbosity_ / 10) % 10 > 0)
816  edm::LogVerbatim("HBHEMuon") << hcid0 << " depth " << depth << " E " << ene << ":" << enec << " C "
817  << chg << " L " << actL << " Match " << tmpC;
818 #endif
819  }
820  }
821  }
822  }
823 #ifdef EDM_ML_DEBUG
824  edm::LogVerbatim("HBHEMuon") << "Propagate Track to HCAL: " << trackID.okHCAL << " Match " << tmpmatch
825  << " Hot " << isHot << " Energy " << eHcal;
826 #endif
827 
828  accept = true;
829  ecalDetId_.emplace_back((trackID.detIdECAL)());
830  hcalDetId_.emplace_back((trackID.detIdHCAL)());
831  ehcalDetId_.emplace_back((trackID.detIdEHCAL)());
832  emaxNearP_.emplace_back(emaxNearP);
833  matchedId_.emplace_back(tmpmatch);
834  ecal3x3Energy_.emplace_back(eEcal);
835  hcal1x1Energy_.emplace_back(eHcal);
836  hcal_ieta_.emplace_back(ieta);
837  hcal_iphi_.emplace_back(iphi);
838  for (int i = 0; i < maxDepth_; ++i) {
839  hcalDepthEnergy_[i].emplace_back(eHcalDepth[i]);
840  hcalDepthActiveLength_[i].emplace_back(activeL[i]);
841  hcalDepthEnergyHot_[i].emplace_back(eHcalDepthHot[i]);
842  hcalDepthActiveLengthHot_[i].emplace_back(activeHotL[i]);
843  hcalDepthEnergyCorr_[i].emplace_back(eHcalDepthC[i]);
844  hcalDepthEnergyHotCorr_[i].emplace_back(eHcalDepthHotC[i]);
845  hcalDepthChargeHot_[i].emplace_back(cHcalDepthHot[i]);
846  hcalDepthChargeHotBG_[i].emplace_back(cHcalDepthHotBG[i]);
847  hcalDepthMatch_[i].emplace_back(matchDepth[i]);
848  hcalDepthMatchHot_[i].emplace_back(matchDepthHot[i]);
849  }
850  hcalActiveLength_.emplace_back(activeLengthTot);
851  hcalHot_.emplace_back(isHot);
852  hcalActiveLengthHot_.emplace_back(activeLengthHotTot);
853 #ifdef EDM_ML_DEBUG
854  if ((verbosity_ / 100) % 10 > 0) {
855  edm::LogVerbatim("HBHEMuon") << "Track " << std::hex << ecalDetId_.back() << ":" << hcalDetId_.back() << ":"
856  << ehcalDetId_.back() << std::dec << ":" << emaxNearP_.back() << ":"
857  << matchedId_.back() << ":" << ecal3x3Energy_.back() << ":"
858  << hcal1x1Energy_.back() << ":" << hcal_ieta_.back() << ":" << hcal_iphi_.back()
859  << ":" << hcalActiveLength_.back() << ":" << hcalHot_.back() << ":"
860  << hcalActiveLengthHot_.back();
861  for (int i = 0; i < maxDepth_; ++i) {
862  edm::LogVerbatim("HBHEMuon") << "Depth[" << i << "] " << hcalDepthEnergy_[i].back() << ":"
863  << hcalDepthActiveLength_[i].back() << ":" << hcalDepthEnergyHot_[i].back()
864  << ":" << hcalDepthActiveLengthHot_[i].back() << ":"
865  << hcalDepthEnergyCorr_[i].back() << ":" << hcalDepthEnergyHotCorr_[i].back()
866  << ":" << hcalDepthChargeHot_[i].back() << ":"
867  << hcalDepthChargeHotBG_[i].back() << ":" << hcalDepthMatch_[i].back() << ":"
868  << hcalDepthMatchHot_[i].back();
869  }
870  }
871 #endif
872  fillTrackParameters(pTrack, leadPV);
873  }
874  }
875  }
876  return accept;
877 }

References funct::abs(), accept(), activeLength(), barrelRecHitsHandle_, bField_, caloTopology_, spr::chargeIsolationEcal(), RPCNoise_example::check, chg, collapseDepth_, conditions_, alignCSCRings::corr, TauDecayModes::dec, LEDCalibrationChannels::depth, depth16HE(), depthMax_, spr::propagatedTrackID::detIdECAL, spr::propagatedTrackID::detIdEHCAL, spr::propagatedTrackID::detIdHCAL, ecal3x3Energy_, ecalDetId_, spr::eECALmatrix(), ehcalDetId_, spr::eHCALmatrix(), emaxNearP_, emaxNearPThr_, endcapRecHitsHandle_, spr::energyHCALCell(), fillTrackParameters(), PedestalClient_cfi::gain, gainFactor(), geo_, getCharge_, goodCell(), spr::goodTrack(), hbhe_, hcal1x1Energy_, hcal_ieta_, hcal_iphi_, hcalActiveLength_, hcalActiveLengthHot_, HcalBarrel, hcalDepthActiveLength_, hcalDepthActiveLengthHot_, hcalDepthChargeHot_, hcalDepthChargeHotBG_, hcalDepthEnergy_, hcalDepthEnergyCorr_, hcalDepthEnergyHot_, hcalDepthEnergyHotCorr_, hcalDepthMatch_, hcalDepthMatchHot_, hcalDetId_, HcalEndcap, hcalHot_, hdc_, mps_fire::i, LEDCalibrationChannels::ieta, HcalDetId::ieta(), ignoreHECorr_, info(), LEDCalibrationChannels::iphi, HcalDetId::iphi(), isItPlan1_, isItPreRecHit_, dqmdumpme::k, matchedId_, matchId(), maxDepth_, HcalDDDRecConstants::mergedDepthDetId(), spr::propagatedTrackID::okECAL, spr::propagatedTrackID::okHCAL, spr::propagateCALO(), spr::propagateHCALBack(), DetId::rawId(), respCorr(), edm::second(), selectionParameter_, sevlv_, HcalDetId::subdet(), theEcalChStatus_, theHBHETopology_, unCorrect_, useRaw_, HcalTopology::validHcal(), and verbosity_.

Referenced by analyzeHadron(), and analyzeMuon().

◆ beginJob()

void HcalHBHEMuonHighEtaAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 299 of file HcalHBHEMuonHighEtaAnalyzer.cc.

299  {
301  tree_ = fs->make<TTree>("HBHEMuonHighEta", "HBHEMuonHighEta");
302  tree_->Branch("pt_of_muon", &ptGlob_);
303  tree_->Branch("eta_of_muon", &etaGlob_);
304  tree_->Branch("phi_of_muon", &phiGlob_);
305  tree_->Branch("energy_of_muon", &energyMuon_);
306  tree_->Branch("p_of_muon", &pMuon_);
307  tree_->Branch("MediumMuon", &mediumMuon_);
308  tree_->Branch("IsolationR04", &isolationR04_);
309  tree_->Branch("IsolationR03", &isolationR03_);
310  tree_->Branch("ecal_3into3", &ecalEnergy_);
311  tree_->Branch("hcal_3into3", &hcalEnergy_);
312  tree_->Branch("ho_3into3", &hoEnergy_);
313  tree_->Branch("emaxNearP", &emaxNearP_);
314 
315  tree_->Branch("Run_No", &runNumber_);
316  tree_->Branch("Event_No", &eventNumber_);
317  tree_->Branch("GoodVertex", &goodVertex_);
318  tree_->Branch("matchedId", &matchedId_);
319  tree_->Branch("hcal_cellHot", &hcalHot_);
320  tree_->Branch("ecal_3x3", &ecal3x3Energy_);
321  tree_->Branch("hcal_1x1", &hcal1x1Energy_);
322  tree_->Branch("ecal_detID", &ecalDetId_);
323  tree_->Branch("hcal_detID", &hcalDetId_);
324  tree_->Branch("ehcal_detID", &ehcalDetId_);
325  tree_->Branch("hcal_ieta", &hcal_ieta_);
326  tree_->Branch("hcal_iphi", &hcal_iphi_);
327 
328  char name[100];
329  for (int k = 0; k < maxDepth_; ++k) {
330  sprintf(name, "hcal_edepth%d", (k + 1));
331  tree_->Branch(name, &hcalDepthEnergy_[k]);
332  sprintf(name, "hcal_activeL%d", (k + 1));
333  tree_->Branch(name, &hcalDepthActiveLength_[k]);
334  sprintf(name, "hcal_edepthHot%d", (k + 1));
335  tree_->Branch(name, &hcalDepthEnergyHot_[k]);
336  sprintf(name, "hcal_activeHotL%d", (k + 1));
338  sprintf(name, "hcal_cdepthHot%d", (k + 1));
339  tree_->Branch(name, &hcalDepthChargeHot_[k]);
340  sprintf(name, "hcal_cdepthHotBG%d", (k + 1));
341  tree_->Branch(name, &hcalDepthChargeHotBG_[k]);
342  sprintf(name, "hcal_edepthCorrect%d", (k + 1));
343  tree_->Branch(name, &hcalDepthEnergyCorr_[k]);
344  sprintf(name, "hcal_edepthHotCorrect%d", (k + 1));
345  tree_->Branch(name, &hcalDepthEnergyHotCorr_[k]);
346  sprintf(name, "hcal_depthMatch%d", (k + 1));
347  tree_->Branch(name, &hcalDepthMatch_[k]);
348  sprintf(name, "hcal_depthMatchHot%d", (k + 1));
349  tree_->Branch(name, &hcalDepthMatchHot_[k]);
350  }
351  tree_->Branch("activeLength", &hcalActiveLength_);
352  tree_->Branch("activeLengthHot", &hcalActiveLengthHot_);
353  tree_->Branch("trackDz", &trackDz_);
354  tree_->Branch("trackLayerCrossed", &trackLayerCrossed_);
355  tree_->Branch("trackOuterHit", &trackOuterHit_);
356  tree_->Branch("trackMissedInnerHits", &trackMissedInnerHits_);
357  tree_->Branch("trackMissedOuterHits", &trackMissedOuterHits_);
358 }

References ecal3x3Energy_, ecalDetId_, ecalEnergy_, ehcalDetId_, emaxNearP_, energyMuon_, etaGlob_, eventNumber_, goodVertex_, hcal1x1Energy_, hcal_ieta_, hcal_iphi_, hcalActiveLength_, hcalActiveLengthHot_, hcalDepthActiveLength_, hcalDepthActiveLengthHot_, hcalDepthChargeHot_, hcalDepthChargeHotBG_, hcalDepthEnergy_, hcalDepthEnergyCorr_, hcalDepthEnergyHot_, hcalDepthEnergyHotCorr_, hcalDepthMatch_, hcalDepthMatchHot_, hcalDetId_, hcalEnergy_, hcalHot_, hoEnergy_, isolationR03_, isolationR04_, dqmdumpme::k, TFileService::make(), matchedId_, maxDepth_, mediumMuon_, Skims_PA_cff::name, phiGlob_, pMuon_, ptGlob_, runNumber_, trackDz_, trackLayerCrossed_, trackMissedInnerHits_, trackMissedOuterHits_, trackOuterHit_, and tree_.

◆ beginRun()

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

Definition at line 449 of file HcalHBHEMuonHighEtaAnalyzer.cc.

449  {
450  hdc_ = &iSetup.getData(tok_ddrec_);
451  actHB.clear();
452  actHE.clear();
453  actHB = hdc_->getThickActive(0);
454  actHE = hdc_->getThickActive(1);
455 #ifdef EDM_ML_DEBUG
456  if (verbosity_ % 10 > 0) {
457  unsigned int k1(0), k2(0);
458  edm::LogVerbatim("HBHEMuon") << actHB.size() << " Active Length for HB";
459  for (const auto& act : actHB) {
460  edm::LogVerbatim("HBHEMuon") << "[" << k1 << "] ieta " << act.ieta << " depth " << act.depth << " zside "
461  << act.zside << " type " << act.stype << " phi " << act.iphis.size() << ":"
462  << act.iphis[0] << " L " << act.thick;
463  HcalDetId hcid1(HcalBarrel, (act.ieta) * (act.zside), act.iphis[0], act.depth);
464  HcalDetId hcid2 = mergedDepth_ ? hdc_->mergedDepthDetId(hcid1) : hcid1;
465  edm::LogVerbatim("HBHEMuon") << hcid1 << " | " << hcid2 << " L " << activeLength(DetId(hcid2));
466  ++k1;
467  }
468  edm::LogVerbatim("HBHEMuon") << actHE.size() << " Active Length for HE";
469  for (const auto& act : actHE) {
470  edm::LogVerbatim("HBHEMuon") << "[" << k2 << "] ieta " << act.ieta << " depth " << act.depth << " zside "
471  << act.zside << " type " << act.stype << " phi " << act.iphis.size() << ":"
472  << act.iphis[0] << " L " << act.thick;
473  HcalDetId hcid1(HcalEndcap, (act.ieta) * (act.zside), act.iphis[0], act.depth);
474  HcalDetId hcid2 = mergedDepth_ ? hdc_->mergedDepthDetId(hcid1) : hcid1;
475  edm::LogVerbatim("HBHEMuon") << hcid1 << " | " << hcid2 << " L " << activeLength(DetId(hcid2));
476  ++k2;
477  }
478  }
479 #endif
480 
481  theHBHETopology_ = &iSetup.getData(tok_htopo_);
482  const HcalRespCorrs* resp = &iSetup.getData(tok_respcorr_);
483  respCorrs_ = new HcalRespCorrs(*resp);
485  geo_ = &iSetup.getData(tok_geom_);
486 
487  // Write correction factors for all HB/HE events
488  if (writeRespCorr_) {
490  const std::vector<DetId>& ids = gHcal->getValidDetIds(DetId::Hcal, 0);
491  edm::LogVerbatim("HBHEMuon") << "\nTable of Correction Factors for Run " << iRun.run() << "\n";
492  for (auto const& id : ids) {
493  if ((id.det() == DetId::Hcal) && ((id.subdetId() == HcalBarrel) || (id.subdetId() == HcalEndcap))) {
494  edm::LogVerbatim("HBHEMuon") << HcalDetId(id) << " " << id.rawId() << " "
495  << (respCorrs_->getValues(id))->getValue();
496  }
497  }
498  }
499 }

References actHB, actHE, activeLength(), geo_, edm::EventSetup::getData(), CaloGeometry::getSubdetectorGeometry(), HcalDDDRecConstants::getThickActive(), HcalGeometry::getValidDetIds(), reco::JetExtendedAssociation::getValue(), HcalCondObjectContainer< Item >::getValues(), DetId::Hcal, HcalBarrel, HcalEndcap, hdc_, mergedDepth_, HcalDDDRecConstants::mergedDepthDetId(), DetId::rawId(), respCorrs_, edm::RunBase::run(), HcalCondObjectContainerBase::setTopo(), theHBHETopology_, tok_ddrec_, tok_geom_, tok_htopo_, tok_respcorr_, verbosity_, and writeRespCorr_.

◆ clearVectors()

void HcalHBHEMuonHighEtaAnalyzer::clearVectors ( )
private

clearing vectots

Definition at line 879 of file HcalHBHEMuonHighEtaAnalyzer.cc.

879  {
881  eventNumber_ = -99999;
882  runNumber_ = -99999;
883  goodVertex_ = -99999;
884 
885  mediumMuon_.clear();
886  ptGlob_.clear();
887  etaGlob_.clear();
888  phiGlob_.clear();
889  energyMuon_.clear();
890  pMuon_.clear();
891  isolationR04_.clear();
892  isolationR03_.clear();
893  ecalEnergy_.clear();
894  hcalEnergy_.clear();
895  hoEnergy_.clear();
896 
897  matchedId_.clear();
898  hcalHot_.clear();
899  ecal3x3Energy_.clear();
900  hcal1x1Energy_.clear();
901  ecalDetId_.clear();
902  hcalDetId_.clear();
903  ehcalDetId_.clear();
904  hcal_ieta_.clear();
905  hcal_iphi_.clear();
906  for (int i = 0; i < depthMax_; ++i) {
907  hcalDepthEnergy_[i].clear();
908  hcalDepthActiveLength_[i].clear();
909  hcalDepthEnergyHot_[i].clear();
910  hcalDepthActiveLengthHot_[i].clear();
911  hcalDepthChargeHot_[i].clear();
912  hcalDepthChargeHotBG_[i].clear();
913  hcalDepthEnergyCorr_[i].clear();
914  hcalDepthEnergyHotCorr_[i].clear();
915  hcalDepthMatch_[i].clear();
916  hcalDepthMatchHot_[i].clear();
917  }
918  hcalActiveLength_.clear();
919  hcalActiveLengthHot_.clear();
920 
921  emaxNearP_.clear();
922  trackDz_.clear();
923  trackLayerCrossed_.clear();
924  trackOuterHit_.clear();
925  trackMissedInnerHits_.clear();
926  trackMissedOuterHits_.clear();
927 }

References depthMax_, ecal3x3Energy_, ecalDetId_, ecalEnergy_, ehcalDetId_, emaxNearP_, energyMuon_, etaGlob_, eventNumber_, goodVertex_, hcal1x1Energy_, hcal_ieta_, hcal_iphi_, hcalActiveLength_, hcalActiveLengthHot_, hcalDepthActiveLength_, hcalDepthActiveLengthHot_, hcalDepthChargeHot_, hcalDepthChargeHotBG_, hcalDepthEnergy_, hcalDepthEnergyCorr_, hcalDepthEnergyHot_, hcalDepthEnergyHotCorr_, hcalDepthMatch_, hcalDepthMatchHot_, hcalDetId_, hcalEnergy_, hcalHot_, hoEnergy_, mps_fire::i, isolationR03_, isolationR04_, matchedId_, mediumMuon_, phiGlob_, pMuon_, ptGlob_, runNumber_, trackDz_, trackLayerCrossed_, trackMissedInnerHits_, trackMissedOuterHits_, and trackOuterHit_.

Referenced by analyze().

◆ depth16HE()

int HcalHBHEMuonHighEtaAnalyzer::depth16HE ( int  ieta,
int  iphi 
)
private

Definition at line 1003 of file HcalHBHEMuonHighEtaAnalyzer.cc.

1003  {
1004  // Transition between HB/HE is special
1005  // For Run 1 or for Plan1 standard reconstruction it is 3
1006  // For runs beyond 2018 or in Plan1 for HEP17 it is 4
1007  int zside = (ieta > 0) ? 1 : -1;
1009  if (isItPlan1_ && (!isItPreRecHit_))
1010  depth = 3;
1011 #ifdef EDM_ML_DEBUG
1012  if (verbosity_ % 10 > 0)
1013  edm::LogVerbatim("HBHEMuon") << "Plan1 " << isItPlan1_ << " PreRecHit " << isItPreRecHit_ << " phi " << iphi
1014  << " depth " << depth;
1015 #endif
1016  return depth;
1017 }

References HcalTopology::dddConstants(), LEDCalibrationChannels::depth, HcalDDDRecConstants::getMinDepth(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, isItPlan1_, isItPreRecHit_, theHBHETopology_, verbosity_, and ecaldqm::zside().

Referenced by analyzeTracks().

◆ endRun()

void HcalHBHEMuonHighEtaAnalyzer::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineoverrideprivate

Definition at line 86 of file HcalHBHEMuonHighEtaAnalyzer.cc.

86 {}

◆ fillDescriptions()

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

Definition at line 267 of file HcalHBHEMuonHighEtaAnalyzer.cc.

267  {
269  desc.add<edm::InputTag>("labelEBRecHit", edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
270  desc.add<edm::InputTag>("labelEERecHit", edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
271  desc.add<edm::InputTag>("labelHBHERecHit", edm::InputTag("hbhereco"));
272  desc.add<std::string>("labelVertex", "offlinePrimaryVertices");
273  desc.add<std::string>("labelMuon", "muons");
274  desc.add<std::string>("labelTrack", "generalTracks");
275  desc.add<double>("etaMin", 2.0);
276  desc.add<double>("emaxNearPThreshold", 10.0);
277  desc.add<bool>("analyzeMuon", true);
278  desc.add<bool>("unCorrect", false);
279  desc.add<bool>("collapseDepth", false);
280  desc.add<bool>("isItPlan1", false);
281  desc.add<bool>("getCharge", false);
282  desc.add<int>("useRaw", 0);
283  desc.add<int>("verbosity", 0);
284  desc.addUntracked<std::string>("fileInCorr", "");
285  desc.addUntracked<std::string>("trackQuality", "highPurity");
286  desc.addUntracked<double>("minTrackPt", 1.0);
287  desc.addUntracked<double>("maxDxyPV", 0.02);
288  desc.addUntracked<double>("maxDzPV", 100.0);
289  desc.addUntracked<double>("maxChi2", 5.0);
290  desc.addUntracked<double>("maxDpOverP", 0.1);
291  desc.addUntracked<bool>("ignoreHECorr", false);
292  desc.addUntracked<bool>("isItPreRecHit", false);
293  desc.addUntracked<bool>("writeRespCorr", false);
294  desc.addUntracked<int>("maxDepth", 7);
295  descriptions.add("hcalHBHEMuonHighEta", desc);
296 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ fillTrackParameters()

void HcalHBHEMuonHighEtaAnalyzer::fillTrackParameters ( const reco::Track pTrack,
math::XYZPoint  leadPV 
)
private

◆ gainFactor()

double HcalHBHEMuonHighEtaAnalyzer::gainFactor ( const HcalDbService conditions,
const HcalDetId id 
)
private

Definition at line 995 of file HcalHBHEMuonHighEtaAnalyzer.cc.

995  {
996  double gain(0.0);
997  const HcalCalibrations& calibs = conditions->getHcalCalibrations(id);
998  for (int capid = 0; capid < 4; ++capid)
999  gain += (0.25 * calibs.respcorrgain(capid));
1000  return gain;
1001 }

References submitPVValidationJobs::conditions, PedestalClient_cfi::gain, and HcalCalibrations::respcorrgain().

Referenced by analyzeTracks().

◆ goodCell()

bool HcalHBHEMuonHighEtaAnalyzer::goodCell ( const HcalDetId hcid,
const reco::Track pTrack,
const CaloGeometry geo,
const MagneticField bField 
)
private

Definition at line 1019 of file HcalHBHEMuonHighEtaAnalyzer.cc.

1022  {
1023  std::pair<double, double> rz = hdc_->getRZ(hcid);
1024  bool typeRZ = (hcid.subdet() == HcalEndcap) ? false : true;
1025  bool match = spr::propagateHCAL(pTrack, geo, bField, typeRZ, rz, false);
1026  return match;
1027 }

References Calorimetry_cff::bField, HcalDDDRecConstants::getRZ(), HcalEndcap, hdc_, match(), spr::propagateHCAL(), and HcalDetId::subdet().

Referenced by analyzeTracks().

◆ isGoodVertex()

bool HcalHBHEMuonHighEtaAnalyzer::isGoodVertex ( const reco::Vertex vtx)
private

Definition at line 971 of file HcalHBHEMuonHighEtaAnalyzer.cc.

971  {
972  if (vtx.isFake())
973  return false;
974  if (vtx.ndof() < 4)
975  return false;
976  if (vtx.position().Rho() > 2.)
977  return false;
978  if (fabs(vtx.position().Z()) > 24.)
979  return false;
980  return true;
981 }

References extraflags_cff::vtx.

Referenced by analyze().

◆ matchId()

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

Definition at line 929 of file HcalHBHEMuonHighEtaAnalyzer.cc.

929  {
930  HcalDetId kd1(id1.subdet(), id1.ieta(), id1.iphi(), 1);
931  HcalDetId kd2(id1.subdet(), id2.ieta(), id2.iphi(), 1);
932  int match = ((kd1 == kd2) ? 1 : 0);
933  return match;
934 }

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

Referenced by analyzeTracks().

◆ respCorr()

double HcalHBHEMuonHighEtaAnalyzer::respCorr ( const DetId id)
private

Definition at line 983 of file HcalHBHEMuonHighEtaAnalyzer.cc.

983  {
984  double cfac(1.0);
985  if (useMyCorr_) {
986  auto itr = corrValue_.find(id);
987  if (itr != corrValue_.end())
988  cfac = itr->second;
989  } else if (respCorrs_ != nullptr) {
990  cfac = (respCorrs_->getValues(id))->getValue();
991  }
992  return cfac;
993 }

References corrValue_, reco::JetExtendedAssociation::getValue(), HcalCondObjectContainer< Item >::getValues(), respCorrs_, and useMyCorr_.

Referenced by analyzeTracks().

Member Data Documentation

◆ actHB

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

Definition at line 171 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by activeLength(), and beginRun().

◆ actHE

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

Definition at line 171 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by activeLength(), and beginRun().

◆ analyzeMuon_

const bool HcalHBHEMuonHighEtaAnalyzer::analyzeMuon_
private

Definition at line 105 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze().

◆ barrelRecHitsHandle_

edm::Handle<EcalRecHitCollection> HcalHBHEMuonHighEtaAnalyzer::barrelRecHitsHandle_
private

Definition at line 140 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and analyzeTracks().

◆ bField_

const MagneticField* HcalHBHEMuonHighEtaAnalyzer::bField_
private

Definition at line 117 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), analyzeHadron(), and analyzeTracks().

◆ caloTopology_

const CaloTopology* HcalHBHEMuonHighEtaAnalyzer::caloTopology_
private

Definition at line 120 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and analyzeTracks().

◆ collapseDepth_

const bool HcalHBHEMuonHighEtaAnalyzer::collapseDepth_
private

Definition at line 105 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeTracks(), and HcalHBHEMuonHighEtaAnalyzer().

◆ conditions_

const HcalDbService* HcalHBHEMuonHighEtaAnalyzer::conditions_
private

Definition at line 121 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and analyzeTracks().

◆ corrValue_

std::map<DetId, double> HcalHBHEMuonHighEtaAnalyzer::corrValue_
private

Definition at line 172 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer(), and respCorr().

◆ depthMax_

const int HcalHBHEMuonHighEtaAnalyzer::depthMax_ = 7
staticprivate

◆ ecal3x3Energy_

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

Definition at line 153 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ ecalDetId_

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

Definition at line 154 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ ecalEnergy_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::ecalEnergy_
private

Definition at line 151 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ ehcalDetId_

std::vector<unsigned int> HcalHBHEMuonHighEtaAnalyzer::ehcalDetId_
private

Definition at line 154 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ emaxNearP_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::emaxNearP_
private

Definition at line 167 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ emaxNearPThr_

const double HcalHBHEMuonHighEtaAnalyzer::emaxNearPThr_
private

Definition at line 104 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeTracks().

◆ endcapRecHitsHandle_

edm::Handle<EcalRecHitCollection> HcalHBHEMuonHighEtaAnalyzer::endcapRecHitsHandle_
private

Definition at line 141 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and analyzeTracks().

◆ energyMuon_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::energyMuon_
private

Definition at line 149 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ etaGlob_

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

Definition at line 149 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ etaMin_

const double HcalHBHEMuonHighEtaAnalyzer::etaMin_
private

Definition at line 104 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeHadron(), and analyzeMuon().

◆ eventNumber_

unsigned int HcalHBHEMuonHighEtaAnalyzer::eventNumber_
private

Definition at line 147 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ fileInCorr_

const std::string HcalHBHEMuonHighEtaAnalyzer::fileInCorr_
private

Definition at line 107 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer().

◆ geo_

const CaloGeometry* HcalHBHEMuonHighEtaAnalyzer::geo_
private

Definition at line 115 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeHadron(), analyzeTracks(), and beginRun().

◆ getCharge_

const bool HcalHBHEMuonHighEtaAnalyzer::getCharge_
private

Definition at line 105 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeTracks(), and HcalHBHEMuonHighEtaAnalyzer().

◆ goodVertex_

unsigned int HcalHBHEMuonHighEtaAnalyzer::goodVertex_
private

Definition at line 147 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hbhe_

edm::Handle<HBHERecHitCollection> HcalHBHEMuonHighEtaAnalyzer::hbhe_
private

Definition at line 142 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and analyzeTracks().

◆ hcal1x1Energy_

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

Definition at line 153 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcal_ieta_

std::vector<int> HcalHBHEMuonHighEtaAnalyzer::hcal_ieta_
private

Definition at line 155 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcal_iphi_

std::vector<int> HcalHBHEMuonHighEtaAnalyzer::hcal_iphi_
private

Definition at line 155 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalActiveLength_

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

Definition at line 166 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalActiveLengthHot_

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

Definition at line 166 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthActiveLength_

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

Definition at line 157 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthActiveLengthHot_

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

Definition at line 159 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthChargeHot_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::hcalDepthChargeHot_[depthMax_]
private

Definition at line 160 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthChargeHotBG_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::hcalDepthChargeHotBG_[depthMax_]
private

Definition at line 161 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthEnergy_

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

Definition at line 156 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthEnergyCorr_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::hcalDepthEnergyCorr_[depthMax_]
private

Definition at line 162 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthEnergyHot_

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

Definition at line 158 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthEnergyHotCorr_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::hcalDepthEnergyHotCorr_[depthMax_]
private

Definition at line 163 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthMatch_

std::vector<bool> HcalHBHEMuonHighEtaAnalyzer::hcalDepthMatch_[depthMax_]
private

Definition at line 164 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDepthMatchHot_

std::vector<bool> HcalHBHEMuonHighEtaAnalyzer::hcalDepthMatchHot_[depthMax_]
private

Definition at line 165 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalDetId_

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

Definition at line 154 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalEnergy_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::hcalEnergy_
private

Definition at line 151 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hcalHot_

std::vector<bool> HcalHBHEMuonHighEtaAnalyzer::hcalHot_
private

Definition at line 152 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ hdc_

const HcalDDDRecConstants* HcalHBHEMuonHighEtaAnalyzer::hdc_
private

Definition at line 113 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by activeLength(), analyzeTracks(), beginRun(), and goodCell().

◆ hoEnergy_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::hoEnergy_
private

Definition at line 151 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ ignoreHECorr_

const bool HcalHBHEMuonHighEtaAnalyzer::ignoreHECorr_
private

Definition at line 108 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeTracks(), and HcalHBHEMuonHighEtaAnalyzer().

◆ isItPlan1_

const bool HcalHBHEMuonHighEtaAnalyzer::isItPlan1_
private

◆ isItPreRecHit_

const bool HcalHBHEMuonHighEtaAnalyzer::isItPreRecHit_
private

◆ isolationR03_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::isolationR03_
private

Definition at line 150 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ isolationR04_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::isolationR04_
private

Definition at line 150 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ kount_

int HcalHBHEMuonHighEtaAnalyzer::kount_
private

Definition at line 110 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ labelEBRecHit_

const edm::InputTag HcalHBHEMuonHighEtaAnalyzer::labelEBRecHit_
private

Definition at line 102 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer().

◆ labelEERecHit_

const edm::InputTag HcalHBHEMuonHighEtaAnalyzer::labelEERecHit_
private

Definition at line 102 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer().

◆ labelGenTrack_

const std::string HcalHBHEMuonHighEtaAnalyzer::labelGenTrack_
private

Definition at line 103 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer().

◆ labelHBHERecHit_

const edm::InputTag HcalHBHEMuonHighEtaAnalyzer::labelHBHERecHit_
private

Definition at line 102 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer().

◆ labelMuon_

const std::string HcalHBHEMuonHighEtaAnalyzer::labelMuon_
private

Definition at line 103 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer().

◆ labelVtx_

const std::string HcalHBHEMuonHighEtaAnalyzer::labelVtx_
private

Definition at line 103 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer().

◆ matchedId_

std::vector<bool> HcalHBHEMuonHighEtaAnalyzer::matchedId_
private

Definition at line 152 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ maxDepth_

int HcalHBHEMuonHighEtaAnalyzer::maxDepth_
private

◆ mediumMuon_

std::vector<bool> HcalHBHEMuonHighEtaAnalyzer::mediumMuon_
private

Definition at line 148 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ mergedDepth_

bool HcalHBHEMuonHighEtaAnalyzer::mergedDepth_
private

◆ phiGlob_

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

Definition at line 149 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ pMuon_

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

Definition at line 149 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ ptGlob_

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

Definition at line 149 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ respCorrs_

HcalRespCorrs* HcalHBHEMuonHighEtaAnalyzer::respCorrs_
private

Definition at line 116 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by beginRun(), and respCorr().

◆ runNumber_

unsigned int HcalHBHEMuonHighEtaAnalyzer::runNumber_
private

Definition at line 147 of file HcalHBHEMuonHighEtaAnalyzer.cc.

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

◆ selectionParameter_

spr::trackSelectionParameters HcalHBHEMuonHighEtaAnalyzer::selectionParameter_
private

Definition at line 111 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeTracks(), and HcalHBHEMuonHighEtaAnalyzer().

◆ sevlv_

const EcalSeverityLevelAlgo* HcalHBHEMuonHighEtaAnalyzer::sevlv_
private

Definition at line 119 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and analyzeTracks().

◆ theEcalChStatus_

const EcalChannelStatus* HcalHBHEMuonHighEtaAnalyzer::theEcalChStatus_
private

Definition at line 118 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and analyzeTracks().

◆ theHBHETopology_

const HcalTopology* HcalHBHEMuonHighEtaAnalyzer::theHBHETopology_
private

Definition at line 114 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeTracks(), beginRun(), and depth16HE().

◆ theTrackQuality_

const std::string HcalHBHEMuonHighEtaAnalyzer::theTrackQuality_
private

Definition at line 107 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeHadron(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_chan_

edm::ESGetToken<EcalChannelStatus, EcalChannelStatusRcd> HcalHBHEMuonHighEtaAnalyzer::tok_chan_
private

Definition at line 135 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_dbservice_

edm::ESGetToken<HcalDbService, HcalDbRecord> HcalHBHEMuonHighEtaAnalyzer::tok_dbservice_
private

Definition at line 138 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_ddrec_

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

Definition at line 130 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by beginRun(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_EB_

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

Definition at line 124 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_EE_

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

Definition at line 125 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_genTrack_

edm::EDGetTokenT<reco::TrackCollection> HcalHBHEMuonHighEtaAnalyzer::tok_genTrack_
private

Definition at line 128 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeHadron(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_geom_

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

Definition at line 133 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by beginRun(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_HBHE_

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

Definition at line 126 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_htopo_

edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> HcalHBHEMuonHighEtaAnalyzer::tok_htopo_
private

Definition at line 131 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by beginRun(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_magField_

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

Definition at line 134 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_Muon_

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

Definition at line 127 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeMuon(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_respcorr_

edm::ESGetToken<HcalRespCorrs, HcalRespCorrsRcd> HcalHBHEMuonHighEtaAnalyzer::tok_respcorr_
private

Definition at line 132 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by beginRun(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_sevlv_

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

Definition at line 136 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_topo_

edm::ESGetToken<CaloTopology, CaloTopologyRecord> HcalHBHEMuonHighEtaAnalyzer::tok_topo_
private

Definition at line 137 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ tok_Vtx_

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

Definition at line 123 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and HcalHBHEMuonHighEtaAnalyzer().

◆ trackDz_

std::vector<double> HcalHBHEMuonHighEtaAnalyzer::trackDz_
private

◆ trackLayerCrossed_

std::vector<int> HcalHBHEMuonHighEtaAnalyzer::trackLayerCrossed_
private

◆ trackMissedInnerHits_

std::vector<int> HcalHBHEMuonHighEtaAnalyzer::trackMissedInnerHits_
private

◆ trackMissedOuterHits_

std::vector<int> HcalHBHEMuonHighEtaAnalyzer::trackMissedOuterHits_
private

◆ trackOuterHit_

std::vector<int> HcalHBHEMuonHighEtaAnalyzer::trackOuterHit_
private

◆ tree_

TTree* HcalHBHEMuonHighEtaAnalyzer::tree_
private

Definition at line 146 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyze(), and beginJob().

◆ unCorrect_

const bool HcalHBHEMuonHighEtaAnalyzer::unCorrect_
private

Definition at line 105 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeTracks(), and HcalHBHEMuonHighEtaAnalyzer().

◆ useMyCorr_

bool HcalHBHEMuonHighEtaAnalyzer::useMyCorr_
private

Definition at line 109 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by HcalHBHEMuonHighEtaAnalyzer(), and respCorr().

◆ useRaw_

const int HcalHBHEMuonHighEtaAnalyzer::useRaw_
private

Definition at line 106 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by analyzeTracks(), and HcalHBHEMuonHighEtaAnalyzer().

◆ verbosity_

const int HcalHBHEMuonHighEtaAnalyzer::verbosity_
private

◆ writeRespCorr_

const bool HcalHBHEMuonHighEtaAnalyzer::writeRespCorr_
private

Definition at line 108 of file HcalHBHEMuonHighEtaAnalyzer.cc.

Referenced by beginRun().

spr::trackSelectionParameters::maxDxyPV
double maxDxyPV
Definition: TrackSelection.h:22
HcalHBHEMuonHighEtaAnalyzer::analyzeMuon
bool analyzeMuon(edm::Event const &, math::XYZPoint &)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:501
HcalHBHEMuonHighEtaAnalyzer::hcalDepthChargeHot_
std::vector< double > hcalDepthChargeHot_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:160
HcalDDDRecConstants::mergedDepthDetId
HcalDetId mergedDepthDetId(const HcalDetId &id) const
Definition: HcalDDDRecConstants.cc:647
HcalHBHEMuonHighEtaAnalyzer::hcalEnergy_
std::vector< double > hcalEnergy_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:151
HcalHBHEMuonHighEtaAnalyzer::depth16HE
int depth16HE(int, int)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:1003
reco::HitPattern::MISSING_OUTER_HITS
Definition: HitPattern.h:155
HcalHBHEMuonHighEtaAnalyzer::labelHBHERecHit_
const edm::InputTag labelHBHERecHit_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:102
HcalHBHEMuonHighEtaAnalyzer::analyzeHadron
bool analyzeHadron(edm::Event const &, math::XYZPoint &)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:566
HcalHBHEMuonHighEtaAnalyzer::hcal_ieta_
std::vector< int > hcal_ieta_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:155
HcalHBHEMuonHighEtaAnalyzer::activeLength
double activeLength(const DetId &)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:936
HcalRespCorrs
Definition: HcalRespCorrs.h:17
HcalHBHEMuonHighEtaAnalyzer::hcalDepthChargeHotBG_
std::vector< double > hcalDepthChargeHotBG_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:161
mps_fire.i
i
Definition: mps_fire.py:428
HcalHBHEMuonHighEtaAnalyzer::hcalHot_
std::vector< bool > hcalHot_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:152
StandaloneTrackMonitor_cfi.trackQuality
trackQuality
Definition: StandaloneTrackMonitor_cfi.py:11
HcalTopology::validHcal
bool validHcal(const HcalDetId &id) const
Definition: HcalTopology.cc:230
HcalHBHEMuonHighEtaAnalyzer::hcalDepthMatch_
std::vector< bool > hcalDepthMatch_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:164
HcalCondObjectContainerBase::setTopo
void setTopo(const HcalTopology *topo)
Definition: HcalCondObjectContainerBase.cc:17
reco::HitPattern::stripTOBLayersWithMeasurement
int stripTOBLayersWithMeasurement() const
Definition: HitPattern.cc:597
spr::propagatedTrackID::detIdEHCAL
DetId detIdEHCAL
Definition: CaloPropagateTrack.h:45
reco::HitPattern::trackerLayersWithoutMeasurement
int trackerLayersWithoutMeasurement(HitCategory category) const
Definition: HitPattern.cc:532
spr::trackSelectionParameters::maxDzPV
double maxDzPV
Definition: TrackSelection.h:22
HcalHBHEMuonHighEtaAnalyzer::getCharge_
const bool getCharge_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:105
HcalHBHEMuonHighEtaAnalyzer::phiGlob_
std::vector< double > phiGlob_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:149
HcalDetId::iphi
constexpr int iphi() const
get the cell iphi
Definition: HcalDetId.h:157
spr::trackSelectionParameters::maxChi2
double maxChi2
Definition: TrackSelection.h:22
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
muon::segmentCompatibility
float segmentCompatibility(const reco::Muon &muon, reco::Muon::ArbitrationType arbitrationType=reco::Muon::SegmentAndTrackArbitration)
Definition: MuonSelectors.cc:61
HcalDDDRecConstants::getThickActive
std::vector< HcalActiveLength > getThickActive(const int &type) const
Definition: HcalDDDRecConstants.cc:465
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
HcalHBHEMuonHighEtaAnalyzer::hcalDepthEnergyHot_
std::vector< double > hcalDepthEnergyHot_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:158
HcalHBHEMuonHighEtaAnalyzer::respCorr
double respCorr(const DetId &)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:983
HcalHBHEMuonHighEtaAnalyzer::trackLayerCrossed_
std::vector< int > trackLayerCrossed_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:168
HcalHBHEMuonHighEtaAnalyzer::hbhe_
edm::Handle< HBHERecHitCollection > hbhe_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:142
HcalHBHEMuonHighEtaAnalyzer::isItPlan1_
const bool isItPlan1_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:105
globals_cff.id1
id1
Definition: globals_cff.py:33
DetId::Hcal
Definition: DetId.h:28
HcalHBHEMuonHighEtaAnalyzer::analyzeTracks
bool analyzeTracks(const reco::Track *, math::XYZPoint &, int, std::vector< spr::propagatedTrackID > &, bool)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:587
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89281
HcalHBHEMuonHighEtaAnalyzer::tok_magField_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > tok_magField_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:134
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
HcalHBHEMuonHighEtaAnalyzer::theEcalChStatus_
const EcalChannelStatus * theEcalChStatus_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:118
CaloGeometry::getSubdetectorGeometry
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
Definition: CaloGeometry.cc:34
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition: TrackBase.h:150
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
HcalHBHEMuonHighEtaAnalyzer::goodCell
bool goodCell(const HcalDetId &, const reco::Track *, const CaloGeometry *, const MagneticField *)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:1019
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
HcalHBHEMuonHighEtaAnalyzer::trackMissedOuterHits_
std::vector< int > trackMissedOuterHits_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:169
spr::goodTrack
bool goodTrack(const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false)
Definition: TrackSelection.cc:10
HcalHBHEMuonHighEtaAnalyzer::ecal3x3Energy_
std::vector< double > ecal3x3Energy_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:153
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalHBHEMuonHighEtaAnalyzer::verbosity_
const int verbosity_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:106
HcalHBHEMuonHighEtaAnalyzer::tok_dbservice_
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbservice_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:138
HcalBarrel
Definition: HcalAssistant.h:33
HcalHBHEMuonHighEtaAnalyzer::isGoodVertex
bool isGoodVertex(const reco::Vertex &)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:971
HcalHBHEMuonHighEtaAnalyzer::tok_geom_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:133
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
HcalHBHEMuonHighEtaAnalyzer::hcal_iphi_
std::vector< int > hcal_iphi_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:155
edm::Handle< reco::VertexCollection >
HcalHBHEMuonHighEtaAnalyzer::fillTrackParameters
void fillTrackParameters(const reco::Track *, math::XYZPoint)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:1029
HcalHBHEMuonHighEtaAnalyzer::tok_htopo_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_htopo_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:131
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
HcalCondObjectContainer::getValues
const Item * getValues(DetId fId, bool throwOnFail=true) const
Definition: HcalCondObjectContainer.h:159
chg
const float chg[109]
Definition: CoreSimTrack.cc:5
HcalGeometry::getValidDetIds
const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const override
Get a list of valid detector ids (for the given subdetector)
Definition: HcalGeometry.cc:76
HcalHBHEMuonHighEtaAnalyzer::trackOuterHit_
std::vector< int > trackOuterHit_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:168
HcalHBHEMuonHighEtaAnalyzer::tok_sevlv_
edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd > tok_sevlv_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:136
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
HcalHBHEMuonHighEtaAnalyzer::labelEBRecHit_
const edm::InputTag labelEBRecHit_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:102
HcalHBHEMuonHighEtaAnalyzer::tok_Vtx_
edm::EDGetTokenT< reco::VertexCollection > tok_Vtx_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:123
HcalHBHEMuonHighEtaAnalyzer::tree_
TTree * tree_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:146
DetId
Definition: DetId.h:17
accept
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:31
HcalHBHEMuonHighEtaAnalyzer::hcalDetId_
std::vector< unsigned int > hcalDetId_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:154
reco::HitPattern
Definition: HitPattern.h:147
RPCNoise_example.check
check
Definition: RPCNoise_example.py:71
HcalHBHEMuonHighEtaAnalyzer::tok_HBHE_
edm::EDGetTokenT< HBHERecHitCollection > tok_HBHE_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:126
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)
HcalHBHEMuonHighEtaAnalyzer::tok_topo_
edm::ESGetToken< CaloTopology, CaloTopologyRecord > tok_topo_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:137
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)
HcalHBHEMuonHighEtaAnalyzer::depthMax_
static const int depthMax_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:145
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
reco::HitPattern::trackerLayersWithMeasurement
int trackerLayersWithMeasurement() const
Definition: HitPattern.cc:513
alignCSCRings.corr
dictionary corr
Definition: alignCSCRings.py:124
HcalHBHEMuonHighEtaAnalyzer::hcal1x1Energy_
std::vector< double > hcal1x1Energy_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:153
spr::propagatedTrackID::okECAL
bool okECAL
Definition: CaloPropagateTrack.h:44
HcalHBHEMuonHighEtaAnalyzer::bField_
const MagneticField * bField_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:117
HcalHBHEMuonHighEtaAnalyzer::trackMissedInnerHits_
std::vector< int > trackMissedInnerHits_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:169
HcalHBHEMuonHighEtaAnalyzer::hcalActiveLengthHot_
std::vector< double > hcalActiveLengthHot_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:166
HcalHBHEMuonHighEtaAnalyzer::tok_chan_
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > tok_chan_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:135
reco::Track
Definition: Track.h:27
spr::trackSelectionParameters::minPt
double minPt
Definition: TrackSelection.h:20
HcalHBHEMuonHighEtaAnalyzer::useRaw_
const int useRaw_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:106
HcalHBHEMuonHighEtaAnalyzer::hcalActiveLength_
std::vector< double > hcalActiveLength_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:166
HcalHBHEMuonHighEtaAnalyzer::mediumMuon_
std::vector< bool > mediumMuon_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:148
reco::TrackBase::dz
double dz() const
dz parameter (= dsz/cos(lambda)). This is the track z0 w.r.t (0,0,0) only if the refPoint is close to...
Definition: TrackBase.h:622
spr::trackSelectionParameters::minOuterHit
int minOuterHit
Definition: TrackSelection.h:23
HcalHBHEMuonHighEtaAnalyzer::isItPreRecHit_
const bool isItPreRecHit_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:108
dqmdumpme.k
k
Definition: dqmdumpme.py:60
HcalHBHEMuonHighEtaAnalyzer::writeRespCorr_
const bool writeRespCorr_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:108
HcalCalibrations
Definition: HcalCalibrations.h:9
HcalHBHEMuonHighEtaAnalyzer::corrValue_
std::map< DetId, double > corrValue_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:172
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
HcalDDDRecConstants::getMinDepth
int getMinDepth(const int &itype, const int &ieta, const int &iphi, const int &zside) const
Definition: HcalDDDRecConstants.cc:353
HcalCalibrations::respcorrgain
constexpr double respcorrgain(int fCapId) const
get response corrected gain for capid=0..3
Definition: HcalCalibrations.h:42
spr::trackSelectionParameters::maxDpOverP
double maxDpOverP
Definition: TrackSelection.h:22
HcalHBHEMuonHighEtaAnalyzer::tok_EE_
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:125
spr::trackSelectionParameters::minLayerCrossed
int minLayerCrossed
Definition: TrackSelection.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalHBHEMuonHighEtaAnalyzer::hcalDepthMatchHot_
std::vector< bool > hcalDepthMatchHot_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:165
HcalHBHEMuonHighEtaAnalyzer::labelMuon_
const std::string labelMuon_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:103
HcalHBHEMuonHighEtaAnalyzer::hcalDepthEnergy_
std::vector< double > hcalDepthEnergy_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:156
HcalHBHEMuonHighEtaAnalyzer::tok_Muon_
edm::EDGetTokenT< reco::MuonCollection > tok_Muon_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:127
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
HcalHBHEMuonHighEtaAnalyzer::useMyCorr_
bool useMyCorr_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:109
HcalDetId::ieta
constexpr int ieta() const
get the cell ieta
Definition: HcalDetId.h:155
spr::propagatedTrackID::detIdHCAL
DetId detIdHCAL
Definition: CaloPropagateTrack.h:45
HcalHBHEMuonHighEtaAnalyzer::hdc_
const HcalDDDRecConstants * hdc_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:113
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
HcalHBHEMuonHighEtaAnalyzer::fileInCorr_
const std::string fileInCorr_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:107
spr::propagatedTrackID::detIdECAL
DetId detIdECAL
Definition: CaloPropagateTrack.h:45
HcalHBHEMuonHighEtaAnalyzer::kount_
int kount_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:110
HcalHBHEMuonHighEtaAnalyzer::etaGlob_
std::vector< double > etaGlob_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:149
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
HcalHBHEMuonHighEtaAnalyzer::etaMin_
const double etaMin_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:104
HcalHBHEMuonHighEtaAnalyzer::matchedId_
std::vector< bool > matchedId_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:152
HcalHBHEMuonHighEtaAnalyzer::analyzeMuon_
const bool analyzeMuon_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:105
HcalTopology::dddConstants
const HcalDDDRecConstants * dddConstants() const
Definition: HcalTopology.h:164
spr::trackSelectionParameters::maxOutMiss
int maxOutMiss
Definition: TrackSelection.h:24
match
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
reco::TrackBase::eta
double eta() const
pseudorapidity of momentum vector
Definition: TrackBase.h:652
HcalHBHEMuonHighEtaAnalyzer::tok_ddrec_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_ddrec_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:130
reco::JetExtendedAssociation::getValue
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
Definition: JetExtendedAssociation.cc:50
HcalDetId::subdet
constexpr HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:138
HcalDetId
Definition: HcalDetId.h:12
edm::Service< TFileService >
HcalHBHEMuonHighEtaAnalyzer::hoEnergy_
std::vector< double > hoEnergy_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:151
iEvent
int iEvent
Definition: GenABIO.cc:224
HcalHBHEMuonHighEtaAnalyzer::labelVtx_
const std::string labelVtx_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:103
HcalHBHEMuonHighEtaAnalyzer::maxDepth_
int maxDepth_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:110
HcalHBHEMuonHighEtaAnalyzer::geo_
const CaloGeometry * geo_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:115
HcalHBHEMuonHighEtaAnalyzer::goodVertex_
unsigned int goodVertex_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:147
HcalHBHEMuonHighEtaAnalyzer::respCorrs_
HcalRespCorrs * respCorrs_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:116
get
#define get
spr::trackSelectionParameters::minQuality
reco::TrackBase::TrackQuality minQuality
Definition: TrackSelection.h:21
HcalHBHEMuonHighEtaAnalyzer::collapseDepth_
const bool collapseDepth_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:105
HcalHBHEMuonHighEtaAnalyzer::barrelRecHitsHandle_
edm::Handle< EcalRecHitCollection > barrelRecHitsHandle_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:140
spr::propagatedTrackID::okHCAL
bool okHCAL
Definition: CaloPropagateTrack.h:44
HcalHBHEMuonHighEtaAnalyzer::tok_genTrack_
edm::EDGetTokenT< reco::TrackCollection > tok_genTrack_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:128
HcalHBHEMuonHighEtaAnalyzer::ignoreHECorr_
const bool ignoreHECorr_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:108
HcalHBHEMuonHighEtaAnalyzer::hcalDepthActiveLength_
std::vector< double > hcalDepthActiveLength_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:157
PedestalClient_cfi.gain
gain
Definition: PedestalClient_cfi.py:37
HcalSubdetector
HcalSubdetector
Definition: HcalAssistant.h:31
HcalHBHEMuonHighEtaAnalyzer::sevlv_
const EcalSeverityLevelAlgo * sevlv_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:119
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
reco::TrackBase::qualityByName
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
HcalHBHEMuonHighEtaAnalyzer::ecalEnergy_
std::vector< double > ecalEnergy_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:151
HcalHBHEMuonHighEtaAnalyzer::mergedDepth_
bool mergedDepth_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:109
HcalHBHEMuonHighEtaAnalyzer::caloTopology_
const CaloTopology * caloTopology_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:120
HcalHBHEMuonHighEtaAnalyzer::clearVectors
void clearVectors()
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:879
reco::TrackBase::hitPattern
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:504
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
submitPVValidationJobs.conditions
list conditions
Definition: submitPVValidationJobs.py:674
HcalHBHEMuonHighEtaAnalyzer::eventNumber_
unsigned int eventNumber_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:147
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
HcalDDDRecConstants::getRZ
double getRZ(const int &subdet, const int &ieta, const int &depth) const
Definition: HcalDDDRecConstants.cc:416
spr::propagateHCALBack
spr::propagatedTrackDirection propagateHCALBack(unsigned int thisTrk, edm::Handle< edm::SimTrackContainer > &SimTk, edm::Handle< edm::SimVertexContainer > &SimVtx, const CaloGeometry *geo, const MagneticField *bField, bool debug=false)
Definition: CaloPropagateTrack.cc:619
HcalHBHEMuonHighEtaAnalyzer::theHBHETopology_
const HcalTopology * theHBHETopology_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:114
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
Calorimetry_cff.bField
bField
Definition: Calorimetry_cff.py:284
HcalEndcap
Definition: HcalAssistant.h:34
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
spr::trackSelectionParameters::maxInMiss
int maxInMiss
Definition: TrackSelection.h:24
HcalHBHEMuonHighEtaAnalyzer::conditions_
const HcalDbService * conditions_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:121
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
reco::HitPattern::MISSING_INNER_HITS
Definition: HitPattern.h:155
spr::propagatedTrackID
Definition: CaloPropagateTrack.h:38
HcalHBHEMuonHighEtaAnalyzer::endcapRecHitsHandle_
edm::Handle< EcalRecHitCollection > endcapRecHitsHandle_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:141
HcalHBHEMuonHighEtaAnalyzer::ehcalDetId_
std::vector< unsigned int > ehcalDetId_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:154
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
spr::propagateHCAL
std::pair< math::XYZPoint, bool > propagateHCAL(const reco::Track *, const MagneticField *, bool debug=false)
Definition: CaloPropagateTrack.cc:759
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HcalHBHEMuonHighEtaAnalyzer::matchId
int matchId(const HcalDetId &, const HcalDetId &)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:929
HcalHBHEMuonHighEtaAnalyzer::unCorrect_
const bool unCorrect_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:105
HcalHBHEMuonHighEtaAnalyzer::ecalDetId_
std::vector< unsigned int > ecalDetId_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:154
HcalHBHEMuonHighEtaAnalyzer::labelEERecHit_
const edm::InputTag labelEERecHit_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:102
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)
timingPdfMaker.infile
infile
Definition: timingPdfMaker.py:350
HcalHBHEMuonHighEtaAnalyzer::gainFactor
double gainFactor(const HcalDbService *, const HcalDetId &)
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:995
HcalHBHEMuonHighEtaAnalyzer::emaxNearP_
std::vector< double > emaxNearP_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:167
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
spr::chargeIsolationEcal
double chargeIsolationEcal(unsigned int trkIndex, std::vector< spr::propagatedTrackID > &vdetIds, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, bool debug=false)
Definition: ChargeIsolation.cc:15
HcalHBHEMuonHighEtaAnalyzer::trackDz_
std::vector< double > trackDz_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:167
HcalHBHEMuonHighEtaAnalyzer::labelGenTrack_
const std::string labelGenTrack_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:103
reco::HitPattern::stripTECLayersWithMeasurement
int stripTECLayersWithMeasurement() const
Definition: HitPattern.cc:607
globals_cff.id2
id2
Definition: globals_cff.py:34
HcalHBHEMuonHighEtaAnalyzer::selectionParameter_
spr::trackSelectionParameters selectionParameter_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:111
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
HcalHBHEMuonHighEtaAnalyzer::pMuon_
std::vector< double > pMuon_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:149
edm::Log
Definition: MessageLogger.h:70
HcalGeometry
Definition: HcalGeometry.h:17
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
HcalHBHEMuonHighEtaAnalyzer::theTrackQuality_
const std::string theTrackQuality_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:107
edm::InputTag
Definition: InputTag.h:15
HcalHBHEMuonHighEtaAnalyzer::energyMuon_
std::vector< double > energyMuon_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:149
HcalDDDRecConstants::unmergeDepthDetId
void unmergeDepthDetId(const HcalDetId &id, std::vector< HcalDetId > &ids) const
Definition: HcalDDDRecConstants.cc:671
HcalHBHEMuonHighEtaAnalyzer::isolationR04_
std::vector< double > isolationR04_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:150
HcalHBHEMuonHighEtaAnalyzer::ptGlob_
std::vector< double > ptGlob_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:149
HcalHBHEMuonHighEtaAnalyzer::hcalDepthActiveLengthHot_
std::vector< double > hcalDepthActiveLengthHot_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:159
HcalHBHEMuonHighEtaAnalyzer::hcalDepthEnergyCorr_
std::vector< double > hcalDepthEnergyCorr_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:162
HcalHBHEMuonHighEtaAnalyzer::runNumber_
unsigned int runNumber_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:147
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
HcalHBHEMuonHighEtaAnalyzer::actHB
std::vector< HcalDDDRecConstants::HcalActiveLength > actHB
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:171
HcalHBHEMuonHighEtaAnalyzer::actHE
std::vector< HcalDDDRecConstants::HcalActiveLength > actHE
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:171
HcalHBHEMuonHighEtaAnalyzer::emaxNearPThr_
const double emaxNearPThr_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:104
HcalHBHEMuonHighEtaAnalyzer::tok_EB_
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:124
HcalHBHEMuonHighEtaAnalyzer::isolationR03_
std::vector< double > isolationR03_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:150
HcalHBHEMuonHighEtaAnalyzer::hcalDepthEnergyHotCorr_
std::vector< double > hcalDepthEnergyHotCorr_[depthMax_]
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:163
HcalHBHEMuonHighEtaAnalyzer::tok_respcorr_
edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcd > tok_respcorr_
Definition: HcalHBHEMuonHighEtaAnalyzer.cc:132