ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloCalibConditions
src
L1CaloRampCumul.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigT1CaloCalibConditions/L1CaloRampCumul.h
"
6
7
#include <vector>
8
9
L1CaloRampCumul::L1CaloRampCumul
(
L1CaloRampRunPlan
* pRampRunPlan) {
10
std::vector<double> vSteps = pRampRunPlan->
energySteps
();
11
std::vector<double>::iterator it = vSteps.begin();
12
for
(;it!=vSteps.end();++it) {
13
RampStep
rampStep(*it);
14
m_mapRampSteps
[*it]=rampStep;
15
}
16
}
17
18
void
L1CaloRampCumul::addEvent
(
double
step,
int
energy) {
19
std::map<double, RampStep>::iterator it =
m_mapRampSteps
.find(step);
20
if
(it!=
m_mapRampSteps
.end()) {
21
(it->second).
addEvent
(energy);
22
}
23
}
L1CaloRampCumul.h
L1CaloRampCumul::RampStep
Definition
L1CaloRampCumul.h:31
L1CaloRampCumul::addEvent
void addEvent(double step, int energy)
Definition
L1CaloRampCumul.cxx:18
L1CaloRampCumul::m_mapRampSteps
std::map< double, RampStep > m_mapRampSteps
Definition
L1CaloRampCumul.h:76
L1CaloRampCumul::L1CaloRampCumul
L1CaloRampCumul()
Definition
L1CaloRampCumul.h:23
L1CaloRampRunPlan
Transient class defining ramps runplan objects defined by the online framework and retrieved from COO...
Definition
L1CaloRampRunPlan.h:21
L1CaloRampRunPlan::energySteps
const std::vector< double > & energySteps() const
Definition
L1CaloRampRunPlan.h:35
Generated on
for ATLAS Offline Software by
1.14.0