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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 53 of file TrackerRemapper.cc.
Enumerator | |
---|---|
RECHITS | |
DIGIS | |
CLUSTERS |
Definition at line 72 of file TrackerRemapper.cc.
Enumerator | |
---|---|
MODE_ANALYZE | |
MODE_REMAP |
Definition at line 78 of file TrackerRemapper.cc.
Enumerator | |
---|---|
INVALID | |
PXB_L1 | |
PXB_L2 | |
PXB_L3 | |
PXB_L4 | |
PXF_R1 | |
PXF_R2 |
Definition at line 60 of file TrackerRemapper.cc.
|
explicit |
Definition at line 164 of file TrackerRemapper.cc.
References CLUSTERS, clusterSrcToken, DIGIS, digiSrcToken, Exception, edm::ParameterSet::getParameter(), 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 310 of file TrackerRemapper.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 313 of file TrackerRemapper.cc.
References analyzeGeneric(), bookBins(), clusterSrcToken, digiSrcToken, fillPixelRemap(), fillStripRemap(), geomToken_, edm::EventSetup::getData(), m_analyzeMode, m_opMode, m_tkdetmap, MODE_ANALYZE, MODE_REMAP, rechitSrcToken, tkDetMapToken_, topoToken_, trackerMap, and groupFilesInBlocks::tt.
|
private |
Definition at line 137 of file TrackerRemapper.cc.
References edm::Event::getByToken(), input, and edm::HandleBase::isValid().
Referenced by analyze().
void TrackerRemapper::analyzeGeneric | ( | const edm::Event & | iEvent, |
const edm::EDGetTokenT< reco::TrackCollection > & | t | ||
) |
Definition at line 157 of file TrackerRemapper.cc.
|
private |
Definition at line 347 of file TrackerRemapper.cc.
References edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::subdetId(), HLT_FULL_cff::track, trackerMap, and tracks.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 623 of file TrackerRemapper.cc.
|
private |
Definition at line 378 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 625 of file TrackerRemapper.cc.
|
private |
Definition at line 541 of file TrackerRemapper.cc.
References TrackerGeometry::detsPXB(), GeomDet::geographicalId(), mps_fire::i, PixelBarrelName::ladderName(), phase1PixelTopology::layer, m_pixelHistnameMap, callgraph::module, TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), DetId::rawId(), PixelBarrelName::shell(), trackerMap, and hgcalPerformanceValidation::val.
Referenced by fillPixelRemap().
|
static |
Definition at line 628 of file TrackerRemapper.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, edm::ParameterSetDescription::ifValue(), HLT_FULL_cff::InputTag, or, edm::ParameterSetDescription::setComment(), and edm::ParameterDescriptionNode::setComment().
|
private |
Definition at line 581 of file TrackerRemapper.cc.
References PixelEndcapName::bladeName(), TrackerGeometry::detsPXF(), GeomDet::geographicalId(), PixelEndcapName::halfCylinder(), mps_fire::i, phase1PixelTopology::layer, TrackerTopology::layer(), m_pixelHistnameMap, PixelEndcapName::pannelName(), PixelEndcapName::ringName(), TrackerTopology::side(), trackerMap, and hgcalPerformanceValidation::val.
Referenced by fillPixelRemap().
|
private |
Definition at line 525 of file TrackerRemapper.cc.
References fillBarrelRemap(), fillEndcapRemap(), and m_pixelRemapFile.
Referenced by analyze().
|
private |
Definition at line 485 of file TrackerRemapper.cc.
References TkDetMap::getComponents(), TkDetMap::getDetFromBin(), phase1PixelTopology::layer, m_stripHistnameMap, m_stripRemapFile, m_tkdetmap, trackerMap, and hgcalPerformanceValidation::val.
Referenced by analyze().
|
private |
Definition at line 292 of file TrackerRemapper.cc.
References m_pixelBaseDir, m_pixelDesiredHistogramBarrel, m_pixelDesiredHistogramDisk, and m_pixelHistnameMap.
Referenced by TrackerRemapper().
|
private |
Definition at line 214 of file TrackerRemapper.cc.
References m_stripBaseDir, m_stripDesiredHistogram, and m_stripHistnameMap.
Referenced by TrackerRemapper().
|
private |
Definition at line 416 of file TrackerRemapper.cc.
References mps_check::array, submitPVResolutionJobs::count, Exception, contentValuesFiles::fullPath, mps_fire::i, recoMuon::in, fastTrackerRecHitType::isPixel(), geometryCSVtoXML::line, m_bins, m_detIdVector, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), x, and y.
Referenced by bookBins().
|
private |
Definition at line 132 of file TrackerRemapper.cc.
Referenced by analyze(), and TrackerRemapper().
|
private |
Definition at line 131 of file TrackerRemapper.cc.
Referenced by analyze(), and TrackerRemapper().
|
private |
Definition at line 105 of file TrackerRemapper.cc.
Referenced by bookBins().
|
private |
Definition at line 101 of file TrackerRemapper.cc.
Referenced by analyze().
|
private |
Definition at line 106 of file TrackerRemapper.cc.
|
private |
Definition at line 109 of file TrackerRemapper.cc.
Referenced by analyze(), bookBins(), and TrackerRemapper().
|
private |
Definition at line 118 of file TrackerRemapper.cc.
Referenced by bookBins(), and TrackerRemapper().
|
private |
Definition at line 111 of file TrackerRemapper.cc.
Referenced by bookBins(), and readVertices().
|
private |
Definition at line 112 of file TrackerRemapper.cc.
Referenced by readVertices().
|
private |
Definition at line 108 of file TrackerRemapper.cc.
Referenced by analyze(), bookBins(), and TrackerRemapper().
|
private |
Definition at line 124 of file TrackerRemapper.cc.
Referenced by preparePixelNames(), and TrackerRemapper().
|
private |
Definition at line 124 of file TrackerRemapper.cc.
Referenced by preparePixelNames(), and TrackerRemapper().
|
private |
Definition at line 124 of file TrackerRemapper.cc.
Referenced by preparePixelNames(), and TrackerRemapper().
|
private |
Definition at line 117 of file TrackerRemapper.cc.
Referenced by fillBarrelRemap(), fillEndcapRemap(), and preparePixelNames().
|
private |
Definition at line 121 of file TrackerRemapper.cc.
Referenced by fillPixelRemap(), and TrackerRemapper().
|
private |
Definition at line 123 of file TrackerRemapper.cc.
Referenced by prepareStripNames(), and TrackerRemapper().
|
private |
Definition at line 123 of file TrackerRemapper.cc.
Referenced by bookBins(), prepareStripNames(), and TrackerRemapper().
|
private |
Definition at line 116 of file TrackerRemapper.cc.
Referenced by fillStripRemap(), and prepareStripNames().
|
private |
Definition at line 120 of file TrackerRemapper.cc.
Referenced by fillStripRemap(), and TrackerRemapper().
|
private |
Definition at line 114 of file TrackerRemapper.cc.
Referenced by analyze(), and fillStripRemap().
|
private |
Definition at line 130 of file TrackerRemapper.cc.
Referenced by analyze(), and TrackerRemapper().
|
private |
Definition at line 126 of file TrackerRemapper.cc.
Referenced by bookBins(), and TrackerRemapper().
|
private |
Definition at line 103 of file TrackerRemapper.cc.
Referenced by analyze().
|
private |
Definition at line 102 of file TrackerRemapper.cc.
Referenced by analyze().
|
private |
Definition at line 128 of file TrackerRemapper.cc.
Referenced by analyze(), analyzeRechits(), bookBins(), fillBarrelRemap(), fillEndcapRemap(), and fillStripRemap().