Public Types | |
enum | AnalyzeData { RECHITS = 1, DIGIS, CLUSTERS } |
enum | OpMode { MODE_ANALYZE = 0, MODE_REMAP = 1 } |
enum | PixelLayerEnum { INVALID = 0, PXB_L1, PXB_L2, PXB_L3, PXB_L4, PXF_R1, PXF_R2 } |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
template<class T > | |
void | analyzeGeneric (const edm::Event &iEvent, const edm::EDGetTokenT< T > &src) |
void | analyzeRechits (const edm::Event &iEvent, const edm::EDGetTokenT< reco::TrackCollection > &src) |
void | beginJob () override |
void | bookBins () |
void | endJob () override |
void | fillBarrelRemap (TFile *rootFileHandle, const TrackerGeometry *theTrackerGeometry, const TrackerTopology *tt) |
void | fillEndcapRemap (TFile *rootFileHandle, const TrackerGeometry *theTrackerGeometry, const TrackerTopology *tt) |
void | fillPixelRemap (const TrackerGeometry *theTrackerGeometry, const TrackerTopology *tt) |
void | fillStripRemap () |
void | preparePixelNames () |
void | prepareStripNames () |
void | readVertices (double &minx, double &maxx, double &miny, double &maxy) |
Additional Inherited Members | |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 54 of file TrackerRemapper.cc.
Enumerator | |
---|---|
RECHITS | |
DIGIS | |
CLUSTERS |
Definition at line 73 of file TrackerRemapper.cc.
Enumerator | |
---|---|
MODE_ANALYZE | |
MODE_REMAP |
Definition at line 79 of file TrackerRemapper.cc.
Enumerator | |
---|---|
INVALID | |
PXB_L1 | |
PXB_L2 | |
PXB_L3 | |
PXB_L4 | |
PXF_R1 | |
PXF_R2 |
Definition at line 61 of file TrackerRemapper.cc.
|
explicit |
Definition at line 165 of file TrackerRemapper.cc.
References CLUSTERS, clusterSrcToken, DIGIS, digiSrcToken, Exception, edm::ParameterSet::getParameter(), iConfig, m_analyzeMode, m_analyzeModeNameMap, m_opMode, m_pixelBaseDir, m_pixelDesiredHistogramBarrel, m_pixelDesiredHistogramDisk, m_pixelRemapFile, m_stripBaseDir, m_stripDesiredHistogram, m_stripRemapFile, MODE_ANALYZE, MODE_REMAP, preparePixelNames(), prepareStripNames(), RECHITS, rechitSrcToken, runString, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 311 of file TrackerRemapper.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 314 of file TrackerRemapper.cc.
References analyzeGeneric(), bookBins(), clusterSrcToken, digiSrcToken, fillPixelRemap(), fillStripRemap(), geomToken_, edm::EventSetup::getData(), iEvent, m_analyzeMode, m_opMode, m_tkdetmap, MODE_ANALYZE, MODE_REMAP, rechitSrcToken, tkDetMapToken_, topoToken_, and trackerMap.
|
private |
Definition at line 138 of file TrackerRemapper.cc.
References iEvent, input, nano_mu_digi_cff::rawId, and TrackRefitter_38T_cff::src.
Referenced by analyze().
void TrackerRemapper::analyzeGeneric | ( | const edm::Event & | iEvent, |
const edm::EDGetTokenT< reco::TrackCollection > & | t | ||
) |
Definition at line 158 of file TrackerRemapper.cc.
References iEvent, and submitPVValidationJobs::t.
|
private |
Definition at line 348 of file TrackerRemapper.cc.
References mps_fire::i, iEvent, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, nano_mu_digi_cff::rawId, rpcPointValidation_cfi::recHit, TrackRefitter_38T_cff::src, HLT_2023v12_cff::track, trackerMap, and pwdgSkimBPark_cfi::tracks.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 621 of file TrackerRemapper.cc.
|
private |
Definition at line 379 of file TrackerRemapper.cc.
References fs, TFileService::getBareDirectory(), m_analyzeMode, m_analyzeModeNameMap, m_bins, m_opMode, m_stripDesiredHistogram, TFileService::make(), margin, MODE_ANALYZE, MODE_REMAP, readVertices(), runString, AlCaHLTBitMon_QueryRunRegistry::string, and trackerMap.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 623 of file TrackerRemapper.cc.
|
private |
Definition at line 539 of file TrackerRemapper.cc.
References TrackerGeometry::detsPXB(), GeomDet::geographicalId(), mps_fire::i, PixelBarrelName::ladderName(), nano_mu_digi_cff::layer, m_pixelHistnameMap, DetId::rawId(), PixelBarrelName::shell(), trackerMap, and heppy_batch::val.
Referenced by fillPixelRemap().
|
static |
Definition at line 626 of file TrackerRemapper.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and or.
|
private |
Definition at line 579 of file TrackerRemapper.cc.
References PixelEndcapName::bladeName(), TrackerGeometry::detsPXF(), GeomDet::geographicalId(), PixelEndcapName::halfCylinder(), mps_fire::i, nano_mu_digi_cff::layer, m_pixelHistnameMap, PixelEndcapName::pannelName(), PixelEndcapName::ringName(), trackerMap, and heppy_batch::val.
Referenced by fillPixelRemap().
|
private |
Definition at line 523 of file TrackerRemapper.cc.
References fillBarrelRemap(), fillEndcapRemap(), and m_pixelRemapFile.
Referenced by analyze().
|
private |
Definition at line 483 of file TrackerRemapper.cc.
References TkDetMap::getComponents(), TkDetMap::getDetFromBin(), nano_mu_digi_cff::layer, m_stripHistnameMap, m_stripRemapFile, m_tkdetmap, trackerMap, and heppy_batch::val.
Referenced by analyze().
|
private |
Definition at line 293 of file TrackerRemapper.cc.
References m_pixelBaseDir, m_pixelDesiredHistogramBarrel, m_pixelDesiredHistogramDisk, and m_pixelHistnameMap.
Referenced by TrackerRemapper().
|
private |
Definition at line 215 of file TrackerRemapper.cc.
References m_stripBaseDir, m_stripDesiredHistogram, and m_stripHistnameMap.
Referenced by TrackerRemapper().
|
private |
Definition at line 417 of file TrackerRemapper.cc.
References mps_check::array, hcalRecHitTable_cff::detId, Exception, contentValuesFiles::fullPath, mps_fire::i, recoMuon::in, fastTrackerRecHitType::isPixel(), mps_splice::line, m_bins, m_detIdVector, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, AlCaHLTBitMon_QueryRunRegistry::string, x, and y.
Referenced by bookBins().
|
private |
Definition at line 133 of file TrackerRemapper.cc.
Referenced by analyze(), and TrackerRemapper().
|
private |
Definition at line 132 of file TrackerRemapper.cc.
Referenced by analyze(), and TrackerRemapper().
|
private |
Definition at line 106 of file TrackerRemapper.cc.
Referenced by bookBins().
|
private |
Definition at line 102 of file TrackerRemapper.cc.
Referenced by analyze().
|
private |
Definition at line 107 of file TrackerRemapper.cc.
Referenced by TrackerRemapper().
|
private |
Definition at line 110 of file TrackerRemapper.cc.
Referenced by analyze(), bookBins(), and TrackerRemapper().
|
private |
Definition at line 119 of file TrackerRemapper.cc.
Referenced by bookBins(), and TrackerRemapper().
|
private |
Definition at line 112 of file TrackerRemapper.cc.
Referenced by bookBins(), and readVertices().
|
private |
Definition at line 113 of file TrackerRemapper.cc.
Referenced by readVertices().
|
private |
Definition at line 109 of file TrackerRemapper.cc.
Referenced by analyze(), bookBins(), and TrackerRemapper().
|
private |
Definition at line 125 of file TrackerRemapper.cc.
Referenced by preparePixelNames(), and TrackerRemapper().
|
private |
Definition at line 125 of file TrackerRemapper.cc.
Referenced by preparePixelNames(), and TrackerRemapper().
|
private |
Definition at line 125 of file TrackerRemapper.cc.
Referenced by preparePixelNames(), and TrackerRemapper().
|
private |
Definition at line 118 of file TrackerRemapper.cc.
Referenced by fillBarrelRemap(), fillEndcapRemap(), and preparePixelNames().
|
private |
Definition at line 122 of file TrackerRemapper.cc.
Referenced by fillPixelRemap(), and TrackerRemapper().
|
private |
Definition at line 124 of file TrackerRemapper.cc.
Referenced by prepareStripNames(), and TrackerRemapper().
|
private |
Definition at line 124 of file TrackerRemapper.cc.
Referenced by bookBins(), prepareStripNames(), and TrackerRemapper().
|
private |
Definition at line 117 of file TrackerRemapper.cc.
Referenced by fillStripRemap(), and prepareStripNames().
|
private |
Definition at line 121 of file TrackerRemapper.cc.
Referenced by fillStripRemap(), and TrackerRemapper().
|
private |
Definition at line 115 of file TrackerRemapper.cc.
Referenced by analyze(), and fillStripRemap().
|
private |
Definition at line 131 of file TrackerRemapper.cc.
Referenced by analyze(), and TrackerRemapper().
|
private |
Definition at line 127 of file TrackerRemapper.cc.
Referenced by bookBins(), and TrackerRemapper().
|
private |
Definition at line 104 of file TrackerRemapper.cc.
Referenced by analyze().
|
private |
Definition at line 103 of file TrackerRemapper.cc.
Referenced by analyze().
|
private |
Definition at line 129 of file TrackerRemapper.cc.
Referenced by analyze(), analyzeRechits(), bookBins(), fillBarrelRemap(), fillEndcapRemap(), and fillStripRemap().