#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::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 &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 | beginRun (const edm::Run &, const edm::EventSetup &iSetup) override |
void | bookHarvestingHists () |
void | collateHarvestingHists (TTree &tree) |
void | endJob () override |
void | endRun (const edm::Run &, const edm::EventSetup &iSetup) 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::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
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_ |
std::unique_ptr< TrackerTopology > | tTopo_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
const bool | useFit_ |
std::vector< HarvestingHierarchy > | vHarvestingHierarchy_ |
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) |
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 |
Definition at line 153 of file TrackerOfflineValidationSummary.cc.
References dbe_, and Utilities::operator.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 193 of file TrackerOfflineValidationSummary.cc.
References hcalRecHitTable_cff::detId, TrackerGeometry::detIds(), Exception, geomToken_, edm::EventSetup::getHandle(), moduleMapsInitialized, mPxbResiduals_, mPxeResiduals_, mTecResiduals_, mTibResiduals_, mTidResiduals_, mTobResiduals_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, nano_mu_digi_cff::rawId, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, tkGeom_, and StripSubdetector::TOB.
|
private |
Definition at line 747 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 501 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, nano_mu_digi_cff::layer, 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, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), AlCaHLTBitMon_QueryRunRegistry::string, TkOffTreeVariables::subDetId, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
Referenced by fillTree().
|
inlineoverrideprivate |
Definition at line 101 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 794 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 742 of file TrackerOfflineValidationSummary.cc.
References applyHarvestingHierarchy(), and fillHarvestingHists().
Referenced by endJob().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 236 of file TrackerOfflineValidationSummary.cc.
References collateHarvestingHists(), fillTree(), mPxbResiduals_, mPxeResiduals_, mTecResiduals_, mTibResiduals_, mTidResiduals_, mTobResiduals_, tkGeom_, compare::tree, and tTopo_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
overrideprivate |
Definition at line 229 of file TrackerOfflineValidationSummary.cc.
References edm::EventSetup::getData(), tTopo_, and tTopoToken_.
|
static |
Definition at line 166 of file TrackerOfflineValidationSummary.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 844 of file TrackerOfflineValidationSummary.cc.
References TkOffTreeVariables::entries, edm::ParameterSet::getParameter(), TkOffTreeVariables::medianX, TkOffTreeVariables::medianY, parSet_, and vHarvestingHierarchy_.
Referenced by collateHarvestingHists().
|
private |
Definition at line 271 of file TrackerOfflineValidationSummary.cc.
References associateModuleHistsWithTree(), PV3DBase< T, PVType, FrameType >::barePhi(), TkOffTreeVariables::blade, TkOffTreeVariables::chi2PerDofX, TkOffTreeVariables::chi2PerDofY, TkOffTreeVariables::clear(), SiPixelRawToDigiRegional_cfi::deltaPhi, hcalRecHitTable_cff::detId, HLT_2024v11_cff::dPhi, HGC3DClusterGenMatchSelector_cfi::dR, l1ctLayer1_cff::dZ, 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(), h, TkOffTreeVariables::half, L1TStage2EMTFEventInfoClient_cfi::histDir, TkOffTreeVariables::histNameLocalX, TkOffTreeVariables::histNameNormLocalX, TkOffTreeVariables::histNameNormX, TkOffTreeVariables::histNameNormY, TkOffTreeVariables::histNameX, TkOffTreeVariables::histNameY, TrackerGeometry::idToDet(), TkOffTreeVariables::isDoubleSide, TkOffTreeVariables::isStereo, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, TkOffTreeVariables::layer, TkOffTreeVariables::meanLocalX, TkOffTreeVariables::meanNormLocalX, TkOffTreeVariables::meanNormX, TkOffTreeVariables::meanNormY, TkOffTreeVariables::meanX, TkOffTreeVariables::meanY, TkOffTreeVariables::medianX, TkOffTreeVariables::medianY, TkOffTreeVariables::module, TkOffTreeVariables::moduleId, PV_cfg::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(), nano_mu_digi_cff::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, 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 687 of file TrackerOfflineValidationSummary.cc.
References MillePedeFileConverter_cfg::e, EcalMonitorTask_cff::func, compareTotals::hist, and SiStripPI::mean.
Referenced by fillTree().
|
private |
Definition at line 834 of file TrackerOfflineValidationSummary.cc.
References edm::ParameterSet::getParameter(), and parSet_.
Referenced by bookHarvestingHists().
|
private |
Definition at line 721 of file TrackerOfflineValidationSummary.cc.
References timingPdfMaker::histo, dqmiolumiharvest::j, median(), LaserClient_cfi::nbins, x, and y.
Referenced by fillTree().
|
private |
Definition at line 136 of file TrackerOfflineValidationSummary.cc.
Referenced by associateModuleHistsWithTree(), bookHarvestingHists(), and TrackerOfflineValidationSummary().
|
private |
Definition at line 67 of file TrackerOfflineValidationSummary.cc.
Referenced by analyze().
|
private |
Definition at line 133 of file TrackerOfflineValidationSummary.cc.
Referenced by associateModuleHistsWithTree(), and bookHarvestingHists().
|
private |
Definition at line 138 of file TrackerOfflineValidationSummary.cc.
Referenced by analyze().
|
private |
Definition at line 140 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 141 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 145 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 142 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 143 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 144 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 128 of file TrackerOfflineValidationSummary.cc.
Referenced by bookHarvestingHists(), fillHarvestingHists(), and getBinning().
|
private |
Definition at line 129 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 130 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 68 of file TrackerOfflineValidationSummary.cc.
Referenced by endRun().
|
private |
Definition at line 134 of file TrackerOfflineValidationSummary.cc.
Referenced by fillTree().
|
private |
Definition at line 147 of file TrackerOfflineValidationSummary.cc.
Referenced by applyHarvestingHierarchy(), bookHarvestingHists(), and fillHarvestingHists().