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 Types | Private Attributes | Static Private Attributes
AlignmentStats Class Reference

#include <AlignmentStats.h>

Inheritance diagram for AlignmentStats:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 AlignmentStats (const edm::ParameterSet &iConfig)
 
virtual void analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup)
 
void beginJob ()
 
void endJob ()
 
 ~AlignmentStats ()
 
- 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 Types

typedef std::map< uint32_t,
uint32_t > 
DetHitMap
 

Private Attributes

float Chi2n [MAXTRKS_]
 
float Eta [MAXTRKS_]
 
int event_
 
bool firstEvent_
 
DetHitMap hitmap_
 
std::string hitsTreeName_
 
bool keepHitPopulation_
 
bool keepTrackStats_
 
const edm::EventSetuplastSetup_
 
int Nhits [MAXTRKS_][7]
 
unsigned int ntracks
 
TTree * outtree_
 
edm::InputTag overlapAM_
 
DetHitMap overlapmap_
 
float P [MAXTRKS_]
 
float Phi [MAXTRKS_]
 
uint32_t prescale_
 
float Pt [MAXTRKS_]
 
int run_
 
edm::InputTag src_
 
std::string statsTreeName_
 
uint32_t tmpPresc_
 
const TrackerGeometrytrackerGeometry_
 
TFile * treefile_
 

Static Private Attributes

static const int MAXTRKS_ =200
 

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

Definition at line 28 of file AlignmentStats.h.

Member Typedef Documentation

typedef std::map<uint32_t,uint32_t> AlignmentStats::DetHitMap
private

Definition at line 61 of file AlignmentStats.h.

Constructor & Destructor Documentation

AlignmentStats::AlignmentStats ( const edm::ParameterSet iConfig)

Definition at line 28 of file AlignmentStats.cc.

AlignmentStats::~AlignmentStats ( )

Definition at line 46 of file AlignmentStats.cc.

Member Function Documentation

void AlignmentStats::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 86 of file AlignmentStats.cc.

void AlignmentStats::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 50 of file AlignmentStats.cc.

void AlignmentStats::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 263 of file AlignmentStats.cc.

Member Data Documentation

float AlignmentStats::Chi2n[MAXTRKS_]
private

Definition at line 57 of file AlignmentStats.h.

float AlignmentStats::Eta[MAXTRKS_]
private

Definition at line 57 of file AlignmentStats.h.

int AlignmentStats::event_
private

Definition at line 55 of file AlignmentStats.h.

bool AlignmentStats::firstEvent_
private

Definition at line 49 of file AlignmentStats.h.

DetHitMap AlignmentStats::hitmap_
private

Definition at line 62 of file AlignmentStats.h.

std::string AlignmentStats::hitsTreeName_
private

Definition at line 45 of file AlignmentStats.h.

bool AlignmentStats::keepHitPopulation_
private

Definition at line 43 of file AlignmentStats.h.

bool AlignmentStats::keepTrackStats_
private

Definition at line 42 of file AlignmentStats.h.

const edm::EventSetup* AlignmentStats::lastSetup_
private

Definition at line 68 of file AlignmentStats.h.

const int AlignmentStats::MAXTRKS_ =200
staticprivate

Definition at line 54 of file AlignmentStats.h.

int AlignmentStats::Nhits[MAXTRKS_][7]
private

Definition at line 58 of file AlignmentStats.h.

unsigned int AlignmentStats::ntracks
private

Definition at line 56 of file AlignmentStats.h.

TTree* AlignmentStats::outtree_
private

Definition at line 53 of file AlignmentStats.h.

edm::InputTag AlignmentStats::overlapAM_
private

Definition at line 41 of file AlignmentStats.h.

DetHitMap AlignmentStats::overlapmap_
private

Definition at line 63 of file AlignmentStats.h.

float AlignmentStats::P[MAXTRKS_]
private

Definition at line 57 of file AlignmentStats.h.

float AlignmentStats::Phi[MAXTRKS_]
private

Definition at line 57 of file AlignmentStats.h.

uint32_t AlignmentStats::prescale_
private

Definition at line 46 of file AlignmentStats.h.

float AlignmentStats::Pt[MAXTRKS_]
private

Definition at line 57 of file AlignmentStats.h.

int AlignmentStats::run_
private

Definition at line 55 of file AlignmentStats.h.

edm::InputTag AlignmentStats::src_
private

Definition at line 40 of file AlignmentStats.h.

std::string AlignmentStats::statsTreeName_
private

Definition at line 44 of file AlignmentStats.h.

uint32_t AlignmentStats::tmpPresc_
private

Definition at line 48 of file AlignmentStats.h.

const TrackerGeometry* AlignmentStats::trackerGeometry_
private

Definition at line 66 of file AlignmentStats.h.

TFile* AlignmentStats::treefile_
private

Definition at line 52 of file AlignmentStats.h.