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

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

Inheritance diagram for TestSmoothHits:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 TestSmoothHits (const edm::ParameterSet &)
 
 ~TestSmoothHits ()
 
- 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
 
TH2F * hChi2_vs_clsize
 
TH2F * hChi2_vs_Process
 
std::map< std::string, TH1F * > hChi2Increment
 
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
 
edm::ESHandle< TrajectorySmoothersmooth
 
std::string sname
 
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 51 of file TestSmoothHits.h.

Constructor & Destructor Documentation

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

Definition at line 23 of file TestSmoothHits.cc.

TestSmoothHits::~TestSmoothHits ( )

Definition at line 35 of file TestSmoothHits.cc.

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 189 of file TestSmoothHits.cc.

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

Definition at line 37 of file TestSmoothHits.cc.

void TestSmoothHits::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 634 of file TestSmoothHits.cc.

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

Definition at line 878 of file TestSmoothHits.cc.

Member Data Documentation

std::string TestSmoothHits::builderName
private

Definition at line 68 of file TestSmoothHits.h.

TFile* TestSmoothHits::file
private

Definition at line 81 of file TestSmoothHits.h.

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

Definition at line 78 of file TestSmoothHits.h.

std::string TestSmoothHits::fname
private

Definition at line 70 of file TestSmoothHits.h.

TH2F * TestSmoothHits::hChi2_vs_clsize
private

Definition at line 97 of file TestSmoothHits.h.

TH2F* TestSmoothHits::hChi2_vs_Process
private

Definition at line 97 of file TestSmoothHits.h.

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

Definition at line 95 of file TestSmoothHits.h.

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

Definition at line 86 of file TestSmoothHits.h.

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

Definition at line 102 of file TestSmoothHits.h.

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

Definition at line 115 of file TestSmoothHits.h.

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

Definition at line 87 of file TestSmoothHits.h.

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

Definition at line 103 of file TestSmoothHits.h.

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

Definition at line 116 of file TestSmoothHits.h.

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

Definition at line 88 of file TestSmoothHits.h.

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

Definition at line 104 of file TestSmoothHits.h.

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

Definition at line 117 of file TestSmoothHits.h.

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

Definition at line 89 of file TestSmoothHits.h.

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

Definition at line 105 of file TestSmoothHits.h.

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

Definition at line 118 of file TestSmoothHits.h.

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

Definition at line 92 of file TestSmoothHits.h.

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

Definition at line 108 of file TestSmoothHits.h.

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

Definition at line 121 of file TestSmoothHits.h.

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

Definition at line 83 of file TestSmoothHits.h.

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

Definition at line 99 of file TestSmoothHits.h.

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

Definition at line 112 of file TestSmoothHits.h.

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

Definition at line 90 of file TestSmoothHits.h.

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

Definition at line 106 of file TestSmoothHits.h.

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

Definition at line 119 of file TestSmoothHits.h.

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

Definition at line 93 of file TestSmoothHits.h.

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

Definition at line 109 of file TestSmoothHits.h.

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

Definition at line 122 of file TestSmoothHits.h.

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

Definition at line 84 of file TestSmoothHits.h.

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

Definition at line 100 of file TestSmoothHits.h.

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

Definition at line 113 of file TestSmoothHits.h.

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

Definition at line 91 of file TestSmoothHits.h.

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

Definition at line 107 of file TestSmoothHits.h.

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

Definition at line 120 of file TestSmoothHits.h.

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

Definition at line 94 of file TestSmoothHits.h.

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

Definition at line 110 of file TestSmoothHits.h.

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

Definition at line 123 of file TestSmoothHits.h.

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

Definition at line 85 of file TestSmoothHits.h.

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

Definition at line 101 of file TestSmoothHits.h.

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

Definition at line 114 of file TestSmoothHits.h.

TH1F* TestSmoothHits::hTotChi2Increment
private

Definition at line 96 of file TestSmoothHits.h.

double TestSmoothHits::maxeta
private

Definition at line 65 of file TestSmoothHits.h.

double TestSmoothHits::mineta
private

Definition at line 65 of file TestSmoothHits.h.

std::string TestSmoothHits::propagatorName
private

Definition at line 67 of file TestSmoothHits.h.

edm::ESHandle<TrajectorySmoother> TestSmoothHits::smooth
private

Definition at line 79 of file TestSmoothHits.h.

std::string TestSmoothHits::sname
private

Definition at line 71 of file TestSmoothHits.h.

std::string TestSmoothHits::srcName
private

Definition at line 69 of file TestSmoothHits.h.

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

Definition at line 76 of file TestSmoothHits.h.

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

Definition at line 73 of file TestSmoothHits.h.

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

Definition at line 74 of file TestSmoothHits.h.

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

Definition at line 75 of file TestSmoothHits.h.

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

Definition at line 77 of file TestSmoothHits.h.

std::stringstream TestSmoothHits::title
private

Definition at line 82 of file TestSmoothHits.h.

TrackerHitAssociator::Config TestSmoothHits::trackerHitAssociatorConfig_
private

Definition at line 63 of file TestSmoothHits.h.