#include <Alignment/TrackerOfflineValidationSummary/src/TrackerOfflineValidationSummary.cc>
Classes | |
struct | HarvestingHierarchy |
struct | HarvestingHistos |
Put here the histograms created during harvesting. More... | |
struct | ModuleHistos |
Public Member Functions | |
TrackerOfflineValidationSummary (const edm::ParameterSet &) | |
~TrackerOfflineValidationSummary () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &evt, const edm::EventSetup &) |
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 () |
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) |
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 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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 66 of file TrackerOfflineValidationSummary.cc.
|
explicit |
Definition at line 155 of file TrackerOfflineValidationSummary.cc.
References dbe_, and cppFunctionSkipper::operator.
TrackerOfflineValidationSummary::~TrackerOfflineValidationSummary | ( | ) |
Definition at line 164 of file TrackerOfflineValidationSummary.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 179 of file TrackerOfflineValidationSummary.cc.
References DetId::det(), TrackerGeometry::detIds(), edm::hlt::Exception, edm::EventSetup::get(), 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 660 of file TrackerOfflineValidationSummary.cc.
References bookHarvestingHists(), TkOffTreeVariables::isDoubleSide, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TkOffTreeVariables::side, TkOffTreeVariables::subDetId, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and vHarvestingHierarchy_.
Referenced by collateHarvestingHists().
|
private |
Definition at line 465 of file TrackerOfflineValidationSummary.cc.
References TkOffTreeVariables::blade, dbe_, DQMStore::get(), MonitorElement::getTH1(), TkOffTreeVariables::half, 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, TkOffTreeVariables::subDetId, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
Referenced by fillTree().
|
private |
Definition at line 703 of file TrackerOfflineValidationSummary.cc.
References DQMStore::book1D(), dbe_, getBinning(), edm::ParameterSet::getParameter(), moduleDirectory_, parSet_, DQMStore::setCurrentFolder(), and vHarvestingHierarchy_.
Referenced by applyHarvestingHierarchy().
|
private |
Definition at line 652 of file TrackerOfflineValidationSummary.cc.
References applyHarvestingHierarchy(), and fillHarvestingHists().
Referenced by endJob().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 210 of file TrackerOfflineValidationSummary.cc.
References collateHarvestingHists(), fillTree(), mPxbResiduals_, mPxeResiduals_, mTecResiduals_, mTibResiduals_, mTidResiduals_, mTobResiduals_, tkGeom_, and MainPageGenerator::tree.
|
private |
Definition at line 748 of file TrackerOfflineValidationSummary.cc.
References TkOffTreeVariables::entries, edm::ParameterSet::getParameter(), TkOffTreeVariables::medianX, TkOffTreeVariables::medianY, parSet_, and vHarvestingHierarchy_.
Referenced by collateHarvestingHists().
|
private |
Definition at line 247 of file TrackerOfflineValidationSummary.cc.
References associateModuleHistsWithTree(), PXFDetId::blade(), TkOffTreeVariables::blade, TkOffTreeVariables::chi2PerDofX, TkOffTreeVariables::chi2PerDofY, TkOffTreeVariables::clear(), dbe_, SiPixelRawToDigiRegional_cfi::deltaPhi, PXFDetId::disk(), 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(), h, TkOffTreeVariables::half, TkOffTreeVariables::histNameLocalX, TkOffTreeVariables::histNameNormLocalX, TkOffTreeVariables::histNameNormX, TkOffTreeVariables::histNameNormY, TkOffTreeVariables::histNameX, TkOffTreeVariables::histNameY, TrackerGeometry::idToDet(), TOBDetId::isDoubleSide(), TIBDetId::isDoubleSide(), TIDDetId::isDoubleSide(), TECDetId::isDoubleSide(), TkOffTreeVariables::isDoubleSide, TkOffTreeVariables::isStereo, PXBDetId::ladder(), PXBDetId::layer(), TOBDetId::layer(), TIBDetId::layer(), TkOffTreeVariables::layer, TkOffTreeVariables::meanLocalX, TkOffTreeVariables::meanNormLocalX, TkOffTreeVariables::meanNormX, TkOffTreeVariables::meanNormY, TkOffTreeVariables::meanX, TkOffTreeVariables::meanY, TkOffTreeVariables::medianX, TkOffTreeVariables::medianY, PXBDetId::module(), PXFDetId::module(), TOBDetId::module(), TIBDetId::module(), TIDDetId::module(), TECDetId::module(), TkOffTreeVariables::module, TkOffTreeVariables::moduleId, TkOffTreeVariables::numberOfOutliers, TkOffTreeVariables::numberOfOverflows, TkOffTreeVariables::numberOfUnderflows, TkOffTreeVariables::outerInner, PXFDetId::panel(), TkOffTreeVariables::panel, parSet_, PV3DBase< T, PVType, FrameType >::perp(), TECDetId::petal(), 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, DetId::rawId(), TkOffTreeVariables::rDirection, DQMStore::removeElement(), TIDDetId::ring(), TECDetId::ring(), TkOffTreeVariables::ring, TkOffTreeVariables::rmsLocalX, TkOffTreeVariables::rmsNormLocalX, TkOffTreeVariables::rmsNormX, TkOffTreeVariables::rmsNormY, TkOffTreeVariables::rmsX, TkOffTreeVariables::rmsY, TOBDetId::rod(), TkOffTreeVariables::rod, TkOffTreeVariables::rOrZDirection, DQMStore::setCurrentFolder(), PXFDetId::side(), TIDDetId::side(), TECDetId::side(), TkOffTreeVariables::side, SiStripDetId::stereo(), TIBDetId::string(), DetId::subdetId(), TkOffTreeVariables::subDetId, GeomDet::surface(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, Surface::toGlobal(), useFit_, TIDDetId::wheel(), TECDetId::wheel(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and TkOffTreeVariables::zDirection.
Referenced by endJob().
|
private |
Definition at line 593 of file TrackerOfflineValidationSummary.cc.
References alignCSCRings::e, timingPdfMaker::mean, and cms::Exception::what().
Referenced by fillTree().
|
private |
Definition at line 738 of file TrackerOfflineValidationSummary.cc.
References edm::ParameterSet::getParameter(), and parSet_.
Referenced by bookHarvestingHists().
|
private |
Definition at line 630 of file TrackerOfflineValidationSummary.cc.
References j, pileupCalc::nbins, vdt::x, and detailsBasic3DVector::y.
Referenced by fillTree().
|
private |
Definition at line 130 of file TrackerOfflineValidationSummary.cc.
Referenced by associateModuleHistsWithTree(), bookHarvestingHists(), fillTree(), and TrackerOfflineValidationSummary().
|
private |
Definition at line 127 of file TrackerOfflineValidationSummary.cc.
Referenced by associateModuleHistsWithTree(), and bookHarvestingHists().
|
private |
Definition at line 132 of file TrackerOfflineValidationSummary.cc.
Referenced by analyze().
|
private |
Definition at line 134 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 135 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 139 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 136 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 137 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 138 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 123 of file TrackerOfflineValidationSummary.cc.
Referenced by bookHarvestingHists(), fillHarvestingHists(), fillTree(), and getBinning().
|
private |
Definition at line 124 of file TrackerOfflineValidationSummary.cc.
|
private |
Definition at line 128 of file TrackerOfflineValidationSummary.cc.
Referenced by fillTree().
|
private |
Definition at line 141 of file TrackerOfflineValidationSummary.cc.
Referenced by applyHarvestingHierarchy(), bookHarvestingHists(), and fillHarvestingHists().