#include <DTResidualCalibration.h>
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 | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) 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 DTGeometry * | dtGeom_ |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
Extracts DT segment residuals
Definition at line 30 of file DTResidualCalibration.h.
DTResidualCalibration::DTResidualCalibration | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 36 of file DTResidualCalibration.cc.
References edm::ParameterSet::getUntrackedParameter(), rootFile_, dtT0Analyzer_cfg::rootFileName, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 88 of file DTResidualCalibration.cc.
References DTGeometry::chamber(), DTRecHitSegmentResidual::compute(), filterCSVwithJSON::copy, detailedAnalysis_, dtGeom_, fillHistos(), DTWireId::layerId(), LogTrace, rootFile_, segment4DLabel_, segmentToWireDistance(), select_, DTRecSegment2D::specificRecHits(), DTLayerId::superlayerId(), and GeomDet::toGlobal().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 53 of file DTResidualCalibration.cc.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 57 of file DTResidualCalibration.cc.
References bookHistos(), DTGeometry::chambers(), detailedAnalysis_, dtGeom_, edm::EventSetup::get(), histoMapTH1F_, and edm::ESHandle< class >::product().
|
private |
Definition at line 195 of file DTResidualCalibration.cc.
References histoMapTH1F_, histoMapTH2F_, rootBaseDir_, rootFile_, DTChamberId::sector(), mergeVDriftHistosByStation::sectorStr, DTChamberId::station(), mergeVDriftHistosByStation::stationStr, relval_parameters_module::step, AlCaHLTBitMon_QueryRunRegistry::string, DTSuperLayerId::superlayer(), DTChamberId::wheel(), and mergeVDriftHistosByStation::wheelStr.
Referenced by beginRun().
|
private |
Definition at line 251 of file DTResidualCalibration.cc.
References histoMapPerLayerTH1F_, histoMapPerLayerTH2F_, DTLayerId::layer(), rootBaseDir_, rootFile_, DTChamberId::sector(), mergeVDriftHistosByStation::sectorStr, DTChamberId::station(), mergeVDriftHistosByStation::stationStr, relval_parameters_module::step, AlCaHLTBitMon_QueryRunRegistry::string, DTSuperLayerId::superlayer(), DTChamberId::wheel(), and mergeVDriftHistosByStation::wheelStr.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 174 of file DTResidualCalibration.cc.
References rootFile_.
|
private |
Definition at line 306 of file DTResidualCalibration.cc.
References histoMapTH1F_, and histoMapTH2F_.
Referenced by analyze().
|
private |
Definition at line 316 of file DTResidualCalibration.cc.
References histoMapPerLayerTH1F_, and histoMapPerLayerTH2F_.
|
private |
Definition at line 147 of file DTResidualCalibration.cc.
References DTGeometry::chamber(), DTSuperLayerId::chamberId(), funct::cos(), dtGeom_, DTGeometry::layer(), DTWireId::layerId(), DTRecSegment4D::localDirection(), DTRecSegment4D::localPosition(), DTRecHit1D::localPosition(), DTLayer::specificTopology(), DTSuperLayerId::superlayer(), PV3DBase< T, PVType, FrameType >::theta(), GeomDet::toGlobal(), GeomDet::toLocal(), DTWireId::wire(), DTRecHit1D::wireId(), DTTopology::wirePosition(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 57 of file DTResidualCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 60 of file DTResidualCalibration.h.
Referenced by analyze(), beginRun(), and segmentToWireDistance().
|
private |
Definition at line 65 of file DTResidualCalibration.h.
Referenced by bookHistos(), and fillHistos().
|
private |
Definition at line 66 of file DTResidualCalibration.h.
Referenced by bookHistos(), and fillHistos().
|
private |
Definition at line 62 of file DTResidualCalibration.h.
Referenced by beginRun(), bookHistos(), and fillHistos().
|
private |
Definition at line 63 of file DTResidualCalibration.h.
Referenced by bookHistos(), and fillHistos().
|
private |
Definition at line 55 of file DTResidualCalibration.h.
Referenced by bookHistos().
|
private |
Definition at line 58 of file DTResidualCalibration.h.
Referenced by analyze(), bookHistos(), DTResidualCalibration(), and endJob().
|
private |
Definition at line 54 of file DTResidualCalibration.h.
Referenced by analyze().
|
private |
Definition at line 53 of file DTResidualCalibration.h.
Referenced by analyze().