#include <Alignment/TrackerOfflineValidationSummary/src/TrackerOfflineValidationSummary.cc>
Classes | |
struct | HarvestingHierarchy |
struct | HarvestingHistos |
Put here the histograms created during harvesting. More... | |
struct | ModuleHistos |
Private Member Functions | |
virtual 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) |
virtual 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 | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 62 of file TrackerOfflineValidationSummary.cc.
|
explicit |
Definition at line 154 of file TrackerOfflineValidationSummary.cc.
References dbe_, and Utilities::operator.
TrackerOfflineValidationSummary::~TrackerOfflineValidationSummary | ( | ) |
Definition at line 163 of file TrackerOfflineValidationSummary.cc.
|
overrideprivatevirtual |
Definition at line 178 of file TrackerOfflineValidationSummary.cc.
References DetId::det(), TrackerGeometry::detIds(), Exception, edm::EventSetup::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 667 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 472 of file TrackerOfflineValidationSummary.cc.
References TkOffTreeVariables::blade, dbe_, DQMStore::get(), MonitorElement::getTH1(), TkOffTreeVariables::half, ecalSelectiveReadoutValidation_cfi::histDir, TkOffTreeVariables::isDoubleSide, 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, relativeConstraints::ring, TkOffTreeVariables::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 710 of file TrackerOfflineValidationSummary.cc.
References DQMStore::book1D(), dbe_, getBinning(), edm::ParameterSet::getParameter(), moduleDirectory_, parSet_, DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, vHarvestingHierarchy_, anotherprimaryvertexanalyzer_cfi::xMax, and anotherprimaryvertexanalyzer_cfi::xMin.
Referenced by applyHarvestingHierarchy().
|
private |
Definition at line 659 of file TrackerOfflineValidationSummary.cc.
References applyHarvestingHierarchy(), and fillHarvestingHists().
Referenced by endJob().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 211 of file TrackerOfflineValidationSummary.cc.
References collateHarvestingHists(), fillTree(), edm::EventSetup::get(), lastSetup_, mPxbResiduals_, mPxeResiduals_, mTecResiduals_, mTibResiduals_, mTidResiduals_, mTobResiduals_, edm::ESHandle< T >::product(), tkGeom_, and compare::tree.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 755 of file TrackerOfflineValidationSummary.cc.
References DEFINE_FWK_MODULE, 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(), dbe_, MuonCkfTrajectoryBuilder_cfi::deltaPhi, dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_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(), edm::ParameterSet::getParameter(), TkOffTreeVariables::half, ecalSelectiveReadoutValidation_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, TkOffTreeVariables::numberOfOutliers, TkOffTreeVariables::numberOfOverflows, TkOffTreeVariables::numberOfUnderflows, TkOffTreeVariables::outerInner, TkOffTreeVariables::panel, parSet_, 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, DQMStore::removeElement(), TrackerOfflineValidationSummary_cfi::removeModuleLevelHists, TkOffTreeVariables::ring, TkOffTreeVariables::rmsLocalX, TkOffTreeVariables::rmsNormLocalX, TkOffTreeVariables::rmsNormX, TkOffTreeVariables::rmsNormY, TkOffTreeVariables::rmsX, TkOffTreeVariables::rmsY, TkOffTreeVariables::rod, TkOffTreeVariables::rOrZDirection, DQMStore::setCurrentFolder(), TkOffTreeVariables::side, 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 600 of file TrackerOfflineValidationSummary.cc.
References MillePedeFileConverter_cfg::e, RecoEcal_EventContent_cff::func, RecoTauDiscriminantConfiguration::mean, ctppsDiamondLocalTracks_cfi::sigma, and cms::Exception::what().
Referenced by fillTree().
|
private |
Definition at line 745 of file TrackerOfflineValidationSummary.cc.
References edm::ParameterSet::getParameter(), and parSet_.
Referenced by bookHarvestingHists().
|
private |
Definition at line 637 of file TrackerOfflineValidationSummary.cc.
References pileupCalc::nbins, x, and y.
Referenced by fillTree().
|
private |
Definition at line 127 of file TrackerOfflineValidationSummary.cc.
Referenced by associateModuleHistsWithTree(), bookHarvestingHists(), fillTree(), and TrackerOfflineValidationSummary().
|
private |
Definition at line 140 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 124 of file TrackerOfflineValidationSummary.cc.
Referenced by associateModuleHistsWithTree(), and bookHarvestingHists().
|
private |
Definition at line 129 of file TrackerOfflineValidationSummary.cc.
Referenced by analyze().
|
private |
Definition at line 131 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 132 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 136 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 133 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 120 of file TrackerOfflineValidationSummary.cc.
Referenced by bookHarvestingHists(), fillHarvestingHists(), fillTree(), and getBinning().
|
private |
Definition at line 121 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 125 of file TrackerOfflineValidationSummary.cc.
Referenced by fillTree().
|
private |
Definition at line 138 of file TrackerOfflineValidationSummary.cc.
Referenced by applyHarvestingHierarchy(), bookHarvestingHists(), and fillHarvestingHists().