CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
CkfDebugger Class Reference

#include <CkfDebugger.h>

Classes

class  SimHit
 

Public Member Functions

bool analyseCompatibleMeasurements (const Trajectory &, const std::vector< TrajectoryMeasurement > &, const MeasurementTracker *, const Propagator *, const Chi2MeasurementEstimatorBase *, const TransientTrackingRecHitBuilder *)
 
 CkfDebugger (edm::EventSetup const &es, edm::ConsumesCollector &&iC)
 
void countSeed ()
 
void deleteHitAssociator ()
 
void fillSeedHist (CTTRHp h1, CTTRHp h2, TrajectoryStateOnSurface t)
 
void printSimHits (const edm::Event &iEvent)
 
 ~CkfDebugger ()
 

Private Types

typedef TrajectoryMeasurement TM
 
typedef TrajectoryStateOnSurface TSOS
 

Private Member Functions

std::pair< CTTRHp, double > analyseRecHitExistance (const PSimHit &sh, const TSOS &startingState)
 
int analyseRecHitNotFound (const Trajectory &, CTTRHp)
 
bool associated (CTTRHp rechit, const PSimHit &sh) const
 
int assocTrackId (CTTRHp rechit) const
 
template<unsigned int D>
std::pair< double, double > computePulls (CTTRHp recHit, TSOS startingState)
 
std::pair< double, double > computePulls (CTTRHp recHit, TSOS startingState)
 
bool correctMeas (const TM &tm, const PSimHit *correctHit) const
 
bool correctTrajectory (const Trajectory &, unsigned int &) const
 
const GeomDetUnitdet (const PSimHit *sh) const
 
void dumpSimHit (const SimHit &hit) const
 
bool goodSimHit (const PSimHit &sh) const
 
bool hasDelta (const PSimHit *correctHit)
 
int layer (const GeomDet *det)
 
std::vector< const PSimHit * > nextCorrectHits (const Trajectory &, unsigned int &)
 
Global3DPoint position (const PSimHit *sh) const
 
const PSimHitpSimHit (unsigned int tkId, DetId detId)
 
double testSeed (CTTRHp, CTTRHp, TrajectoryStateOnSurface)
 

Private Attributes

int chi2gt30
 
int chi2gt30delta
 
int chi2gt30deltaSeed
 
int chi2ls30
 
int det_not_found
 
std::vector< int > dump
 
std::map< std::pair< int, int >
, int > 
dump2
 
std::map< std::pair< int, int >
, int > 
dump3
 
std::map< std::pair< int, int >
, int > 
dump4
 
std::map< std::pair< int, int >
, int > 
dump5
 
std::map< std::pair< int, int >
, int > 
dump6
 
TFile * file
 
int glued_det_not_fuond
 
TH1F * hchi2seedAll
 
TH1F * hchi2seedProb
 
TrackerHitAssociatorhitAssociator
 
std::map< std::string, TH1F * > hPullGP_X_shst
 
std::map< std::string, TH1F * > hPullGP_Y_shst
 
std::map< std::string, TH1F * > hPullGP_Z_shst
 
TH2F * hPullGPXvsGPeta_shst
 
TH2F * hPullGPXvsGPphi_shst
 
TH2F * hPullGPXvsGPr_shst
 
TH2F * hPullGPXvsGPX_shst
 
TH2F * hPullGPXvsGPY_shst
 
TH2F * hPullGPXvsGPZ_shst
 
std::map< std::string, TH1F * > hPullM_shrh
 
std::map< std::string, TH1F * > hPullM_shst
 
std::map< std::string, TH1F * > hPullM_strh
 
std::map< std::string, TH1F * > hPullS_shrh
 
std::map< std::string, TH1F * > hPullS_shst
 
std::map< std::string, TH1F * > hPullS_strh
 
std::map< std::string, TH1F * > hPullX_shrh
 
std::map< std::string, TH1F * > hPullX_shst
 
std::map< std::string, TH1F * > hPullX_strh
 
std::map< std::string, TH1F * > hPullY_shrh
 
std::map< std::string, TH1F * > hPullY_shst
 
std::map< std::string, TH1F * > hPullY_strh
 
std::map< unsigned int,
std::vector< PSimHit * > > 
idHitsMap
 
int layer_not_found
 
int matched_not_associated
 
int matched_not_found
 
int no_component
 
int no_layer
 
int no_sim_hit
 
int only_one_component
 
int other
 
int partner_det_not_fuond
 
int problems
 
int propagation
 
int seedWithDelta
 
int simple_hit_not_found
 
const MeasurementEstimatortheChi2
 
const PropagatortheForwardPropagator
 
const GeometricSearchTrackertheGeomSearchTracker
 
const MagneticFieldtheMagField
 
const MeasurementTrackertheMeasurementTracker
 
NavigationSchool const * theNavSchool
 
const TrackerTopologytheTopo
 
const TrackerGeometrytheTrackerGeom
 
const
TransientTrackingRecHitBuilder
theTTRHBuilder
 
int totchi2gt30
 
int totSeeds
 
TrackerHitAssociator::Config trackerHitAssociatorConfig_
 

Detailed Description

Definition at line 43 of file CkfDebugger.h.

Member Typedef Documentation

Definition at line 70 of file CkfDebugger.h.

Definition at line 71 of file CkfDebugger.h.

Constructor & Destructor Documentation

CkfDebugger::CkfDebugger ( edm::EventSetup const &  es,
edm::ConsumesCollector &&  iC 
)

Definition at line 37 of file CkfDebugger.cc.

CkfDebugger::~CkfDebugger ( )

Definition at line 1059 of file CkfDebugger.cc.

Member Function Documentation

bool CkfDebugger::analyseCompatibleMeasurements ( const Trajectory traj,
const std::vector< TrajectoryMeasurement > &  meas,
const MeasurementTracker aMeasurementTracker,
const Propagator propagator,
const Chi2MeasurementEstimatorBase estimator,
const TransientTrackingRecHitBuilder aTTRHBuilder 
)
pair< CTTRHp, double > CkfDebugger::analyseRecHitExistance ( const PSimHit sh,
const TSOS startingState 
)
private

Definition at line 680 of file CkfDebugger.cc.

int CkfDebugger::analyseRecHitNotFound ( const Trajectory traj,
CTTRHp  correctRecHit 
)
private

Definition at line 904 of file CkfDebugger.cc.

bool CkfDebugger::associated ( CTTRHp  rechit,
const PSimHit sh 
) const
private

Definition at line 614 of file CkfDebugger.cc.

int CkfDebugger::assocTrackId ( CTTRHp  rechit) const
private

Definition at line 511 of file CkfDebugger.cc.

template<unsigned int D>
std::pair<double,double> CkfDebugger::computePulls ( CTTRHp  recHit,
TSOS  startingState 
)
inlineprivate

Definition at line 158 of file CkfDebugger.h.

std::pair<double,double> CkfDebugger::computePulls ( CTTRHp  recHit,
TSOS  startingState 
)
inlineprivate

Definition at line 185 of file CkfDebugger.h.

bool CkfDebugger::correctMeas ( const TM tm,
const PSimHit correctHit 
) const
private

Definition at line 634 of file CkfDebugger.cc.

bool CkfDebugger::correctTrajectory ( const Trajectory traj,
unsigned int &  trajId 
) const
private

Definition at line 469 of file CkfDebugger.cc.

void CkfDebugger::countSeed ( )
inline

Definition at line 51 of file CkfDebugger.h.

Referenced by cms::CkfDebugTrackCandidateMaker::countSeedsDebugger().

void CkfDebugger::deleteHitAssociator ( )
inline

Definition at line 65 of file CkfDebugger.h.

Referenced by cms::CkfDebugTrackCandidateMaker::deleteAssocDebugger().

const GeomDetUnit* CkfDebugger::det ( const PSimHit sh) const
inlineprivate

Definition at line 150 of file CkfDebugger.h.

void CkfDebugger::dumpSimHit ( const SimHit hit) const
private

Definition at line 185 of file CkfDebugger.cc.

void CkfDebugger::fillSeedHist ( CTTRHp  h1,
CTTRHp  h2,
TrajectoryStateOnSurface  t 
)
inline

Definition at line 53 of file CkfDebugger.h.

Referenced by CkfDebugTrajectoryBuilder::fillSeedHistoDebugger().

bool CkfDebugger::goodSimHit ( const PSimHit sh) const
private

Definition at line 607 of file CkfDebugger.cc.

bool CkfDebugger::hasDelta ( const PSimHit correctHit)
inlineprivate

Definition at line 136 of file CkfDebugger.h.

int CkfDebugger::layer ( const GeomDet det)
inlineprivate

Definition at line 152 of file CkfDebugger.h.

vector< const PSimHit * > CkfDebugger::nextCorrectHits ( const Trajectory traj,
unsigned int &  trajId 
)
private

Definition at line 529 of file CkfDebugger.cc.

Global3DPoint CkfDebugger::position ( const PSimHit sh) const
inlineprivate

Definition at line 147 of file CkfDebugger.h.

void CkfDebugger::printSimHits ( const edm::Event iEvent)

Definition at line 156 of file CkfDebugger.cc.

Referenced by cms::CkfDebugTrackCandidateMaker::printHitsDebugger().

const PSimHit * CkfDebugger::pSimHit ( unsigned int  tkId,
DetId  detId 
)
private

Definition at line 892 of file CkfDebugger.cc.

double CkfDebugger::testSeed ( CTTRHp  recHit1,
CTTRHp  recHit2,
TrajectoryStateOnSurface  state 
)
private

Definition at line 989 of file CkfDebugger.cc.

Member Data Documentation

int CkfDebugger::chi2gt30
private

Definition at line 237 of file CkfDebugger.h.

int CkfDebugger::chi2gt30delta
private

Definition at line 238 of file CkfDebugger.h.

int CkfDebugger::chi2gt30deltaSeed
private

Definition at line 239 of file CkfDebugger.h.

int CkfDebugger::chi2ls30
private

Definition at line 240 of file CkfDebugger.h.

int CkfDebugger::det_not_found
private

Definition at line 236 of file CkfDebugger.h.

std::vector<int> CkfDebugger::dump
private

Definition at line 196 of file CkfDebugger.h.

std::map<std::pair<int,int>, int> CkfDebugger::dump2
private

Definition at line 197 of file CkfDebugger.h.

std::map<std::pair<int,int>, int> CkfDebugger::dump3
private

Definition at line 198 of file CkfDebugger.h.

std::map<std::pair<int,int>, int> CkfDebugger::dump4
private

Definition at line 199 of file CkfDebugger.h.

std::map<std::pair<int,int>, int> CkfDebugger::dump5
private

Definition at line 200 of file CkfDebugger.h.

std::map<std::pair<int,int>, int> CkfDebugger::dump6
private

Definition at line 201 of file CkfDebugger.h.

TFile* CkfDebugger::file
private

Definition at line 203 of file CkfDebugger.h.

int CkfDebugger::glued_det_not_fuond
private

Definition at line 247 of file CkfDebugger.h.

TH1F* CkfDebugger::hchi2seedAll
private

Definition at line 204 of file CkfDebugger.h.

TH1F * CkfDebugger::hchi2seedProb
private

Definition at line 204 of file CkfDebugger.h.

TrackerHitAssociator* CkfDebugger::hitAssociator
private

Definition at line 105 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullGP_X_shst
private

Definition at line 220 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullGP_Y_shst
private

Definition at line 221 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullGP_Z_shst
private

Definition at line 222 of file CkfDebugger.h.

TH2F* CkfDebugger::hPullGPXvsGPeta_shst
private

Definition at line 228 of file CkfDebugger.h.

TH2F* CkfDebugger::hPullGPXvsGPphi_shst
private

Definition at line 229 of file CkfDebugger.h.

TH2F* CkfDebugger::hPullGPXvsGPr_shst
private

Definition at line 227 of file CkfDebugger.h.

TH2F* CkfDebugger::hPullGPXvsGPX_shst
private

Definition at line 224 of file CkfDebugger.h.

TH2F* CkfDebugger::hPullGPXvsGPY_shst
private

Definition at line 225 of file CkfDebugger.h.

TH2F* CkfDebugger::hPullGPXvsGPZ_shst
private

Definition at line 226 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullM_shrh
private

Definition at line 213 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullM_shst
private

Definition at line 215 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullM_strh
private

Definition at line 217 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullS_shrh
private

Definition at line 214 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullS_shst
private

Definition at line 216 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullS_strh
private

Definition at line 218 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullX_shrh
private

Definition at line 206 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullX_shst
private

Definition at line 208 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullX_strh
private

Definition at line 210 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullY_shrh
private

Definition at line 207 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullY_shst
private

Definition at line 209 of file CkfDebugger.h.

std::map<std::string,TH1F*> CkfDebugger::hPullY_strh
private

Definition at line 211 of file CkfDebugger.h.

std::map<unsigned int, std::vector<PSimHit*> > CkfDebugger::idHitsMap
private

Definition at line 111 of file CkfDebugger.h.

int CkfDebugger::layer_not_found
private

Definition at line 235 of file CkfDebugger.h.

int CkfDebugger::matched_not_associated
private

Definition at line 245 of file CkfDebugger.h.

int CkfDebugger::matched_not_found
private

Definition at line 244 of file CkfDebugger.h.

int CkfDebugger::no_component
private

Definition at line 242 of file CkfDebugger.h.

int CkfDebugger::no_layer
private

Definition at line 234 of file CkfDebugger.h.

int CkfDebugger::no_sim_hit
private

Definition at line 233 of file CkfDebugger.h.

int CkfDebugger::only_one_component
private

Definition at line 243 of file CkfDebugger.h.

int CkfDebugger::other
private

Definition at line 249 of file CkfDebugger.h.

int CkfDebugger::partner_det_not_fuond
private

Definition at line 246 of file CkfDebugger.h.

int CkfDebugger::problems
private

Definition at line 232 of file CkfDebugger.h.

int CkfDebugger::propagation
private

Definition at line 248 of file CkfDebugger.h.

int CkfDebugger::seedWithDelta
private

Definition at line 231 of file CkfDebugger.h.

int CkfDebugger::simple_hit_not_found
private

Definition at line 241 of file CkfDebugger.h.

const MeasurementEstimator* CkfDebugger::theChi2
private

Definition at line 102 of file CkfDebugger.h.

const Propagator* CkfDebugger::theForwardPropagator
private

Definition at line 103 of file CkfDebugger.h.

const GeometricSearchTracker* CkfDebugger::theGeomSearchTracker
private

Definition at line 101 of file CkfDebugger.h.

const MagneticField* CkfDebugger::theMagField
private

Definition at line 100 of file CkfDebugger.h.

const MeasurementTracker* CkfDebugger::theMeasurementTracker
private

Definition at line 106 of file CkfDebugger.h.

NavigationSchool const* CkfDebugger::theNavSchool
private

Definition at line 109 of file CkfDebugger.h.

const TrackerTopology* CkfDebugger::theTopo
private

Definition at line 108 of file CkfDebugger.h.

const TrackerGeometry* CkfDebugger::theTrackerGeom
private

Definition at line 99 of file CkfDebugger.h.

const TransientTrackingRecHitBuilder* CkfDebugger::theTTRHBuilder
private

Definition at line 107 of file CkfDebugger.h.

int CkfDebugger::totchi2gt30
private

Definition at line 250 of file CkfDebugger.h.

int CkfDebugger::totSeeds
private

Definition at line 252 of file CkfDebugger.h.

TrackerHitAssociator::Config CkfDebugger::trackerHitAssociatorConfig_
private

Definition at line 104 of file CkfDebugger.h.