ATLAS Offline Software
Loading...
Searching...
No Matches
LArOFCAlg::Looper Class Reference
Collaboration diagram for LArOFCAlg::Looper:

Public Member Functions

 Looper (std::vector< perChannelData_t > *p, const LArOnOffIdMapping *cabling, const LArOFCAlg *a)
void operator() (tbb::blocked_range< size_t > &r) const

Private Attributes

std::vector< perChannelData_t > * m_perChanData
const LArOnOffIdMappingm_cabling
const LArOFCAlgm_ofcAlg

Detailed Description

Definition at line 186 of file LArOFCAlg.h.

Constructor & Destructor Documentation

◆ Looper()

LArOFCAlg::Looper::Looper ( std::vector< perChannelData_t > * p,
const LArOnOffIdMapping * cabling,
const LArOFCAlg * a )
inline

Definition at line 189 of file LArOFCAlg.h.

189: m_perChanData(p), m_cabling(cabling), m_ofcAlg(a) {};
static Double_t a
const LArOFCAlg * m_ofcAlg
Definition LArOFCAlg.h:198
std::vector< perChannelData_t > * m_perChanData
Definition LArOFCAlg.h:196
const LArOnOffIdMapping * m_cabling
Definition LArOFCAlg.h:197

Member Function Documentation

◆ operator()()

void LArOFCAlg::Looper::operator() ( tbb::blocked_range< size_t > & r) const
inline

Definition at line 190 of file LArOFCAlg.h.

190 {
191 for (size_t i=r.begin();i!=r.end();++i) {
192 m_ofcAlg->process(m_perChanData->at(i),m_cabling);
193 }
194 }
int r
Definition globals.cxx:22

Member Data Documentation

◆ m_cabling

const LArOnOffIdMapping* LArOFCAlg::Looper::m_cabling
private

Definition at line 197 of file LArOFCAlg.h.

◆ m_ofcAlg

const LArOFCAlg* LArOFCAlg::Looper::m_ofcAlg
private

Definition at line 198 of file LArOFCAlg.h.

◆ m_perChanData

std::vector<perChannelData_t>* LArOFCAlg::Looper::m_perChanData
private

Definition at line 196 of file LArOFCAlg.h.


The documentation for this class was generated from the following file: