#include <DTTTrigOffsetCalibration.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
void | beginRun (const edm::Run &run, const edm::EventSetup &setup) |
DTTTrigOffsetCalibration (const edm::ParameterSet &pset) | |
void | endJob () |
virtual | ~DTTTrigOffsetCalibration () |
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< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Types | |
typedef std::map< DTChamberId, std::vector< TH1F * > > | ChamberHistosMap |
Private Member Functions | |
void | bookHistos (DTChamberId) |
Private Attributes | |
std::string | dbLabel_ |
bool | doTTrigCorrection_ |
TFile * | rootFile_ |
DTSegmentSelector | select_ |
std::string | theCalibChamber_ |
edm::InputTag | theRecHits4DLabel_ |
ChamberHistosMap | theT0SegHistoMap_ |
const DTTtrig * | tTrigMap_ |
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) |
No description available.
Definition at line 27 of file DTTTrigOffsetCalibration.h.
|
private |
Definition at line 39 of file DTTTrigOffsetCalibration.h.
DTTTrigOffsetCalibration::DTTTrigOffsetCalibration | ( | const edm::ParameterSet & | pset | ) |
Definition at line 37 of file DTTTrigOffsetCalibration.cc.
References edm::ParameterSet::getUntrackedParameter(), rootFile_, and DTAnalyzerDetailed_cfi::rootFileName.
|
virtual |
Definition at line 61 of file DTTTrigOffsetCalibration.cc.
References rootFile_.
void DTTTrigOffsetCalibration::analyze | ( | const edm::Event & | event, |
const edm::EventSetup & | eventSetup | ||
) |
Definition at line 66 of file DTTTrigOffsetCalibration.cc.
References bookHistos(), relativeConstraints::chamber, DTGeometry::chamber(), HcalObjRepresent::Fill(), edm::EventSetup::get(), LogTrace, rootFile_, select_, theCalibChamber_, theRecHits4DLabel_, theT0SegHistoMap_, and GeomDet::toGlobal().
void DTTTrigOffsetCalibration::beginRun | ( | const edm::Run & | run, |
const edm::EventSetup & | setup | ||
) |
Definition at line 52 of file DTTTrigOffsetCalibration.cc.
References dbLabel_, doTTrigCorrection_, edm::EventSetup::get(), tTrigMap_, and DTTtrig::version().
|
private |
Definition at line 179 of file DTTTrigOffsetCalibration.cc.
References plotFactory::histos, LogTrace, DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, theT0SegHistoMap_, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by analyze().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 132 of file DTTTrigOffsetCalibration.cc.
References doTTrigCorrection_, DTTtrig::get(), DTAnalyzerDetailed_cfi::kFactor, DTTimeUnits::ns, rootFile_, DTTtrig::set(), DTChamberId::station(), theT0SegHistoMap_, tTrigMap_, and DTCalibDBUtils::writeToDB().
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 47 of file DTTTrigOffsetCalibration.h.
Referenced by beginRun().
|
private |
Definition at line 45 of file DTTTrigOffsetCalibration.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 49 of file DTTTrigOffsetCalibration.h.
Referenced by analyze(), DTTTrigOffsetCalibration(), endJob(), and ~DTTTrigOffsetCalibration().
|
private |
Definition at line 42 of file DTTTrigOffsetCalibration.h.
Referenced by analyze().
|
private |
Definition at line 46 of file DTTTrigOffsetCalibration.h.
Referenced by analyze().
|
private |
Definition at line 44 of file DTTTrigOffsetCalibration.h.
Referenced by analyze().
|
private |
Definition at line 51 of file DTTTrigOffsetCalibration.h.
Referenced by analyze(), bookHistos(), and endJob().
|
private |
Definition at line 50 of file DTTTrigOffsetCalibration.h.
Referenced by beginRun(), and endJob().