#include <DTVDriftCalibration.h>
Classes | |
class | cellInfo |
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
DTVDriftCalibration (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endJob () |
virtual | ~DTVDriftCalibration () |
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< ConsumesInfo > | consumesInfo () 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 (const std::string &iProcessName, std::vector< const char * > &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 DTTMax::TMax | TMax |
enum | TMaxGranularity { byChamber, bySL, byPartition } |
Private Attributes | |
bool | debug |
std::string | digiLabel |
bool | findVDriftAndT0 |
h2DSegm * | h2DSegmRPhi |
h2DSegm * | h2DSegmRZ |
h4DSegm * | h4DSegmAllCh |
DTSegmentSelector | select_ |
std::string | theCalibChamber |
edm::ParameterSet | theCalibFilePar |
TFile * | theFile |
DTMeanTimerFitter * | theFitter |
TMaxGranularity | theGranularity |
edm::InputTag | theRecHits4DLabel |
DTTTrigBaseSync * | theSync |
std::string | theVDriftOutputFile |
std::map< DTWireId, cellInfo * > | theWireIdAndCellMap |
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 33 of file DTVDriftCalibration.h.
|
private |
Definition at line 54 of file DTVDriftCalibration.h.
|
private |
DTVDriftCalibration::DTVDriftCalibration | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 48 of file DTVDriftCalibration.cc.
References bookHistos(), byChamber, byPartition, bySL, debug, edm::hlt::Exception, findVDriftAndT0, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), h2DSegmRPhi, h2DSegmRZ, h4DSegmAllCh, hChi2, dtT0Analyzer_cfg::rootFileName, theCalibChamber, theCalibFilePar, theFile, theFitter, theGranularity, theRecHits4DLabel, theSync, and theVDriftOutputFile.
|
virtual |
Destructor.
Definition at line 107 of file DTVDriftCalibration.cc.
References theFile, and theFitter.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 113 of file DTVDriftCalibration.cc.
References DTVDriftCalibration::cellInfo::add(), bySL, DTChamberId, h4DSegm::Fill(), h2DSegm::Fill(), edm::EventSetup::get(), DTTMax::getTMax(), h2DSegmRPhi, h2DSegmRZ, h4DSegmAllCh, hChi2, DTRecSegment2D::localDirection(), DTRecSegment2D::localPosition(), LogTrace, python.multivaluedict::map(), mergeVDriftHistosByStation::name, Geom::pi(), DTChamberId::sector(), select_, DTTTrigBaseSync::setES(), DTRecSegment2D::specificRecHits(), DTChamberId::station(), DTSuperLayerId::superLayer(), DTChamber::superLayer(), DTSLRecSegment2D::superLayerId(), DTLayerId::superlayerId(), theCalibChamber, theFile, theGranularity, theRecHits4DLabel, theSync, PV3DBase< T, PVType, FrameType >::theta(), theWireIdAndCellMap, GeomDet::toGlobal(), GeomDet::toLocal(), DTVDriftCalibration::cellInfo::update(), DTChamberId::wheel(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 275 of file DTVDriftCalibration.cc.
References DTCalibrationMap::addCell(), bySL, DTVelocityUnits::cm_per_ns, DTMeanTimerFitter::evaluateVDriftAndReso(), findVDriftAndT0, DTCalibrationMap::getConsts(), DTVDriftCalibration::cellInfo::getHists(), DTCalibrationMap::getKey(), h2DSegmRPhi, h2DSegmRZ, h4DSegmAllCh, hChi2, DTWireId::layerId(), LogTrace, N, record, DTChamberId::sector(), DTMtime::set(), DTChamberId::station(), DTSuperLayerId::superLayer(), theCalibFilePar, theFile, theFitter, theGranularity, theVDriftOutputFile, theWireIdAndCellMap, DTChamberId::wheel(), h4DSegm::Write(), h2DSegm::Write(), hTMaxCell::Write(), and DTCalibrationMap::writeConsts().
|
private |
Definition at line 94 of file DTVDriftCalibration.h.
Referenced by rrapi.RRApi::dprint(), DTVDriftCalibration(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), and pkg.AbstractPkg::write().
|
private |
Definition at line 97 of file DTVDriftCalibration.h.
|
private |
Definition at line 107 of file DTVDriftCalibration.h.
Referenced by DTVDriftCalibration(), and endJob().
|
private |
Definition at line 80 of file DTVDriftCalibration.h.
Referenced by analyze(), DTVDriftCalibration(), and endJob().
|
private |
Definition at line 79 of file DTVDriftCalibration.h.
Referenced by analyze(), DTVDriftCalibration(), and endJob().
|
private |
Definition at line 81 of file DTVDriftCalibration.h.
Referenced by analyze(), DTVDriftCalibration(), and endJob().
|
private |
Definition at line 51 of file DTVDriftCalibration.h.
Referenced by analyze().
|
private |
Definition at line 134 of file DTVDriftCalibration.h.
Referenced by analyze(), and DTVDriftCalibration().
|
private |
Definition at line 122 of file DTVDriftCalibration.h.
Referenced by DTVDriftCalibration(), and endJob().
|
private |
Definition at line 100 of file DTVDriftCalibration.h.
Referenced by analyze(), DTVDriftCalibration(), endJob(), and ~DTVDriftCalibration().
|
private |
Definition at line 103 of file DTVDriftCalibration.h.
Referenced by DTVDriftCalibration(), endJob(), and ~DTVDriftCalibration().
|
private |
Definition at line 88 of file DTVDriftCalibration.h.
Referenced by analyze(), DTVDriftCalibration(), and endJob().
|
private |
Definition at line 91 of file DTVDriftCalibration.h.
Referenced by analyze(), and DTVDriftCalibration().
|
private |
Definition at line 119 of file DTVDriftCalibration.h.
Referenced by analyze(), and DTVDriftCalibration().
|
private |
Definition at line 110 of file DTVDriftCalibration.h.
Referenced by DTVDriftCalibration(), and endJob().