|
const_iterator | begin () const |
|
void | clear () |
| reset content More...
|
|
| DTPerformance () |
|
| DTPerformance (const std::string &version) |
|
const_iterator | end () const |
|
int | get (const DTSuperLayerId &id, float &meanT0, float &meanTtrig, float &meanMtime, float &meanNoise, float &meanAfterPulse, float &meanResolution, float &meanEfficiency, DTTimeUnits::type unit) const |
|
int | get (int wheelId, int stationId, int sectorId, int slId, float &meanT0, float &meanTtrig, float &meanMtime, float &meanNoise, float &meanAfterPulse, float &meanResolution, float &meanEfficiency, DTTimeUnits::type unit) const |
|
void | initialize () |
|
int | set (const DTSuperLayerId &id, float meanT0, float meanTtrig, float meanMtime, float meanNoise, float meanAfterPulse, float meanResolution, float meanEfficiency, DTTimeUnits::type unit) |
|
int | set (int wheelId, int stationId, int sectorId, int slId, float meanT0, float meanTtrig, float meanMtime, float meanNoise, float meanAfterPulse, float meanResolution, float meanEfficiency, DTTimeUnits::type unit) |
|
int | setSLPerformance (const DTSuperLayerId &id, float meanT0, float meanTtrig, float meanMtime, float meanNoise, float meanAfterPulse, float meanResolution, float meanEfficiency, DTTimeUnits::type unit) |
|
int | setSLPerformance (int wheelId, int stationId, int sectorId, int slId, float meanT0, float meanTtrig, float meanMtime, float meanNoise, float meanAfterPulse, float meanResolution, float meanEfficiency, DTTimeUnits::type unit) |
|
void | setUnit (float unit) |
|
int | slPerformance (const DTSuperLayerId &id, float &meanT0, float &meanTtrig, float &meanMtime, float &meanNoise, float &meanAfterPulse, float &meanResolution, float &meanEfficiency, DTTimeUnits::type unit) const |
|
int | slPerformance (int wheelId, int stationId, int sectorId, int slId, float &meanT0, float &meanTtrig, float &meanMtime, float &meanNoise, float &meanAfterPulse, float &meanResolution, float &meanEfficiency, DTTimeUnits::type unit) const |
| get content More...
|
|
float | unit () const |
|
std::string & | version () |
|
const std::string & | version () const |
| access version More...
|
|
| ~DTPerformance () |
|
Description: Class to hold drift tubes performances ( SL by SL )
- Author
- Paolo Ronchese INFN Padova
Definition at line 68 of file DTPerformance.h.
int DTPerformance::get |
( |
int |
wheelId, |
|
|
int |
stationId, |
|
|
int |
sectorId, |
|
|
int |
slId, |
|
|
float & |
meanT0, |
|
|
float & |
meanTtrig, |
|
|
float & |
meanMtime, |
|
|
float & |
meanNoise, |
|
|
float & |
meanAfterPulse, |
|
|
float & |
meanResolution, |
|
|
float & |
meanEfficiency, |
|
|
DTTimeUnits::type |
unit |
|
) |
| const |
Definition at line 63 of file DTPerformance.cc.
75 meanT0 = meanTtrig = meanMtime = meanNoise = meanAfterPulse = meanResolution = meanEfficiency = 0.0;
77 std::vector<int> chanKey;
79 chanKey.push_back(wheelId);
80 chanKey.push_back(stationId);
81 chanKey.push_back(sectorId);
82 chanKey.push_back(slId);
86 int searchStatus = constDBuf->
find(chanKey.begin(), chanKey.end(), ientry);
90 meanTtrig =
data.meanTtrig;
91 meanMtime =
data.meanMtime;
92 meanNoise =
data.meanNoise;
93 meanAfterPulse =
data.meanAfterPulse;
94 meanResolution =
data.meanResolution;
95 meanEfficiency =
data.meanEfficiency;
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTTimeUnits::ns, nsPerCount, edm::second(), and unit().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), slPerformance(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
int DTPerformance::set |
( |
int |
wheelId, |
|
|
int |
stationId, |
|
|
int |
sectorId, |
|
|
int |
slId, |
|
|
float |
meanT0, |
|
|
float |
meanTtrig, |
|
|
float |
meanMtime, |
|
|
float |
meanNoise, |
|
|
float |
meanAfterPulse, |
|
|
float |
meanResolution, |
|
|
float |
meanEfficiency, |
|
|
DTTimeUnits::type |
unit |
|
) |
| |
Definition at line 141 of file DTPerformance.cc.
159 std::vector<int> chanKey;
161 chanKey.push_back(wheelId);
162 chanKey.push_back(stationId);
163 chanKey.push_back(sectorId);
164 chanKey.push_back(slId);
166 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
170 data.meanT0 = meanT0;
171 data.meanTtrig = meanTtrig;
172 data.meanMtime = meanMtime;
173 data.meanNoise = meanNoise;
174 data.meanAfterPulse = meanAfterPulse;
175 data.meanResolution = meanResolution;
176 data.meanEfficiency = meanEfficiency;
180 key.wheelId = wheelId;
181 key.stationId = stationId;
182 key.sectorId = sectorId;
185 data.meanT0 = meanT0;
186 data.meanTtrig = meanTtrig;
187 data.meanMtime = meanMtime;
188 data.meanNoise = meanNoise;
189 data.meanAfterPulse = meanAfterPulse;
190 data.meanResolution = meanResolution;
191 data.meanEfficiency = meanEfficiency;
193 dataList.push_back(std::pair<DTPerformanceId, DTPerformanceData>(
key,
data));
194 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), crabWrapper::key, DTTimeUnits::ns, nsPerCount, edm::second(), and unit().
Referenced by DTPerformanceHandler::getNewObjects(), set(), and setSLPerformance().