#include <DTRecoUncertainties.h>
Public Types | |
typedef std::map< uint32_t, std::vector< float > >::const_iterator | const_iterator |
Access methods to data. More... | |
Public Member Functions | |
const_iterator | begin () const |
DTRecoUncertainties () | |
Constructor. More... | |
const_iterator | end () const |
float | get (const DTWireId &wireid, unsigned int index) const |
get the uncertainties for the SL correspoding to the given WireId and for the correct step as defined by the algorithm More... | |
void | set (const DTWireId &wireid, const std::vector< float > &values) |
fills the map More... | |
void | setVersion (int version) |
int | version () const |
virtual | ~DTRecoUncertainties () |
Destructor. More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::map< uint32_t, std::vector< float > > | payload |
int | theVersion |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
DB object for storing DT hit uncertatinties.
Definition at line 20 of file DTRecoUncertainties.h.
typedef std::map<uint32_t, std::vector<float> >::const_iterator DTRecoUncertainties::const_iterator |
Access methods to data.
Definition at line 47 of file DTRecoUncertainties.h.
DTRecoUncertainties::DTRecoUncertainties | ( | ) |
|
virtual |
DTRecoUncertainties::const_iterator DTRecoUncertainties::begin | ( | void | ) | const |
Definition at line 47 of file DTRecoUncertainties.cc.
References payload.
DTRecoUncertainties::const_iterator DTRecoUncertainties::end | ( | void | ) | const |
Definition at line 51 of file DTRecoUncertainties.cc.
References payload.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
float DTRecoUncertainties::get | ( | const DTWireId & | wireid, |
unsigned int | index | ||
) | const |
get the uncertainties for the SL correspoding to the given WireId and for the correct step as defined by the algorithm
Definition at line 23 of file DTRecoUncertainties.cc.
References gather_cfg::cout, payload, DetId::rawId(), and DTLayerId::superlayerId().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), DTLinearDriftFromDBAlgo::compute(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
private |
void DTRecoUncertainties::set | ( | const DTWireId & | wireid, |
const std::vector< float > & | values | ||
) |
fills the map
Definition at line 42 of file DTRecoUncertainties.cc.
References payload, DTLayerId::superlayerId(), and makeHLTPrescaleTable::values.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
|
inline |
Label specifying the structure of the payload; currently supported: "uniformPerStep" (uniform uncertainties per SL and step; index 0-3 = uncertainties for steps 1-4 in cm)
Definition at line 34 of file DTRecoUncertainties.h.
References theVersion.
Referenced by validation.Sample::datasetpattern(), validation.Sample::filename(), DTLinearDriftFromDBAlgo::setES(), and setVersion().
|
friend |
Definition at line 59 of file DTRecoUncertainties.h.
|
friend |
Definition at line 59 of file DTRecoUncertainties.h.
|
private |
|
private |
Definition at line 57 of file DTRecoUncertainties.h.
Referenced by setVersion(), and version().