ATLAS Offline Software
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 
6 
7 #include <vector>
8 
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 
20  if(it!=m_mapRampSteps.end()) {
21  (it->second).addEvent(energy);
22  }
23 }
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
L1CaloRampCumul.h
L1CaloRampRunPlan
Transient class defining ramps runplan objects defined by the online framework and retrieved from COO...
Definition: L1CaloRampRunPlan.h:21
L1CaloRampCumul::m_mapRampSteps
std::map< double, RampStep > m_mapRampSteps
Definition: L1CaloRampCumul.h:76
skel.it
it
Definition: skel.GENtoEVGEN.py:396
L1CaloRampCumul::addEvent
void addEvent(double step, int energy)
Definition: L1CaloRampCumul.cxx:18
L1CaloRampCumul::RampStep
Definition: L1CaloRampCumul.h:31
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
L1CaloRampRunPlan::energySteps
const std::vector< double > & energySteps() const
Definition: L1CaloRampRunPlan.h:35
L1CaloRampCumul::L1CaloRampCumul
L1CaloRampCumul()
Definition: L1CaloRampCumul.h:23
LArCellBinning.step
step
Definition: LArCellBinning.py:158