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 Member Functions | Private Attributes
DTResidualCalibration Class Reference

#include <DTResidualCalibration.h>

Inheritance diagram for DTResidualCalibration:
edm::EDAnalyzer edm::EDConsumerBase

Classes

class  DTResidualCalibration
 

Public Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &setup)
 
void beginJob ()
 
void beginRun (const edm::Run &, const edm::EventSetup &)
 
 DTResidualCalibration (const edm::ParameterSet &pset)
 Constructor. More...
 
void endJob ()
 
virtual ~DTResidualCalibration ()
 Destructor. More...
 
- 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

void bookHistos (DTSuperLayerId slId)
 
void bookHistos (DTLayerId slId)
 
void fillHistos (DTSuperLayerId slId, float distance, float residualOnDistance)
 
void fillHistos (DTLayerId slId, float distance, float residualOnDistance)
 
float segmentToWireDistance (const DTRecHit1D &recHit1D, const DTRecSegment4D &segment)
 

Private Attributes

bool detailedAnalysis_
 
const DTGeometrydtGeom_
 
std::map< DTLayerId,
std::vector< TH1F * > > 
histoMapPerLayerTH1F_
 
std::map< DTLayerId,
std::vector< TH2F * > > 
histoMapPerLayerTH2F_
 
std::map< DTSuperLayerId,
std::vector< TH1F * > > 
histoMapTH1F_
 
std::map< DTSuperLayerId,
std::vector< TH2F * > > 
histoMapTH2F_
 
std::string rootBaseDir_
 
TFile * rootFile_
 
edm::InputTag segment4DLabel_
 
DTSegmentSelector select_
 

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

Extracts DT segment residuals

Definition at line 28 of file DTResidualCalibration.h.

Constructor & Destructor Documentation

Constructor.

Definition at line 34 of file DTResidualCalibration.cc.

DTResidualCalibration::~DTResidualCalibration ( )
virtual

Destructor.

Definition at line 47 of file DTResidualCalibration.cc.

Member Function Documentation

void DTResidualCalibration::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 86 of file DTResidualCalibration.cc.

void DTResidualCalibration::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 51 of file DTResidualCalibration.cc.

void DTResidualCalibration::beginRun ( const edm::Run run,
const edm::EventSetup setup 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 55 of file DTResidualCalibration.cc.

void DTResidualCalibration::bookHistos ( DTSuperLayerId  slId)
private

Definition at line 193 of file DTResidualCalibration.cc.

void DTResidualCalibration::bookHistos ( DTLayerId  slId)
private

Definition at line 249 of file DTResidualCalibration.cc.

void DTResidualCalibration::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 172 of file DTResidualCalibration.cc.

void DTResidualCalibration::fillHistos ( DTSuperLayerId  slId,
float  distance,
float  residualOnDistance 
)
private

Definition at line 304 of file DTResidualCalibration.cc.

void DTResidualCalibration::fillHistos ( DTLayerId  slId,
float  distance,
float  residualOnDistance 
)
private

Definition at line 314 of file DTResidualCalibration.cc.

float DTResidualCalibration::segmentToWireDistance ( const DTRecHit1D recHit1D,
const DTRecSegment4D segment 
)
private

Definition at line 145 of file DTResidualCalibration.cc.

Member Data Documentation

bool DTResidualCalibration::detailedAnalysis_
private

Definition at line 55 of file DTResidualCalibration.h.

const DTGeometry* DTResidualCalibration::dtGeom_
private

Definition at line 58 of file DTResidualCalibration.h.

std::map<DTLayerId, std::vector<TH1F*> > DTResidualCalibration::histoMapPerLayerTH1F_
private

Definition at line 63 of file DTResidualCalibration.h.

std::map<DTLayerId, std::vector<TH2F*> > DTResidualCalibration::histoMapPerLayerTH2F_
private

Definition at line 64 of file DTResidualCalibration.h.

std::map<DTSuperLayerId, std::vector<TH1F*> > DTResidualCalibration::histoMapTH1F_
private

Definition at line 60 of file DTResidualCalibration.h.

std::map<DTSuperLayerId, std::vector<TH2F*> > DTResidualCalibration::histoMapTH2F_
private

Definition at line 61 of file DTResidualCalibration.h.

std::string DTResidualCalibration::rootBaseDir_
private

Definition at line 53 of file DTResidualCalibration.h.

TFile* DTResidualCalibration::rootFile_
private

Definition at line 56 of file DTResidualCalibration.h.

edm::InputTag DTResidualCalibration::segment4DLabel_
private

Definition at line 52 of file DTResidualCalibration.h.

DTSegmentSelector DTResidualCalibration::select_
private

Definition at line 51 of file DTResidualCalibration.h.