#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, and myRootDir.
MillePedeMonitor::MillePedeMonitor | ( | TDirectory * | rootDir, |
const TrackerTopology * | tTopo | ||
) |
Definition at line 55 of file MillePedeMonitor.cc.
References init(), myDeleteDir, and myRootDir.
MillePedeMonitor::~MillePedeMonitor | ( | ) |
|
private |
Definition at line 149 of file MillePedeMonitor.h.
Referenced by init().
|
private |
Definition at line 129 of file MillePedeMonitor.h.
References mps_fire::result.
Referenced by init().
|
private |
Definition at line 499 of file MillePedeMonitor.cc.
References plotBeamSpotDB::first, mps_fire::i, and plotBeamSpotDB::last.
Referenced by init().
void MillePedeMonitor::fillCorrelations2D | ( | float | corr, |
const TransientTrackingRecHit::ConstRecHitPointer & | hit | ||
) |
Definition at line 1048 of file MillePedeMonitor.cc.
References AlignableBeamSpot::detId(), myCorrHists, 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 836 of file MillePedeMonitor.cc.
References Abs(), GetIndex(), mps_fire::i, myDerivHists2D, phi, and PedeLabelerBase::theMaxNumParam.
void MillePedeMonitor::fillFrameToFrame | ( | const AlignableDetOrUnitPtr & | aliDet, |
const Alignable * | ali | ||
) |
Definition at line 1017 of file MillePedeMonitor.cc.
References Abs(), FrameToFrameDerivative::frameToFrameDerivative(), GetIndex(), Alignable::globalPosition(), mps_fire::i, myFrame2FrameHists2D, PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), and alignCSCRings::r.
void MillePedeMonitor::fillPxbSurveyHistsChi2 | ( | const float & | chi2 | ) |
Definition at line 1064 of file MillePedeMonitor.cc.
References GetIndex(), and myPxbSurveyHists.
void MillePedeMonitor::fillPxbSurveyHistsLocalPars | ( | const float & | a0, |
const float & | a1, | ||
const float & | S, | ||
const float & | phi | ||
) |
Definition at line 1077 of file MillePedeMonitor.cc.
References GetIndex(), and myPxbSurveyHists.
void MillePedeMonitor::fillRefTrajectory | ( | const ReferenceTrajectoryBase::ReferenceTrajectoryPtr & | refTrajPtr | ) |
Definition at line 710 of file MillePedeMonitor.cc.
References Abs(), Even, GetIndex(), myTrajectoryHists1D, myTrajectoryHists2D, Odd, phi, position, and rho.
|
private |
Definition at line 952 of file MillePedeMonitor.cc.
References GetIndex().
Referenced by fillResiduals().
|
private |
Definition at line 994 of file MillePedeMonitor.cc.
References 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 876 of file MillePedeMonitor.cc.
References Abs(), AlignableBeamSpot::detId(), fillResidualHists(), fillResidualHitHists(), GetIndex(), TrajectoryStateOnSurface::localDirection(), myResidHists2D, myResidHistsVec1DX, myResidHistsVec1DY, myResidHitHists1DX, myResidHitHists1DY, phi, DetId::subdetId(), and DetId::Tracker.
void MillePedeMonitor::fillTrack | ( | const reco::Track * | track | ) |
Definition at line 521 of file MillePedeMonitor.cc.
References myTrackHists1D, and myTrackHists2D.
Referenced by fillUsedTrack().
|
private |
Definition at line 541 of file MillePedeMonitor.cc.
References reco::TrackBase::d0(), reco::TrackBase::d0Error(), reco::TrackBase::dz(), reco::TrackBase::dzError(), GetIndex(), reco::Track::innerOk(), reco::Track::innerPosition(), kBPIX, kFPIX, reco::TrackBase::momentum(), reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfLostHits(), reco::TrackBase::numberOfValidHits(), reco::Track::outerOk(), reco::Track::outerPosition(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::pt(), TrackerTopology::pxfSide(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), DetId::subdetId(), SiStripDetId::TEC, TrackerTopology::tecIsZMinusSide(), TrackerTopology::tecIsZPlusSide(), SiStripDetId::TIB, SiStripDetId::TID, TrackerTopology::tidIsZMinusSide(), TrackerTopology::tidIsZPlusSide(), SiStripDetId::TOB, DetId::Tracker, and trackerTopology.
void MillePedeMonitor::fillUsedTrack | ( | const reco::Track * | track, |
unsigned int | nHitX, | ||
unsigned int | nHitY | ||
) |
Definition at line 527 of file MillePedeMonitor.cc.
References fillTrack(), GetIndex(), myUsedTrackHists1D, and myUsedTrackHists2D.
|
private |
Definition at line 117 of file MillePedeMonitor.h.
References dataset::name, and mps_fire::result.
Referenced by fillDerivatives(), fillFrameToFrame(), fillPxbSurveyHistsChi2(), fillPxbSurveyHistsLocalPars(), fillRefTrajectory(), fillResidualHists(), fillResiduals(), fillTrack(), and fillUsedTrack().
|
private |
Definition at line 161 of file MillePedeMonitor.h.
References mps_fire::i, and mps_fire::result.
|
private |
Definition at line 171 of file MillePedeMonitor.h.
References mps_fire::i, and mps_fire::result.
|
private |
Definition at line 75 of file MillePedeMonitor.cc.
References addToDirectory(), cloneHists(), createBeamHaloJobs::directory, equidistLogBins(), h, mps_fire::i, eostools::mkdir(), myCorrHists, myDerivHists2D, myFrame2FrameHists2D, myPxbSurveyHists, myResidHists2D, myResidHistsVec1DX, myResidHistsVec1DY, myResidHitHists1DX, myResidHitHists1DY, myTrackHists1D, myTrackHists2D, myTrajectoryHists1D, myTrajectoryHists2D, myUsedTrackHists1D, myUsedTrackHists2D, Pi, and PedeLabelerBase::theMaxNumParam.
Referenced by MillePedeMonitor().
|
private |
Definition at line 110 of file MillePedeMonitor.h.
Referenced by fillCorrelations2D(), and init().
|
private |
Definition at line 95 of file MillePedeMonitor.h.
Referenced by MillePedeMonitor(), and ~MillePedeMonitor().
|
private |
Definition at line 103 of file MillePedeMonitor.h.
Referenced by fillDerivatives(), and init().
|
private |
Definition at line 109 of file MillePedeMonitor.h.
Referenced by fillFrameToFrame(), and init().
|
private |
Definition at line 111 of file MillePedeMonitor.h.
Referenced by fillPxbSurveyHistsChi2(), fillPxbSurveyHistsLocalPars(), and init().
|
private |
Definition at line 104 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
Definition at line 105 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 106 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 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 |
Definition at line 94 of file MillePedeMonitor.h.
Referenced by MillePedeMonitor(), and ~MillePedeMonitor().
|
private |
Definition at line 97 of file MillePedeMonitor.h.
Referenced by fillTrack(), and init().
|
private |
Definition at line 98 of file MillePedeMonitor.h.
Referenced by fillTrack(), and init().
|
private |
Definition at line 101 of file MillePedeMonitor.h.
Referenced by fillRefTrajectory(), and init().
|
private |
Definition at line 102 of file MillePedeMonitor.h.
Referenced by fillRefTrajectory(), and init().
|
private |
Definition at line 99 of file MillePedeMonitor.h.
Referenced by fillUsedTrack(), and init().
|
private |
Definition at line 100 of file MillePedeMonitor.h.
Referenced by fillUsedTrack(), and init().
|
private |
Definition at line 113 of file MillePedeMonitor.h.
Referenced by fillTrack().