ATLAS Offline Software
Classes | Public Member Functions | Private Attributes | List of all members
L1CaloRampCumul Class Referencefinal

Class to store intermediate ramp data for the L1CaloRampMaker algorithm. More...

#include <L1CaloRampCumul.h>

Collaboration diagram for L1CaloRampCumul:

Classes

class  RampStep
 

Public Member Functions

 L1CaloRampCumul ()
 
 L1CaloRampCumul (L1CaloRampRunPlan *pRampRunPlan)
 
 ~L1CaloRampCumul ()=default
 
void addEvent (double step, int energy)
 

Private Attributes

std::map< double, RampStepm_mapRampSteps
 

Detailed Description

Class to store intermediate ramp data for the L1CaloRampMaker algorithm.

Author
Damien Prieur damie.nosp@m.n.pr.nosp@m.ieur@.nosp@m.cern.nosp@m..ch

Definition at line 20 of file L1CaloRampCumul.h.

Constructor & Destructor Documentation

◆ L1CaloRampCumul() [1/2]

L1CaloRampCumul::L1CaloRampCumul ( )
inline

Definition at line 23 of file L1CaloRampCumul.h.

23 {};

◆ L1CaloRampCumul() [2/2]

L1CaloRampCumul::L1CaloRampCumul ( L1CaloRampRunPlan pRampRunPlan)

Definition at line 9 of file L1CaloRampCumul.cxx.

9  {
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 }

◆ ~L1CaloRampCumul()

L1CaloRampCumul::~L1CaloRampCumul ( )
default

Member Function Documentation

◆ addEvent()

void L1CaloRampCumul::addEvent ( double  step,
int  energy 
)

Definition at line 18 of file L1CaloRampCumul.cxx.

18  {
20  if(it!=m_mapRampSteps.end()) {
21  (it->second).addEvent(energy);
22  }
23 }

Member Data Documentation

◆ m_mapRampSteps

std::map<double, RampStep> L1CaloRampCumul::m_mapRampSteps
private

Definition at line 76 of file L1CaloRampCumul.h.


The documentation for this class was generated from the following files:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
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
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
LArCellBinning.step
step
Definition: LArCellBinning.py:158