#include <MillePedeMonitor.h>
Public Member Functions | |
void | fillCorrelations2D (float corr, const TransientTrackingRecHit::ConstRecHitPointer &hit) |
void | fillDerivatives (const TransientTrackingRecHit::ConstRecHitPointer &recHit, const float *localDerivs, unsigned int nLocal, const float *globalDerivs, unsigned int nGlobal, const int *labels) |
void | fillFrameToFrame (const AlignableDetOrUnitPtr &aliDet, const Alignable *ali) |
void | fillPxbSurveyHistsChi2 (const float &chi2) |
void | fillPxbSurveyHistsLocalPars (const float &a0, const float &a1, const float &S, const float &phi) |
void | fillRefTrajectory (const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr) |
void | fillResiduals (const TransientTrackingRecHit::ConstRecHitPointer &recHit, const TrajectoryStateOnSurface &tsos, unsigned int nHit, float residuum, float sigma, bool isY) |
void | fillTrack (const reco::Track *track) |
void | fillUsedTrack (const reco::Track *track, unsigned int nHitX, unsigned int nHitY) |
MillePedeMonitor (const TrackerTopology *tTopo, const char *rootFile="trackMonitor.root") | |
MillePedeMonitor (TDirectory *rootDir, const TrackerTopology *tTopo) | |
~MillePedeMonitor () | |
Private Member Functions | |
template<class OBJECT_TYPE > | |
void | addToDirectory (const std::vector< OBJECT_TYPE *> &objs, TDirectory *dir) const |
template<class OBJECT_TYPE > | |
std::vector< OBJECT_TYPE * > | cloneHists (const std::vector< OBJECT_TYPE *> &orgs, const TString &namAd, const TString &titAd) const |
bool | equidistLogBins (double *bins, int nBins, double first, double last) const |
void | fillResidualHists (const std::vector< TH1 *> &hists, float phiSensToNorm, float residuum, float sigma) |
void | fillResidualHitHists (const std::vector< TH1 *> &hists, float angle, float residuum, float sigma, unsigned int nHit) |
void | fillTrack (const reco::Track *track, std::vector< TH1 *> &trackHists1D, std::vector< TH2 *> &trackHists2D) |
template<class OBJECT_TYPE > | |
int | GetIndex (const std::vector< OBJECT_TYPE *> &vec, const TString &name) |
template<typename T , size_t SIZE> | |
std::array< int, SIZE > | indexArray1D (const std::vector< T *> &hists, const char *title) |
template<typename T , size_t SIZE> | |
std::array< std::array< int, SIZE >, SIZE > | indexArray2D (const std::vector< T *> &hists, const char *title) |
bool | init (TDirectory *directory) |
Private Attributes | |
std::vector< TH1 * > | myCorrHists |
bool | myDeleteDir |
std::vector< TH2 * > | myDerivHists2D |
std::vector< TH2 * > | myFrame2FrameHists2D |
std::vector< TH1 * > | myPxbSurveyHists |
std::vector< TH2 * > | myResidHists2D |
std::vector< std::vector< TH1 * > > | myResidHistsVec1DX |
std::vector< std::vector< TH1 * > > | myResidHistsVec1DY |
[0]=all [1]=TPB [2]=TPE [3]=TIB [4]=TID [5]=TOB [6]=TEC More... | |
std::vector< TH1 * > | myResidHitHists1DX |
[0]=all [1]=TPB [2]=TPE [3]=TIB [4]=TID [5]=TOB [6]=TEC More... | |
std::vector< TH1 * > | myResidHitHists1DY |
TDirectory * | myRootDir |
std::vector< TH1 * > | myTrackHists1D |
std::vector< TH2 * > | myTrackHists2D |
std::vector< TH1 * > | myTrajectoryHists1D |
std::vector< TH2 * > | myTrajectoryHists2D |
std::vector< TH1 * > | myUsedTrackHists1D |
std::vector< TH2 * > | myUsedTrackHists2D |
const TrackerTopology * | trackerTopology |
monitoring of MillePedeAlignmentAlgorithm and its input tracks
(last update by
)
Definition at line 46 of file MillePedeMonitor.h.
MillePedeMonitor::MillePedeMonitor | ( | const TrackerTopology * | tTopo, |
const char * | rootFile = "trackMonitor.root" |
||
) |
Definition at line 45 of file MillePedeMonitor.cc.
References init(), myDeleteDir, myRootDir, and CSCSkim_cfi::rootFileName.
MillePedeMonitor::MillePedeMonitor | ( | TDirectory * | rootDir, |
const TrackerTopology * | tTopo | ||
) |
Definition at line 54 of file MillePedeMonitor.cc.
References init(), myDeleteDir, and myRootDir.
MillePedeMonitor::~MillePedeMonitor | ( | ) |
|
private |
Definition at line 154 of file MillePedeMonitor.h.
References DeadROC_duringRun::dir.
Referenced by init().
|
private |
Definition at line 133 of file MillePedeMonitor.h.
References mps_fire::result.
Referenced by init().
|
private |
Definition at line 551 of file MillePedeMonitor.cc.
References trigObjTnPSource_cfi::bins, dqmdumpme::first, mps_fire::i, dqmdumpme::last, and seedmultiplicitymonitor_newtracking_cfi::nBins.
Referenced by init().
void MillePedeMonitor::fillCorrelations2D | ( | float | corr, |
const TransientTrackingRecHit::ConstRecHitPointer & | hit | ||
) |
Definition at line 1094 of file MillePedeMonitor.cc.
References alignCSCRings::corr, hcalRecHitTable_cff::detId, AlignableBeamSpot::detId(), myCorrHists, rpcPointValidation_cfi::recHit, and DetId::Tracker.
void MillePedeMonitor::fillDerivatives | ( | const TransientTrackingRecHit::ConstRecHitPointer & | recHit, |
const float * | localDerivs, | ||
unsigned int | nLocal, | ||
const float * | globalDerivs, | ||
unsigned int | nGlobal, | ||
const int * | labels | ||
) |
Definition at line 879 of file MillePedeMonitor.cc.
References GetIndex(), mps_fire::i, SummaryClient_cfi::labels, myDerivHists2D, phi, rpcPointValidation_cfi::recHit, and PedeLabelerBase::theMaxNumParam.
void MillePedeMonitor::fillFrameToFrame | ( | const AlignableDetOrUnitPtr & | aliDet, |
const Alignable * | ali | ||
) |
Definition at line 1064 of file MillePedeMonitor.cc.
References FrameToFrameDerivative::frameToFrameDerivative(), GetIndex(), Alignable::globalPosition(), mps_fire::i, dqmiolumiharvest::j, myFrame2FrameHists2D, PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), and alignCSCRings::r.
void MillePedeMonitor::fillPxbSurveyHistsChi2 | ( | const float & | chi2 | ) |
Definition at line 1109 of file MillePedeMonitor.cc.
References nano_mu_local_reco_cff::chi2, GetIndex(), and myPxbSurveyHists.
void MillePedeMonitor::fillPxbSurveyHistsLocalPars | ( | const float & | a0, |
const float & | a1, | ||
const float & | S, | ||
const float & | phi | ||
) |
Definition at line 1121 of file MillePedeMonitor.cc.
References a0, GetIndex(), myPxbSurveyHists, and phi.
void MillePedeMonitor::fillRefTrajectory | ( | const ReferenceTrajectoryBase::ReferenceTrajectoryPtr & | refTrajPtr | ) |
Definition at line 757 of file MillePedeMonitor.cc.
References GetIndex(), myTrajectoryHists1D, myTrajectoryHists2D, phi, position, FastTrackerRecHitMaskProducer_cfi::recHits, and rho.
|
private |
Definition at line 996 of file MillePedeMonitor.cc.
References GetIndex(), and compare::hists.
Referenced by fillResiduals().
|
private |
Definition at line 1041 of file MillePedeMonitor.cc.
References angle(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), and compare::hists.
Referenced by fillResiduals().
void MillePedeMonitor::fillResiduals | ( | const TransientTrackingRecHit::ConstRecHitPointer & | recHit, |
const TrajectoryStateOnSurface & | tsos, | ||
unsigned int | nHit, | ||
float | residuum, | ||
float | sigma, | ||
bool | isY | ||
) |
Definition at line 918 of file MillePedeMonitor.cc.
References hcalRecHitTable_cff::detId, AlignableBeamSpot::detId(), fillResidualHists(), fillResidualHitHists(), GetIndex(), TrajectoryStateOnSurface::localDirection(), myResidHists2D, myResidHistsVec1DX, myResidHistsVec1DY, myResidHitHists1DX, myResidHitHists1DY, phi, rpcPointValidation_cfi::recHit, and DetId::Tracker.
void MillePedeMonitor::fillTrack | ( | const reco::Track * | track | ) |
Definition at line 572 of file MillePedeMonitor.cc.
References myTrackHists1D, and myTrackHists2D.
Referenced by fillUsedTrack().
|
private |
Definition at line 588 of file MillePedeMonitor.cc.
References hcalRecHitTable_cff::detId, GetIndex(), l1tPhase2CaloJetEmulator_cfi::iEta, kBPIX, kFPIX, AlCaHLTBitMon_ParallelJobs::p, TrackerTopology::pxfSide(), SiStripDetId::TEC, TrackerTopology::tecIsZMinusSide(), TrackerTopology::tecIsZPlusSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidIsZMinusSide(), TrackerTopology::tidIsZPlusSide(), SiStripDetId::TOB, HLT_2024v12_cff::track, DetId::Tracker, and trackerTopology.
void MillePedeMonitor::fillUsedTrack | ( | const reco::Track * | track, |
unsigned int | nHitX, | ||
unsigned int | nHitY | ||
) |
Definition at line 575 of file MillePedeMonitor.cc.
References fillTrack(), GetIndex(), myUsedTrackHists1D, myUsedTrackHists2D, and HLT_2024v12_cff::track.
|
private |
Definition at line 120 of file MillePedeMonitor.h.
References Skims_PA_cff::name, and mps_fire::result.
Referenced by fillDerivatives(), fillFrameToFrame(), fillPxbSurveyHistsChi2(), fillPxbSurveyHistsLocalPars(), fillRefTrajectory(), fillResidualHists(), fillResiduals(), fillTrack(), fillUsedTrack(), indexArray1D(), and indexArray2D().
|
private |
Definition at line 164 of file MillePedeMonitor.h.
References GetIndex(), mps_fire::i, mps_fire::result, SIZE, and runGCPTkAlMap::title.
|
private |
Definition at line 173 of file MillePedeMonitor.h.
References GetIndex(), mps_fire::i, dqmiolumiharvest::j, mps_fire::result, SIZE, and runGCPTkAlMap::title.
|
private |
Definition at line 72 of file MillePedeMonitor.cc.
References addToDirectory(), cloneHists(), createBeamHaloJobs::directory, equidistLogBins(), h, mps_fire::i, dqmiolumiharvest::j, eostools::mkdir(), myCorrHists, myDerivHists2D, myFrame2FrameHists2D, myPxbSurveyHists, myResidHists2D, myResidHistsVec1DX, myResidHistsVec1DY, myResidHitHists1DX, myResidHitHists1DY, myTrackHists1D, myTrackHists2D, myTrajectoryHists1D, myTrajectoryHists2D, myUsedTrackHists1D, myUsedTrackHists2D, nHits, Pi, PedeLabelerBase::theMaxNumParam, and trackerHitRTTI::vector.
Referenced by MillePedeMonitor().
|
private |
Definition at line 113 of file MillePedeMonitor.h.
Referenced by fillCorrelations2D(), and init().
|
private |
Definition at line 98 of file MillePedeMonitor.h.
Referenced by MillePedeMonitor(), and ~MillePedeMonitor().
|
private |
Definition at line 106 of file MillePedeMonitor.h.
Referenced by fillDerivatives(), and init().
|
private |
Definition at line 112 of file MillePedeMonitor.h.
Referenced by fillFrameToFrame(), and init().
|
private |
Definition at line 114 of file MillePedeMonitor.h.
Referenced by fillPxbSurveyHistsChi2(), fillPxbSurveyHistsLocalPars(), and init().
|
private |
Definition at line 107 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
Definition at line 108 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
[0]=all [1]=TPB [2]=TPE [3]=TIB [4]=TID [5]=TOB [6]=TEC
Definition at line 109 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
[0]=all [1]=TPB [2]=TPE [3]=TIB [4]=TID [5]=TOB [6]=TEC
Definition at line 110 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
Definition at line 111 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
Definition at line 97 of file MillePedeMonitor.h.
Referenced by MillePedeMonitor(), and ~MillePedeMonitor().
|
private |
Definition at line 100 of file MillePedeMonitor.h.
Referenced by fillTrack(), and init().
|
private |
Definition at line 101 of file MillePedeMonitor.h.
Referenced by fillTrack(), and init().
|
private |
Definition at line 104 of file MillePedeMonitor.h.
Referenced by fillRefTrajectory(), and init().
|
private |
Definition at line 105 of file MillePedeMonitor.h.
Referenced by fillRefTrajectory(), and init().
|
private |
Definition at line 102 of file MillePedeMonitor.h.
Referenced by fillUsedTrack(), and init().
|
private |
Definition at line 103 of file MillePedeMonitor.h.
Referenced by fillUsedTrack(), and init().
|
private |
Definition at line 116 of file MillePedeMonitor.h.
Referenced by fillTrack().