#include <DTResidualCalibration.h>
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 | |
const bool | detailedAnalysis_ |
const DTGeometry * | dtGeom_ |
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeomToken_ |
std::map< DTLayerId, TH1F * > | histoMapPerLayerTH1F_ |
std::map< DTLayerId, TH2F * > | histoMapPerLayerTH2F_ |
std::map< DTSuperLayerId, TH1F * > | histoMapTH1F_ |
std::map< DTSuperLayerId, TH2F * > | histoMapTH2F_ |
const double | histRange_ |
unsigned int | nevent |
const std::string | rootBaseDir_ |
TFile * | rootFile_ |
unsigned int | segmbad |
const edm::EDGetTokenT< DTRecSegment4DCollection > | segment4DToken_ |
unsigned int | segmok |
DTSegmentSelector * | select_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Extracts DT segment residuals
Definition at line 30 of file DTResidualCalibration.h.
DTResidualCalibration::DTResidualCalibration | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 34 of file DTResidualCalibration.cc.
References edm::EDConsumerBase::consumesCollector(), LogDebug, nevent, muonDTDigis_cfi::pset, rootFile_, CSCSkim_cfi::rootFileName, segmbad, segmok, select_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 87 of file DTResidualCalibration.cc.
References relativeConstraints::chamber, DTGeometry::chamber(), DTRecHitSegmentResidual::compute(), filterCSVwithJSON::copy, detailedAnalysis_, dtGeom_, edmPickEvents::event, fillHistos(), DTWireId::layerId(), LogTrace, nevent, FastTimerService_cff::range, rootFile_, segmbad, segment4DToken_, segmentToWireDistance(), segmok, select_, singleTopDQM_cfi::setup, DTRecSegment2D::specificRecHits(), and DTLayerId::superlayerId().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 61 of file DTResidualCalibration.cc.
|
override |
Definition at line 63 of file DTResidualCalibration.cc.
References bookHistos(), DTGeometry::chambers(), detailedAnalysis_, dtGeom_, dtGeomToken_, histoMapTH1F_, hgcalTopologyTester_cfi::layers, edm::ESHandle< T >::product(), and singleTopDQM_cfi::setup.
|
private |
Definition at line 197 of file DTResidualCalibration.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, histoMapTH1F_, histoMapTH2F_, histRange_, LogDebug, rootBaseDir_, rootFile_, DTChamberId::sector(), DTChamberId::station(), AlCaHLTBitMon_QueryRunRegistry::string, DTSuperLayerId::superlayer(), cond::impl::to_string(), and DTChamberId::wheel().
Referenced by beginRun().
|
private |
Definition at line 251 of file DTResidualCalibration.cc.
References ALCARECODTCalibSynchDQM_cff::baseDir, histoMapPerLayerTH1F_, histoMapPerLayerTH2F_, histRange_, DTLayerId::layer(), LogDebug, rootBaseDir_, rootFile_, DTChamberId::sector(), DTChamberId::station(), AlCaHLTBitMon_QueryRunRegistry::string, DTSuperLayerId::superlayer(), cond::impl::to_string(), and DTChamberId::wheel().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 178 of file DTResidualCalibration.cc.
References LogDebug, and rootFile_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
inlineoverride |
Definition at line 40 of file DTResidualCalibration.h.
|
private |
Definition at line 310 of file DTResidualCalibration.cc.
References HLT_2022v15_cff::distance, histoMapTH1F_, and histoMapTH2F_.
Referenced by analyze().
|
private |
Definition at line 316 of file DTResidualCalibration.cc.
References HLT_2022v15_cff::distance, histoMapPerLayerTH1F_, and histoMapPerLayerTH2F_.
|
private |
Definition at line 149 of file DTResidualCalibration.cc.
References relativeConstraints::chamber, DTGeometry::chamber(), DTSuperLayerId::chamberId(), funct::cos(), dtGeom_, DTGeometry::layer(), phase1PixelTopology::layer, DTWireId::layerId(), DTRecSegment4D::localDirection(), DTRecHit1D::localPosition(), DTRecSegment4D::localPosition(), DTSuperLayerId::superlayer(), PV3DBase< T, PVType, FrameType >::theta(), DTWireId::wire(), DTRecHit1D::wireId(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 61 of file DTResidualCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 64 of file DTResidualCalibration.h.
Referenced by analyze(), beginRun(), and segmentToWireDistance().
|
private |
Definition at line 65 of file DTResidualCalibration.h.
Referenced by beginRun().
|
private |
Definition at line 71 of file DTResidualCalibration.h.
Referenced by bookHistos(), and fillHistos().
|
private |
Definition at line 72 of file DTResidualCalibration.h.
Referenced by bookHistos(), and fillHistos().
|
private |
Definition at line 68 of file DTResidualCalibration.h.
Referenced by beginRun(), bookHistos(), and fillHistos().
|
private |
Definition at line 69 of file DTResidualCalibration.h.
Referenced by bookHistos(), and fillHistos().
|
private |
Definition at line 57 of file DTResidualCalibration.h.
Referenced by bookHistos().
|
private |
Definition at line 45 of file DTResidualCalibration.h.
Referenced by analyze(), DTResidualCalibration(), and ~DTResidualCalibration().
|
private |
Definition at line 59 of file DTResidualCalibration.h.
Referenced by bookHistos().
|
private |
Definition at line 62 of file DTResidualCalibration.h.
Referenced by analyze(), bookHistos(), DTResidualCalibration(), and endJob().
|
private |
Definition at line 46 of file DTResidualCalibration.h.
Referenced by analyze(), DTResidualCalibration(), and ~DTResidualCalibration().
|
private |
Definition at line 58 of file DTResidualCalibration.h.
Referenced by analyze().
|
private |
Definition at line 46 of file DTResidualCalibration.h.
Referenced by analyze(), DTResidualCalibration(), and ~DTResidualCalibration().
|
private |
Definition at line 56 of file DTResidualCalibration.h.
Referenced by analyze(), DTResidualCalibration(), and ~DTResidualCalibration().