CMS 3D CMS Logo

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

#include <RecoTracker/TestTrackHits/src/TestTrackHits.cc>

Inheritance diagram for TestTrackHits:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 TestTrackHits (const edm::ParameterSet &)
 
 ~TestTrackHits ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginRun (edm::Run &run, const edm::EventSetup &)
 
template<unsigned int D>
double computeChi2Increment (MeasurementExtractor, TransientTrackingRecHit::ConstRecHitPointer)
 
double computeChi2Increment (MeasurementExtractor me, TransientTrackingRecHit::ConstRecHitPointer hit)
 
virtual void endJob ()
 
std::pair< LocalPoint,
LocalVector
projectHit (const PSimHit &, const StripGeomDetUnit *, const BoundPlane &)
 

Private Attributes

std::string builderName
 
TH1F * energyLossRatio
 
TFile * file
 
TH1F * goodbadmerged
 
std::map< std::string, TH1F * > hChi2BadHit
 
std::map< std::string, TH1F * > hChi2DeltaHit
 
std::map< std::string, TH1F * > hChi2GoodHit
 
std::map< std::string, TH1F * > hChi2Increment
 
std::map< std::string, TH1F * > hChi2Increment_mono
 
std::map< std::string, TH1F * > hChi2Increment_stereo
 
std::map< std::string, TH2F * > hChi2IncrementVsEta
 
std::map< std::string, TH1F * > hChi2NSharedHit
 
std::map< std::string, TH1F * > hChi2SharedHit
 
TH2F * hClsize_vs_Chi2
 
TH1F * hClusterSize
 
TH2F * hGoodHit_vs_Chi2
 
TH2F * hPixClsize_vs_Chi2
 
TH1F * hPixClusterSize
 
TH1F * hPixSimHitVecSize
 
TH2F * hPrjClsize_vs_Chi2
 
TH1F * hPrjClusterSize
 
TH1F * hPrjSimHitVecSize
 
TH2F * hProcess_vs_Chi2
 
std::map< std::string, TH1F * > hPullGM_X_ts
 
std::map< std::string, TH1F * > hPullGM_X_ts_mono
 
std::map< std::string, TH1F * > hPullGM_X_ts_stereo
 
std::map< std::string, TH1F * > hPullGM_Y_ts
 
std::map< std::string, TH1F * > hPullGM_Y_ts_mono
 
std::map< std::string, TH1F * > hPullGM_Y_ts_stereo
 
std::map< std::string, TH1F * > hPullGM_Z_ts
 
std::map< std::string, TH1F * > hPullGM_Z_ts_mono
 
std::map< std::string, TH1F * > hPullGM_Z_ts_stereo
 
std::map< std::string, TH1F * > hPullGP_X_rs
 
std::map< std::string, TH1F * > hPullGP_X_rs_mono
 
std::map< std::string, TH1F * > hPullGP_X_rs_stereo
 
std::map< std::string, TH1F * > hPullGP_X_tr
 
std::map< std::string, TH1F * > hPullGP_X_tr_mono
 
std::map< std::string, TH1F * > hPullGP_X_tr_stereo
 
std::map< std::string, TH1F * > hPullGP_X_ts
 
std::map< std::string, TH1F * > hPullGP_X_ts_mono
 
std::map< std::string, TH1F * > hPullGP_X_ts_stereo
 
std::map< std::string, TH1F * > hPullGP_Y_rs
 
std::map< std::string, TH1F * > hPullGP_Y_rs_mono
 
std::map< std::string, TH1F * > hPullGP_Y_rs_stereo
 
std::map< std::string, TH1F * > hPullGP_Y_tr
 
std::map< std::string, TH1F * > hPullGP_Y_tr_mono
 
std::map< std::string, TH1F * > hPullGP_Y_tr_stereo
 
std::map< std::string, TH1F * > hPullGP_Y_ts
 
std::map< std::string, TH1F * > hPullGP_Y_ts_mono
 
std::map< std::string, TH1F * > hPullGP_Y_ts_stereo
 
std::map< std::string, TH1F * > hPullGP_Z_rs
 
std::map< std::string, TH1F * > hPullGP_Z_rs_mono
 
std::map< std::string, TH1F * > hPullGP_Z_rs_stereo
 
std::map< std::string, TH1F * > hPullGP_Z_tr
 
std::map< std::string, TH1F * > hPullGP_Z_tr_mono
 
std::map< std::string, TH1F * > hPullGP_Z_tr_stereo
 
std::map< std::string, TH1F * > hPullGP_Z_ts
 
std::map< std::string, TH1F * > hPullGP_Z_ts_mono
 
std::map< std::string, TH1F * > hPullGP_Z_ts_stereo
 
TH1F * hSimHitVecSize
 
TH2F * hSt1Clsize_vs_Chi2
 
TH1F * hSt1ClusterSize
 
TH1F * hSt1SimHitVecSize
 
TH2F * hSt2Clsize_vs_Chi2
 
TH1F * hSt2ClusterSize
 
TH1F * hSt2SimHitVecSize
 
TH1F * hTotChi2BadHit
 
TH1F * hTotChi2DeltaHit
 
TH1F * hTotChi2GoodHit
 
TH1F * hTotChi2Increment
 
TH1F * hTotChi2NSharedHit
 
TH1F * hTotChi2SharedHit
 
TH1F * mergedPull
 
std::string out
 
TH1F * probXbad
 
TH1F * probXdelta
 
TH1F * probXgood
 
TH1F * probXnoshare
 
TH1F * probXshared
 
TH1F * probYbad
 
TH1F * probYdelta
 
TH1F * probYgood
 
TH1F * probYnoshare
 
TH1F * probYshared
 
std::string propagatorName
 
std::string srcName
 
edm::ESHandle
< TransientTrackingRecHitBuilder
theBuilder
 
edm::ESHandle< TrackerGeometrytheG
 
edm::ESHandle< MagneticFieldtheMF
 
edm::ESHandle< PropagatorthePropagator
 
edm::ESHandle
< TrajectoryStateUpdator
theUpdator
 
std::stringstream title
 
std::string tpName
 
edm::Handle
< reco::TrackToTrackingParticleAssociator
trackAssociator
 
edm::Handle< edm::View
< reco::Track > > 
trackCollectionHandle
 
TrackerHitAssociator::Config trackerHitAssociatorConfig_
 
edm::Handle
< TrackingParticleCollection
trackingParticleCollectionHandle
 
edm::Handle< std::vector
< Trajectory > > 
trajCollectionHandle
 
edm::Handle
< TrajTrackAssociationCollection
trajTrackAssociationCollectionHandle
 
std::string updatorName
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 55 of file TestTrackHits.h.

Constructor & Destructor Documentation

TestTrackHits::TestTrackHits ( const edm::ParameterSet iConfig)
explicit

Definition at line 18 of file TestTrackHits.cc.

TestTrackHits::~TestTrackHits ( )

Definition at line 37 of file TestTrackHits.cc.

Member Function Documentation

void TestTrackHits::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDAnalyzer.

Definition at line 249 of file TestTrackHits.cc.

void TestTrackHits::beginRun ( edm::Run run,
const edm::EventSetup iSetup 
)
privatevirtual

Definition at line 39 of file TestTrackHits.cc.

template<unsigned int D>
double TestTrackHits::computeChi2Increment ( MeasurementExtractor  me,
TransientTrackingRecHit::ConstRecHitPointer  rhit 
)
private

Definition at line 1271 of file TestTrackHits.cc.

double TestTrackHits::computeChi2Increment ( MeasurementExtractor  me,
TransientTrackingRecHit::ConstRecHitPointer  hit 
)
inlineprivate

Definition at line 69 of file TestTrackHits.h.

void TestTrackHits::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 943 of file TestTrackHits.cc.

std::pair< LocalPoint, LocalVector > TestTrackHits::projectHit ( const PSimHit hit,
const StripGeomDetUnit stripDet,
const BoundPlane plane 
)
private

Definition at line 1246 of file TestTrackHits.cc.

Member Data Documentation

std::string TestTrackHits::builderName
private

Definition at line 83 of file TestTrackHits.h.

TH1F * TestTrackHits::energyLossRatio
private

Definition at line 128 of file TestTrackHits.h.

TFile* TestTrackHits::file
private

Definition at line 100 of file TestTrackHits.h.

TH1F* TestTrackHits::goodbadmerged
private

Definition at line 128 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hChi2BadHit
private

Definition at line 119 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hChi2DeltaHit
private

Definition at line 120 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hChi2GoodHit
private

Definition at line 118 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hChi2Increment
private

Definition at line 114 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hChi2Increment_mono
private

Definition at line 115 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hChi2Increment_stereo
private

Definition at line 116 of file TestTrackHits.h.

std::map<std::string,TH2F*> TestTrackHits::hChi2IncrementVsEta
private

Definition at line 117 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hChi2NSharedHit
private

Definition at line 121 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hChi2SharedHit
private

Definition at line 122 of file TestTrackHits.h.

TH2F * TestTrackHits::hClsize_vs_Chi2
private

Definition at line 124 of file TestTrackHits.h.

TH1F* TestTrackHits::hClusterSize
private

Definition at line 126 of file TestTrackHits.h.

TH2F * TestTrackHits::hGoodHit_vs_Chi2
private

Definition at line 124 of file TestTrackHits.h.

TH2F* TestTrackHits::hPixClsize_vs_Chi2
private

Definition at line 125 of file TestTrackHits.h.

TH1F * TestTrackHits::hPixClusterSize
private

Definition at line 126 of file TestTrackHits.h.

TH1F * TestTrackHits::hPixSimHitVecSize
private

Definition at line 127 of file TestTrackHits.h.

TH2F * TestTrackHits::hPrjClsize_vs_Chi2
private

Definition at line 125 of file TestTrackHits.h.

TH1F * TestTrackHits::hPrjClusterSize
private

Definition at line 126 of file TestTrackHits.h.

TH1F * TestTrackHits::hPrjSimHitVecSize
private

Definition at line 127 of file TestTrackHits.h.

TH2F* TestTrackHits::hProcess_vs_Chi2
private

Definition at line 124 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_X_ts
private

Definition at line 105 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_X_ts_mono
private

Definition at line 135 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_X_ts_stereo
private

Definition at line 148 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_Y_ts
private

Definition at line 106 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_Y_ts_mono
private

Definition at line 136 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_Y_ts_stereo
private

Definition at line 149 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_Z_ts
private

Definition at line 107 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_Z_ts_mono
private

Definition at line 137 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGM_Z_ts_stereo
private

Definition at line 150 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_rs
private

Definition at line 108 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_rs_mono
private

Definition at line 138 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_rs_stereo
private

Definition at line 151 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_tr
private

Definition at line 111 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_tr_mono
private

Definition at line 141 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_tr_stereo
private

Definition at line 154 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_ts
private

Definition at line 102 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_ts_mono
private

Definition at line 132 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_X_ts_stereo
private

Definition at line 145 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_rs
private

Definition at line 109 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_rs_mono
private

Definition at line 139 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_rs_stereo
private

Definition at line 152 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_tr
private

Definition at line 112 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_tr_mono
private

Definition at line 142 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_tr_stereo
private

Definition at line 155 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_ts
private

Definition at line 103 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_ts_mono
private

Definition at line 133 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Y_ts_stereo
private

Definition at line 146 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_rs
private

Definition at line 110 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_rs_mono
private

Definition at line 140 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_rs_stereo
private

Definition at line 153 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_tr
private

Definition at line 113 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_tr_mono
private

Definition at line 143 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_tr_stereo
private

Definition at line 156 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_ts
private

Definition at line 104 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_ts_mono
private

Definition at line 134 of file TestTrackHits.h.

std::map<std::string,TH1F*> TestTrackHits::hPullGP_Z_ts_stereo
private

Definition at line 147 of file TestTrackHits.h.

TH1F* TestTrackHits::hSimHitVecSize
private

Definition at line 127 of file TestTrackHits.h.

TH2F * TestTrackHits::hSt1Clsize_vs_Chi2
private

Definition at line 125 of file TestTrackHits.h.

TH1F * TestTrackHits::hSt1ClusterSize
private

Definition at line 126 of file TestTrackHits.h.

TH1F * TestTrackHits::hSt1SimHitVecSize
private

Definition at line 127 of file TestTrackHits.h.

TH2F * TestTrackHits::hSt2Clsize_vs_Chi2
private

Definition at line 125 of file TestTrackHits.h.

TH1F * TestTrackHits::hSt2ClusterSize
private

Definition at line 126 of file TestTrackHits.h.

TH1F * TestTrackHits::hSt2SimHitVecSize
private

Definition at line 127 of file TestTrackHits.h.

TH1F * TestTrackHits::hTotChi2BadHit
private

Definition at line 123 of file TestTrackHits.h.

TH1F * TestTrackHits::hTotChi2DeltaHit
private

Definition at line 123 of file TestTrackHits.h.

TH1F * TestTrackHits::hTotChi2GoodHit
private

Definition at line 123 of file TestTrackHits.h.

TH1F* TestTrackHits::hTotChi2Increment
private

Definition at line 123 of file TestTrackHits.h.

TH1F * TestTrackHits::hTotChi2NSharedHit
private

Definition at line 123 of file TestTrackHits.h.

TH1F * TestTrackHits::hTotChi2SharedHit
private

Definition at line 123 of file TestTrackHits.h.

TH1F * TestTrackHits::mergedPull
private

Definition at line 128 of file TestTrackHits.h.

std::string TestTrackHits::out
private

Definition at line 87 of file TestTrackHits.h.

TH1F * TestTrackHits::probXbad
private

Definition at line 129 of file TestTrackHits.h.

TH1F * TestTrackHits::probXdelta
private

Definition at line 129 of file TestTrackHits.h.

TH1F* TestTrackHits::probXgood
private

Definition at line 129 of file TestTrackHits.h.

TH1F * TestTrackHits::probXnoshare
private

Definition at line 129 of file TestTrackHits.h.

TH1F * TestTrackHits::probXshared
private

Definition at line 129 of file TestTrackHits.h.

TH1F * TestTrackHits::probYbad
private

Definition at line 130 of file TestTrackHits.h.

TH1F * TestTrackHits::probYdelta
private

Definition at line 130 of file TestTrackHits.h.

TH1F* TestTrackHits::probYgood
private

Definition at line 130 of file TestTrackHits.h.

TH1F * TestTrackHits::probYnoshare
private

Definition at line 130 of file TestTrackHits.h.

TH1F * TestTrackHits::probYshared
private

Definition at line 130 of file TestTrackHits.h.

std::string TestTrackHits::propagatorName
private

Definition at line 82 of file TestTrackHits.h.

std::string TestTrackHits::srcName
private

Definition at line 84 of file TestTrackHits.h.

edm::ESHandle<TransientTrackingRecHitBuilder> TestTrackHits::theBuilder
private

Definition at line 91 of file TestTrackHits.h.

edm::ESHandle<TrackerGeometry> TestTrackHits::theG
private

Definition at line 88 of file TestTrackHits.h.

edm::ESHandle<MagneticField> TestTrackHits::theMF
private

Definition at line 89 of file TestTrackHits.h.

edm::ESHandle<Propagator> TestTrackHits::thePropagator
private

Definition at line 90 of file TestTrackHits.h.

edm::ESHandle<TrajectoryStateUpdator> TestTrackHits::theUpdator
private

Definition at line 92 of file TestTrackHits.h.

std::stringstream TestTrackHits::title
private

Definition at line 101 of file TestTrackHits.h.

std::string TestTrackHits::tpName
private

Definition at line 85 of file TestTrackHits.h.

edm::Handle<reco::TrackToTrackingParticleAssociator> TestTrackHits::trackAssociator
private

Definition at line 93 of file TestTrackHits.h.

edm::Handle<edm::View<reco::Track> > TestTrackHits::trackCollectionHandle
private

Definition at line 95 of file TestTrackHits.h.

TrackerHitAssociator::Config TestTrackHits::trackerHitAssociatorConfig_
private

Definition at line 80 of file TestTrackHits.h.

edm::Handle<TrackingParticleCollection> TestTrackHits::trackingParticleCollectionHandle
private

Definition at line 97 of file TestTrackHits.h.

edm::Handle<std::vector<Trajectory> > TestTrackHits::trajCollectionHandle
private

Definition at line 94 of file TestTrackHits.h.

edm::Handle<TrajTrackAssociationCollection> TestTrackHits::trajTrackAssociationCollectionHandle
private

Definition at line 96 of file TestTrackHits.h.

std::string TestTrackHits::updatorName
private

Definition at line 86 of file TestTrackHits.h.