#include <Alignment/TrackerOfflineValidationSummary/src/TrackerOfflineValidationSummary.cc>
Classes | |
struct | HarvestingHierarchy |
struct | HarvestingHistos |
Put here the histograms created during harvesting. More... | |
struct | ModuleHistos |
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | analyze (const edm::Event &evt, const edm::EventSetup &) override |
void | applyHarvestingHierarchy (TTree &treeMem) |
const std::string | associateModuleHistsWithTree (const TkOffTreeVariables &treeMem, TrackerOfflineValidationSummary::ModuleHistos &moduleHists, std::map< std::string, std::string > &substructureName) |
void | bookHarvestingHists () |
void | collateHarvestingHists (TTree &tree) |
void | endJob () override |
void | fillHarvestingHists (TTree &tree) |
void | fillTree (TTree &tree, std::map< int, TrackerOfflineValidationSummary::ModuleHistos > &moduleHist, TkOffTreeVariables &treeMem, const TrackerGeometry &tkgeom, std::map< std::string, std::string > &substructureName, const TrackerTopology *tTopo) |
std::pair< float, float > | fitResiduals (TH1 *hist) const |
void | getBinning (const std::string &binningPSetName, int &nBinsX, double &lowerBoundX, double &upperBoundX) const |
float | getMedian (const TH1 *hist) const |
Private Attributes | |
DQMStore * | dbe_ |
const edm::EventSetup * | lastSetup_ |
const std::string | moduleDirectory_ |
bool | moduleMapsInitialized |
std::map< int, TrackerOfflineValidationSummary::ModuleHistos > | mPxbResiduals_ |
std::map< int, TrackerOfflineValidationSummary::ModuleHistos > | mPxeResiduals_ |
std::map< int, TrackerOfflineValidationSummary::ModuleHistos > | mTecResiduals_ |
std::map< int, TrackerOfflineValidationSummary::ModuleHistos > | mTibResiduals_ |
std::map< int, TrackerOfflineValidationSummary::ModuleHistos > | mTidResiduals_ |
std::map< int, TrackerOfflineValidationSummary::ModuleHistos > | mTobResiduals_ |
const edm::ParameterSet | parSet_ |
edm::ESHandle< TrackerGeometry > | tkGeom_ |
const bool | useFit_ |
std::vector< HarvestingHierarchy > | vHarvestingHierarchy_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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> | |
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) |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 58 of file TrackerOfflineValidationSummary.cc.
Definition at line 60 of file TrackerOfflineValidationSummary.cc.
|
explicit |
|
override |
Definition at line 166 of file TrackerOfflineValidationSummary.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 176 of file TrackerOfflineValidationSummary.cc.
References DetId::det(), TrackerGeometry::detIds(), Exception, edm::EventSetup::get(), get, lastSetup_, moduleMapsInitialized, mPxbResiduals_, mPxeResiduals_, mTecResiduals_, mTibResiduals_, mTidResiduals_, mTobResiduals_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, tkGeom_, and StripSubdetector::TOB.
|
private |
Definition at line 729 of file TrackerOfflineValidationSummary.cc.
References bookHarvestingHists(), TkOffTreeVariables::isDoubleSide, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TkOffTreeVariables::side, AlCaHLTBitMon_QueryRunRegistry::string, TkOffTreeVariables::subDetId, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and vHarvestingHierarchy_.
Referenced by collateHarvestingHists().
|
private |
Definition at line 483 of file TrackerOfflineValidationSummary.cc.
References TkOffTreeVariables::blade, dbe_, contentValuesFiles::fullPath, dqm::implementation::IGetter::get(), dqm::legacy::MonitorElement::getTH1(), TkOffTreeVariables::half, L1TStage2EMTFEventInfoClient_cfi::histDir, TkOffTreeVariables::isDoubleSide, PVValHelper::ladder, TkOffTreeVariables::layer, TkOffTreeVariables::module, moduleDirectory_, TkOffTreeVariables::moduleId, TrackerOfflineValidationSummary::ModuleHistos::NormResHisto, TrackerOfflineValidationSummary::ModuleHistos::NormResXprimeHisto, TrackerOfflineValidationSummary::ModuleHistos::NormResYprimeHisto, TkOffTreeVariables::outerInner, TkOffTreeVariables::panel, TkOffTreeVariables::petal, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerOfflineValidationSummary::ModuleHistos::ResHisto, TrackerOfflineValidationSummary::ModuleHistos::ResXprimeHisto, TrackerOfflineValidationSummary::ModuleHistos::ResYprimeHisto, TkOffTreeVariables::ring, relativeConstraints::ring, TkOffTreeVariables::rod, TkOffTreeVariables::side, AlCaHLTBitMon_QueryRunRegistry::string, TkOffTreeVariables::subDetId, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
Referenced by fillTree().
|
private |
Definition at line 776 of file TrackerOfflineValidationSummary.cc.
References dqm::implementation::IBooker::book1D(), dbe_, getBinning(), edm::ParameterSet::getParameter(), moduleDirectory_, parSet_, dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, vHarvestingHierarchy_, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
Referenced by applyHarvestingHierarchy().
|
private |
Definition at line 724 of file TrackerOfflineValidationSummary.cc.
References applyHarvestingHierarchy(), and fillHarvestingHists().
Referenced by endJob().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 213 of file TrackerOfflineValidationSummary.cc.
References collateHarvestingHists(), fillTree(), edm::EventSetup::get(), get, lastSetup_, mPxbResiduals_, mPxeResiduals_, mTecResiduals_, mTibResiduals_, mTidResiduals_, mTobResiduals_, edm::ESHandle< T >::product(), tkGeom_, and MainPageGenerator::tree.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 826 of file TrackerOfflineValidationSummary.cc.
References TkOffTreeVariables::entries, edm::ParameterSet::getParameter(), TkOffTreeVariables::medianX, TkOffTreeVariables::medianY, parSet_, and vHarvestingHierarchy_.
Referenced by collateHarvestingHists().
|
private |
Definition at line 253 of file TrackerOfflineValidationSummary.cc.
References associateModuleHistsWithTree(), PV3DBase< T, PVType, FrameType >::barePhi(), TkOffTreeVariables::blade, TkOffTreeVariables::chi2PerDofX, TkOffTreeVariables::chi2PerDofY, TkOffTreeVariables::clear(), SiPixelRawToDigiRegional_cfi::deltaPhi, HLT_2018_cff::dPhi, HGC3DClusterGenMatchSelector_cfi::dR, TkOffTreeVariables::entries, PV3DBase< T, PVType, FrameType >::eta(), TkOffTreeVariables::fitMeanNormX, TkOffTreeVariables::fitMeanNormY, TkOffTreeVariables::fitMeanX, TkOffTreeVariables::fitMeanY, fitResiduals(), TkOffTreeVariables::fitSigmaNormX, TkOffTreeVariables::fitSigmaNormY, TkOffTreeVariables::fitSigmaX, TkOffTreeVariables::fitSigmaY, getMedian(), TkOffTreeVariables::half, L1TStage2EMTFEventInfoClient_cfi::histDir, TkOffTreeVariables::histNameLocalX, TkOffTreeVariables::histNameNormLocalX, TkOffTreeVariables::histNameNormX, TkOffTreeVariables::histNameNormY, TkOffTreeVariables::histNameX, TkOffTreeVariables::histNameY, TrackerGeometry::idToDet(), TkOffTreeVariables::isDoubleSide, TkOffTreeVariables::isStereo, TkOffTreeVariables::layer, TkOffTreeVariables::meanLocalX, TkOffTreeVariables::meanNormLocalX, TkOffTreeVariables::meanNormX, TkOffTreeVariables::meanNormY, TkOffTreeVariables::meanX, TkOffTreeVariables::meanY, TkOffTreeVariables::medianX, TkOffTreeVariables::medianY, TkOffTreeVariables::module, TkOffTreeVariables::moduleId, spclusmultinvestigator_cfi::numberOfBins, TkOffTreeVariables::numberOfOutliers, TkOffTreeVariables::numberOfOverflows, TkOffTreeVariables::numberOfUnderflows, TkOffTreeVariables::outerInner, TkOffTreeVariables::panel, PV3DBase< T, PVType, FrameType >::perp(), TkOffTreeVariables::petal, PV3DBase< T, PVType, FrameType >::phi(), TkOffTreeVariables::phiDirection, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TkOffTreeVariables::posEta, GeomDet::position(), TkOffTreeVariables::posPhi, TkOffTreeVariables::posR, TkOffTreeVariables::posX, TkOffTreeVariables::posY, TkOffTreeVariables::posZ, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), TrackerTopology::pxfSide(), DetId::rawId(), TkOffTreeVariables::rDirection, TkOffTreeVariables::ring, TkOffTreeVariables::rmsLocalX, TkOffTreeVariables::rmsNormLocalX, TkOffTreeVariables::rmsNormX, TkOffTreeVariables::rmsNormY, TkOffTreeVariables::rmsX, TkOffTreeVariables::rmsY, TkOffTreeVariables::rod, TkOffTreeVariables::rOrZDirection, TkOffTreeVariables::side, dqmMemoryStats::stats, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), TkOffTreeVariables::subDetId, GeomDet::surface(), StripSubdetector::TEC, TrackerTopology::tecIsDoubleSide(), TrackerTopology::tecModule(), TrackerTopology::tecPetalInfo(), TrackerTopology::tecRing(), TrackerTopology::tecSide(), TrackerTopology::tecStereo(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TrackerTopology::tibIsDoubleSide(), TrackerTopology::tibLayer(), TrackerTopology::tibModule(), TrackerTopology::tibStereo(), TrackerTopology::tibStringInfo(), StripSubdetector::TID, TrackerTopology::tidIsDoubleSide(), TrackerTopology::tidModuleInfo(), TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidStereo(), TrackerTopology::tidWheel(), StripSubdetector::TOB, TrackerTopology::tobIsDoubleSide(), TrackerTopology::tobLayer(), TrackerTopology::tobModule(), TrackerTopology::tobRodInfo(), TrackerTopology::tobStereo(), Surface::toGlobal(), useFit_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and TkOffTreeVariables::zDirection.
Referenced by endJob(), and core.AutoFillTreeProducer.AutoFillTreeProducer::process().
|
private |
Definition at line 669 of file TrackerOfflineValidationSummary.cc.
References MillePedeFileConverter_cfg::e, TrackCollections2monitor_cff::func, compare::hist, SiStripPI::mean, and tools::TF1.
Referenced by fillTree().
|
private |
Definition at line 816 of file TrackerOfflineValidationSummary.cc.
References edm::ParameterSet::getParameter(), and parSet_.
Referenced by bookHarvestingHists().
|
private |
Definition at line 703 of file TrackerOfflineValidationSummary.cc.
References timingPdfMaker::histo, dqmiolumiharvest::j, pfParticleNetPreprocessParams_cfi::median, LaserClient_cfi::nbins, x, and y.
Referenced by fillTree().
|
private |
Definition at line 128 of file TrackerOfflineValidationSummary.cc.
Referenced by associateModuleHistsWithTree(), bookHarvestingHists(), and TrackerOfflineValidationSummary().
|
private |
Definition at line 141 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 125 of file TrackerOfflineValidationSummary.cc.
Referenced by associateModuleHistsWithTree(), and bookHarvestingHists().
|
private |
Definition at line 130 of file TrackerOfflineValidationSummary.cc.
Referenced by analyze().
|
private |
Definition at line 132 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 133 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 137 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 134 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 135 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 136 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 121 of file TrackerOfflineValidationSummary.cc.
Referenced by bookHarvestingHists(), fillHarvestingHists(), and getBinning().
|
private |
Definition at line 122 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 126 of file TrackerOfflineValidationSummary.cc.
Referenced by fillTree().
|
private |
Definition at line 139 of file TrackerOfflineValidationSummary.cc.
Referenced by applyHarvestingHierarchy(), bookHarvestingHists(), and fillHarvestingHists().