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
TestHits Class Reference

#include <RecoTracker/DebugTools/src/TestHits.cc>

Inheritance diagram for TestHits:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 TestHits (const edm::ParameterSet &)
 
 ~TestHits ()
 
- 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 &)
 
virtual void endJob ()
 
std::pair< LocalPoint,
LocalVector
projectHit (const PSimHit &, const StripGeomDetUnit *, const BoundPlane &)
 

Private Attributes

std::string builderName
 
TFile * file
 
edm::ESHandle< TrajectoryFitterfit
 
std::string fname
 
std::map< std::string, TH1F * > hChi2Increment
 
TH2F * hClsize_vs_Chi2
 
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 * hTotChi2Increment
 
double maxeta
 
double mineta
 
std::string propagatorName
 
std::string srcName
 
edm::ESHandle
< TransientTrackingRecHitBuilder
theBuilder
 
edm::ESHandle< TrackerGeometrytheG
 
edm::ESHandle< MagneticFieldtheMF
 
edm::ESHandle< PropagatorthePropagator
 
edm::Handle
< TrackCandidateCollection
theTCCollection
 
std::stringstream title
 
TrackerHitAssociator::Config trackerHitAssociatorConfig_
 

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 50 of file TestHits.h.

Constructor & Destructor Documentation

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

Definition at line 24 of file TestHits.cc.

TestHits::~TestHits ( )

Definition at line 35 of file TestHits.cc.

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 188 of file TestHits.cc.

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

Definition at line 37 of file TestHits.cc.

void TestHits::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 937 of file TestHits.cc.

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

Definition at line 1181 of file TestHits.cc.

Member Data Documentation

std::string TestHits::builderName
private

Definition at line 67 of file TestHits.h.

TFile* TestHits::file
private

Definition at line 78 of file TestHits.h.

edm::ESHandle<TrajectoryFitter> TestHits::fit
private

Definition at line 75 of file TestHits.h.

std::string TestHits::fname
private

Definition at line 69 of file TestHits.h.

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

Definition at line 92 of file TestHits.h.

TH2F * TestHits::hClsize_vs_Chi2
private

Definition at line 94 of file TestHits.h.

TH2F* TestHits::hProcess_vs_Chi2
private

Definition at line 94 of file TestHits.h.

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

Definition at line 83 of file TestHits.h.

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

Definition at line 99 of file TestHits.h.

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

Definition at line 112 of file TestHits.h.

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

Definition at line 84 of file TestHits.h.

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

Definition at line 100 of file TestHits.h.

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

Definition at line 113 of file TestHits.h.

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

Definition at line 85 of file TestHits.h.

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

Definition at line 101 of file TestHits.h.

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

Definition at line 114 of file TestHits.h.

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

Definition at line 86 of file TestHits.h.

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

Definition at line 102 of file TestHits.h.

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

Definition at line 115 of file TestHits.h.

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

Definition at line 89 of file TestHits.h.

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

Definition at line 105 of file TestHits.h.

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

Definition at line 118 of file TestHits.h.

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

Definition at line 80 of file TestHits.h.

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

Definition at line 96 of file TestHits.h.

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

Definition at line 109 of file TestHits.h.

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

Definition at line 87 of file TestHits.h.

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

Definition at line 103 of file TestHits.h.

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

Definition at line 116 of file TestHits.h.

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

Definition at line 90 of file TestHits.h.

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

Definition at line 106 of file TestHits.h.

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

Definition at line 119 of file TestHits.h.

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

Definition at line 81 of file TestHits.h.

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

Definition at line 97 of file TestHits.h.

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

Definition at line 110 of file TestHits.h.

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

Definition at line 88 of file TestHits.h.

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

Definition at line 104 of file TestHits.h.

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

Definition at line 117 of file TestHits.h.

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

Definition at line 91 of file TestHits.h.

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

Definition at line 107 of file TestHits.h.

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

Definition at line 120 of file TestHits.h.

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

Definition at line 82 of file TestHits.h.

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

Definition at line 98 of file TestHits.h.

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

Definition at line 111 of file TestHits.h.

TH1F* TestHits::hTotChi2Increment
private

Definition at line 93 of file TestHits.h.

double TestHits::maxeta
private

Definition at line 64 of file TestHits.h.

double TestHits::mineta
private

Definition at line 64 of file TestHits.h.

std::string TestHits::propagatorName
private

Definition at line 66 of file TestHits.h.

std::string TestHits::srcName
private

Definition at line 68 of file TestHits.h.

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

Definition at line 74 of file TestHits.h.

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

Definition at line 71 of file TestHits.h.

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

Definition at line 72 of file TestHits.h.

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

Definition at line 73 of file TestHits.h.

edm::Handle<TrackCandidateCollection> TestHits::theTCCollection
private

Definition at line 76 of file TestHits.h.

std::stringstream TestHits::title
private

Definition at line 79 of file TestHits.h.

TrackerHitAssociator::Config TestHits::trackerHitAssociatorConfig_
private

Definition at line 62 of file TestHits.h.