#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 char *rootFile="trackMonitor.root") | |
MillePedeMonitor (TDirectory *rootDir) | |
~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) |
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 |
monitoring of MillePedeAlignmentAlgorithm and its input tracks
(last update by
)
Definition at line 42 of file MillePedeMonitor.h.
MillePedeMonitor::MillePedeMonitor | ( | const char * | rootFile = "trackMonitor.root" | ) |
MillePedeMonitor::MillePedeMonitor | ( | TDirectory * | rootDir | ) |
MillePedeMonitor::~MillePedeMonitor | ( | ) |
|
private |
Definition at line 139 of file MillePedeMonitor.h.
Referenced by init().
|
private |
Definition at line 119 of file MillePedeMonitor.h.
References query::result.
Referenced by init().
|
private |
Definition at line 500 of file MillePedeMonitor.cc.
References first, i, and prof2calltree::last.
Referenced by init().
void MillePedeMonitor::fillCorrelations2D | ( | float | corr, |
const TransientTrackingRecHit::ConstRecHitPointer & | hit | ||
) |
Definition at line 1066 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 837 of file MillePedeMonitor.cc.
References GetIndex(), i, myDerivHists2D, phi, and PedeLabelerBase::theMaxNumParam.
void MillePedeMonitor::fillFrameToFrame | ( | const AlignableDetOrUnitPtr & | aliDet, |
const Alignable * | ali | ||
) |
Definition at line 1026 of file MillePedeMonitor.cc.
References first, FrameToFrameDerivative::frameToFrameDerivative(), GetIndex(), Alignable::globalPosition(), i, 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 1082 of file MillePedeMonitor.cc.
References GetIndex(), and myPxbSurveyHists.
Referenced by MillePedeAlignmentAlgorithm::addPxbSurvey().
void MillePedeMonitor::fillPxbSurveyHistsLocalPars | ( | const float & | a0, |
const float & | a1, | ||
const float & | S, | ||
const float & | phi | ||
) |
Definition at line 1095 of file MillePedeMonitor.cc.
References GetIndex(), and myPxbSurveyHists.
Referenced by MillePedeAlignmentAlgorithm::addPxbSurvey().
void MillePedeMonitor::fillRefTrajectory | ( | const ReferenceTrajectoryBase::ReferenceTrajectoryPtr & | refTrajPtr | ) |
Definition at line 711 of file MillePedeMonitor.cc.
References GetIndex(), myTrajectoryHists1D, myTrajectoryHists2D, phi, position, and rho.
Referenced by MillePedeAlignmentAlgorithm::run().
|
private |
Definition at line 953 of file MillePedeMonitor.cc.
References GetIndex().
Referenced by fillResiduals().
|
private |
Definition at line 995 of file MillePedeMonitor.cc.
References GetIndex(), and i.
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 877 of file MillePedeMonitor.cc.
References 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 522 of file MillePedeMonitor.cc.
References myTrackHists1D, and myTrackHists2D.
Referenced by fillUsedTrack(), and MillePedeAlignmentAlgorithm::run().
|
private |
Definition at line 542 of file MillePedeMonitor.cc.
References reco::TrackBase::d0(), reco::TrackBase::d0Error(), reco::TrackBase::dz(), reco::TrackBase::dzError(), GetIndex(), reco::Track::innerOk(), reco::Track::innerPosition(), TIDDetId::isZMinusSide(), TECDetId::isZMinusSide(), TIDDetId::isZPlusSide(), TECDetId::isZPlusSide(), 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(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), PXFDetId::side(), DetId::subdetId(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, and DetId::Tracker.
void MillePedeMonitor::fillUsedTrack | ( | const reco::Track * | track, |
unsigned int | nHitX, | ||
unsigned int | nHitY | ||
) |
Definition at line 528 of file MillePedeMonitor.cc.
References fillTrack(), GetIndex(), myUsedTrackHists1D, and myUsedTrackHists2D.
Referenced by MillePedeAlignmentAlgorithm::run().
|
private |
Definition at line 107 of file MillePedeMonitor.h.
References mergeVDriftHistosByStation::name, and query::result.
Referenced by fillDerivatives(), fillFrameToFrame(), fillPxbSurveyHistsChi2(), fillPxbSurveyHistsLocalPars(), fillRefTrajectory(), fillResidualHists(), fillResidualHitHists(), fillResiduals(), fillTrack(), and fillUsedTrack().
|
private |
Definition at line 76 of file MillePedeMonitor.cc.
References addToDirectory(), cloneHists(), createBeamHaloJobs::directory, equidistLogBins(), h, i, j, 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 101 of file MillePedeMonitor.h.
Referenced by fillCorrelations2D(), and init().
|
private |
Definition at line 86 of file MillePedeMonitor.h.
Referenced by MillePedeMonitor(), and ~MillePedeMonitor().
|
private |
Definition at line 94 of file MillePedeMonitor.h.
Referenced by fillDerivatives(), and init().
|
private |
Definition at line 100 of file MillePedeMonitor.h.
Referenced by fillFrameToFrame(), and init().
|
private |
Definition at line 102 of file MillePedeMonitor.h.
Referenced by fillPxbSurveyHistsChi2(), fillPxbSurveyHistsLocalPars(), and init().
|
private |
Definition at line 95 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
Definition at line 96 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 97 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 98 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
Definition at line 99 of file MillePedeMonitor.h.
Referenced by fillResiduals(), and init().
|
private |
Definition at line 85 of file MillePedeMonitor.h.
Referenced by MillePedeMonitor(), and ~MillePedeMonitor().
|
private |
Definition at line 88 of file MillePedeMonitor.h.
Referenced by fillTrack(), and init().
|
private |
Definition at line 89 of file MillePedeMonitor.h.
Referenced by fillTrack(), and init().
|
private |
Definition at line 92 of file MillePedeMonitor.h.
Referenced by fillRefTrajectory(), and init().
|
private |
Definition at line 93 of file MillePedeMonitor.h.
Referenced by fillRefTrajectory(), and init().
|
private |
Definition at line 90 of file MillePedeMonitor.h.
Referenced by fillUsedTrack(), and init().
|
private |
Definition at line 91 of file MillePedeMonitor.h.
Referenced by fillUsedTrack(), and init().