#include <EJTerm/SiPixelPhase1Analyzer/plugins/SiPixelPhase1Analyzer.cc>
Classes | |
struct | complementaryElements |
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 |
void | BookBarrelBins (const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt) |
void | BookBarrelHistograms (TDirectory *currentDir, const std::string ¤tHistoName) |
void | BookBins (const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt) |
void | BookForwardBins (const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt) |
void | BookForwardHistograms (TDirectory *currentDir, const std::string ¤tHistoName) |
void | BookHistograms () |
void | FillBarrelBinsAnalyze (const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt, unsigned rawId, const GlobalPoint &globalPoint) |
void | FillBarrelBinsRemap (const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt) |
void | FillBins (edm::Handle< reco::TrackCollection > *tracks, const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt) |
void | FillForwardBinsAnalyze (const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt, unsigned rawId, const GlobalPoint &globalPoint) |
void | FillForwardBinsRemap (const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt) |
void | SaveDetectorData (bool isBarrel, unsigned rawId, int shell_hc, int layer_disk, int ladder_blade) |
void | SaveDetectorVertices (const TrackerTopology *tt) |
Private Attributes | |
std::vector< std::string > | analazedRootFileName |
std::vector< std::string > | baseHistogramName |
std::map< uint32_t, TGraph * > | bins |
std::map< uint32_t, TGraph * > | binsSummary |
std::ofstream | debugFile |
std::string | debugFileName |
bool | firstEvent |
edm::Service< TFileService > | fs |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
std::vector< unsigned > | isBarrelSource |
std::map< unsigned short, complementaryElements > | mapOfComplementaryElements |
OperationMode | opMode |
mat4 | orthoProjectionMatrix |
std::vector< std::string > | pathToHistograms |
std::map< std::string, std::vector< TH2Poly * > > | pxfTh2PolyForward |
std::map< std::string, TH2Poly * > | pxfTh2PolyForwardSummary |
TFile * | rootFileHandle |
std::map< std::string, std::vector< TH2Poly * > > | th2PolyBarrel |
std::map< std::string, TH2Poly * > | th2PolyBarrelSummary |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | topoToken_ |
edm::EDGetTokenT< reco::TrackCollection > | tracksToken |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< 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) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 70 of file SiPixelPhase1Analyzer.h.
|
explicit |
Definition at line 12 of file SiPixelPhase1Analyzer.cc.
References analazedRootFileName, baseHistogramName, mat4::BuildOrthographicMatrix(), debugFile, debugFileName, f, edm::ParameterSet::getParameter(), MODE_ANALYZE, MODE_REMAP, opMode, orthoProjectionMatrix, MillePedeFileConverter_cfg::out, pathToHistograms, and tracksToken.
|
override |
Definition at line 51 of file SiPixelPhase1Analyzer.cc.
References bins, binsSummary, debugFile, and mps_fire::i.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 66 of file SiPixelPhase1Analyzer.cc.
References BookBins(), BookHistograms(), FillBins(), firstEvent, geomToken_, edm::EventSetup::getData(), iEvent, MODE_ANALYZE, MODE_REMAP, opMode, topoToken_, tracks, and tracksToken.
|
private |
Definition at line 268 of file SiPixelPhase1Analyzer.cc.
References b, baseHistogramName, bins, binsSummary, Surface::bounds(), debugFile, TrackerGeometry::detsPXB(), f, dqmMemoryStats::float, GeomDet::geographicalId(), mps_fire::i, isBarrelSource, dqmdumpme::k, PVValHelper::ladder, PixelBarrelName::ladderName(), phase1PixelTopology::layer, PixelBarrelName::layerName(), MODE_ANALYZE, callgraph::module, opMode, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, SaveDetectorData(), PixelBarrelName::shell(), mathSSE::sqrt(), GeomDet::surface(), th2PolyBarrel, th2PolyBarrelSummary, and Surface::toGlobal().
Referenced by BookBins().
|
private |
Definition at line 128 of file SiPixelPhase1Analyzer.cc.
References runEdmFileComparison::currentDir, f, mps_fire::i, MODE_ANALYZE, opMode, th2PolyBarrel, th2PolyBarrelSummary, and cond::impl::to_string().
Referenced by BookHistograms().
|
private |
Definition at line 259 of file SiPixelPhase1Analyzer.cc.
References BookBarrelBins(), BookForwardBins(), and SaveDetectorVertices().
Referenced by analyze().
|
private |
Definition at line 333 of file SiPixelPhase1Analyzer.cc.
References b, baseHistogramName, bins, binsSummary, PixelEndcapName::bladeName(), Surface::bounds(), CODE_FORWARD, debugFile, TrackerGeometry::detsPXF(), PixelEndcapName::diskName(), f, dqmMemoryStats::float, GeomDet::geographicalId(), PixelEndcapName::halfCylinder(), mps_fire::i, isBarrelSource, dqmiolumiharvest::j, dqmdumpme::k, mapOfComplementaryElements, MODE_ANALYZE, callgraph::module, mat4::MulVec(), opMode, orthoProjectionMatrix, AlCaHLTBitMon_ParallelJobs::p, pxfTh2PolyForward, pxfTh2PolyForwardSummary, alignCSCRings::r, makeMuonMisalignmentScenario::rot, GeomDet::rotation(), SaveDetectorData(), mathSSE::sqrt(), GeomDet::surface(), std::swap(), and Surface::toGlobal().
Referenced by BookBins().
|
private |
Definition at line 189 of file SiPixelPhase1Analyzer.cc.
References runEdmFileComparison::currentDir, f, MODE_ANALYZE, opMode, pxfTh2PolyForward, pxfTh2PolyForwardSummary, and cond::impl::to_string().
Referenced by BookHistograms().
|
private |
Definition at line 94 of file SiPixelPhase1Analyzer.cc.
References baseHistogramName, BookBarrelHistograms(), BookForwardHistograms(), runEdmFileComparison::currentDir, debugFile, fs, TFileService::fullPath(), TFileService::getBareDirectory(), isBarrelSource, dqmiolumiharvest::j, TFileService::make(), MODE_REMAP, and opMode.
Referenced by analyze().
|
private |
Definition at line 595 of file SiPixelPhase1Analyzer.cc.
References baseHistogramName, l1ctLayer2EG_cff::id, phase1PixelTopology::layer, th2PolyBarrel, th2PolyBarrelSummary, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by FillBins().
|
private |
Definition at line 639 of file SiPixelPhase1Analyzer.cc.
References analazedRootFileName, baseHistogramName, debugFile, TrackerGeometry::detsPXB(), fs, GeomDet::geographicalId(), TFileService::getBareDirectory(), h, mps_fire::i, isBarrelSource, PixelBarrelName::ladderName(), phase1PixelTopology::layer, callgraph::module, pathToHistograms, DetId::rawId(), rootFileHandle, PixelBarrelName::shell(), th2PolyBarrel, th2PolyBarrelSummary, cond::impl::to_string(), and heppy_batch::val.
Referenced by FillBins().
|
private |
Definition at line 554 of file SiPixelPhase1Analyzer.cc.
References FillBarrelBinsAnalyze(), FillBarrelBinsRemap(), FillForwardBinsAnalyze(), FillForwardBinsRemap(), mps_fire::i, TrackerGeometry::idToDet(), MODE_ANALYZE, MODE_REMAP, opMode, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, rpcPointValidation_cfi::recHit, GeomDet::surface(), Surface::toGlobal(), HLT_2022v15_cff::track, and tracks.
Referenced by analyze().
|
static |
Definition at line 823 of file SiPixelPhase1Analyzer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, HLT_2022v15_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 616 of file SiPixelPhase1Analyzer.cc.
References baseHistogramName, l1ctLayer2EG_cff::id, pxfTh2PolyForward, pxfTh2PolyForwardSummary, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by FillBins().
|
private |
Definition at line 735 of file SiPixelPhase1Analyzer.cc.
References analazedRootFileName, baseHistogramName, PixelEndcapName::bladeName(), TrackerGeometry::detsPXF(), fs, GeomDet::geographicalId(), TFileService::getBareDirectory(), h, PixelEndcapName::halfCylinder(), mps_fire::i, isBarrelSource, PixelEndcapName::pannelName(), pathToHistograms, pxfTh2PolyForward, pxfTh2PolyForwardSummary, PixelEndcapName::ringName(), rootFileHandle, and heppy_batch::val.
Referenced by FillBins().
|
inlineprivate |
Definition at line 157 of file SiPixelPhase1Analyzer.h.
References geometryDiff::file, PixelPluginsPhase0_cfi::isBarrel, and MillePedeFileConverter_cfg::out.
Referenced by BookBarrelBins(), and BookForwardBins().
|
private |
Definition at line 486 of file SiPixelPhase1Analyzer.cc.
References newFWLiteAna::bin, bins, f, mps_fire::i, l1ctLayer2EG_cff::id, dqmiolumiharvest::j, phase1PixelTopology::layer, PixelBarrelName::name(), PixelEndcapName::name(), MillePedeFileConverter_cfg::out, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, and cond::impl::to_string().
Referenced by BookBins().
|
private |
Definition at line 152 of file SiPixelPhase1Analyzer.h.
Referenced by FillBarrelBinsRemap(), FillForwardBinsRemap(), and SiPixelPhase1Analyzer().
|
private |
Definition at line 154 of file SiPixelPhase1Analyzer.h.
Referenced by BookBarrelBins(), BookForwardBins(), BookHistograms(), FillBarrelBinsAnalyze(), FillBarrelBinsRemap(), FillForwardBinsAnalyze(), FillForwardBinsRemap(), and SiPixelPhase1Analyzer().
|
private |
Definition at line 121 of file SiPixelPhase1Analyzer.h.
Referenced by BookBarrelBins(), BookForwardBins(), SaveDetectorVertices(), and ~SiPixelPhase1Analyzer().
|
private |
Definition at line 121 of file SiPixelPhase1Analyzer.h.
Referenced by BookBarrelBins(), BookForwardBins(), and ~SiPixelPhase1Analyzer().
|
private |
Definition at line 115 of file SiPixelPhase1Analyzer.h.
Referenced by BookBarrelBins(), BookForwardBins(), BookHistograms(), FillBarrelBinsRemap(), SiPixelPhase1Analyzer(), and ~SiPixelPhase1Analyzer().
|
private |
Definition at line 114 of file SiPixelPhase1Analyzer.h.
Referenced by SiPixelPhase1Analyzer().
|
private |
Definition at line 119 of file SiPixelPhase1Analyzer.h.
Referenced by analyze(), looper.Looper::loop(), and Printer.Printer::process().
|
private |
Definition at line 117 of file SiPixelPhase1Analyzer.h.
Referenced by BookHistograms(), FillBarrelBinsRemap(), and FillForwardBinsRemap().
|
private |
Definition at line 107 of file SiPixelPhase1Analyzer.h.
Referenced by analyze().
|
private |
Definition at line 151 of file SiPixelPhase1Analyzer.h.
Referenced by BookBarrelBins(), BookForwardBins(), BookHistograms(), FillBarrelBinsRemap(), and FillForwardBinsRemap().
|
private |
Definition at line 145 of file SiPixelPhase1Analyzer.h.
Referenced by BookForwardBins().
|
private |
Definition at line 110 of file SiPixelPhase1Analyzer.h.
Referenced by analyze(), BookBarrelBins(), BookBarrelHistograms(), BookForwardBins(), BookForwardHistograms(), BookHistograms(), FillBins(), and SiPixelPhase1Analyzer().
|
private |
Definition at line 137 of file SiPixelPhase1Analyzer.h.
Referenced by BookForwardBins(), and SiPixelPhase1Analyzer().
|
private |
Definition at line 153 of file SiPixelPhase1Analyzer.h.
Referenced by FillBarrelBinsRemap(), FillForwardBinsRemap(), and SiPixelPhase1Analyzer().
|
private |
Definition at line 130 of file SiPixelPhase1Analyzer.h.
Referenced by BookForwardBins(), BookForwardHistograms(), FillForwardBinsAnalyze(), and FillForwardBinsRemap().
|
private |
Definition at line 131 of file SiPixelPhase1Analyzer.h.
Referenced by BookForwardBins(), BookForwardHistograms(), FillForwardBinsAnalyze(), and FillForwardBinsRemap().
|
private |
Definition at line 148 of file SiPixelPhase1Analyzer.h.
Referenced by FillBarrelBinsRemap(), and FillForwardBinsRemap().
|
private |
Definition at line 123 of file SiPixelPhase1Analyzer.h.
Referenced by BookBarrelBins(), BookBarrelHistograms(), FillBarrelBinsAnalyze(), and FillBarrelBinsRemap().
|
private |
Definition at line 124 of file SiPixelPhase1Analyzer.h.
Referenced by BookBarrelBins(), BookBarrelHistograms(), FillBarrelBinsAnalyze(), and FillBarrelBinsRemap().
|
private |
Definition at line 108 of file SiPixelPhase1Analyzer.h.
Referenced by analyze().
|
private |
Definition at line 112 of file SiPixelPhase1Analyzer.h.
Referenced by analyze(), and SiPixelPhase1Analyzer().