ATLAS Offline Software
Loading...
Searching...
No Matches
LArTTL1 Class Referencefinal

Liquid Argon TT L1 sum class. More...

#include <LArTTL1.h>

Collaboration diagram for LArTTL1:

Public Member Functions

 LArTTL1 (const HWIdentifier &onlineId, const Identifier &offlineId, const std::vector< float > &sampleValues)
 Constructor

Beware that sampleValues is a reference to a STL vector of float's
which is filled by a series of push_back calls .
const HWIdentifierttOnlineID () const
 return LArTTChannelID (online Id)
const IdentifierttOfflineID () const
 return TT offline Identifier
short nsamples () const
 return number of samples
const std::vector< float > & samples () const
 return a reference to a stl vector containing the sample values
 ~LArTTL1 ()=default
 Destructor.
 LArTTL1 ()=default
 default constructor for persistency

Private Attributes

HWIdentifier m_onlineId
 online Id
Identifier m_offlineId
 offline Id (CaloLVL1_ID)
std::vector< float > m_samples
 vector of samples

Detailed Description

Liquid Argon TT L1 sum class.

It's a TES object which is readonly

Author
Fabienne Ledroit

sampleValues contains 7 samplings.

Definition at line 29 of file LArTTL1.h.

Constructor & Destructor Documentation

◆ LArTTL1() [1/2]

LArTTL1::LArTTL1 ( const HWIdentifier & onlineId,
const Identifier & offlineId,
const std::vector< float > & sampleValues )

Constructor

Beware that sampleValues is a reference to a STL vector of float's
which is filled by a series of push_back calls .


Using another construction method of this vector will fail .
Now carries both online and offline Id. One is to be removed when we decide which one

Definition at line 7 of file LArTTL1.cxx.

7 :
8 m_onlineId(onlineId) ,
9 m_offlineId(offlineId) ,
10 m_samples(sampleValues)
11 { }
std::vector< float > m_samples
vector of samples
Definition LArTTL1.h:68
Identifier m_offlineId
offline Id (CaloLVL1_ID)
Definition LArTTL1.h:65
HWIdentifier m_onlineId
online Id
Definition LArTTL1.h:62

◆ ~LArTTL1()

LArTTL1::~LArTTL1 ( )
default

Destructor.

◆ LArTTL1() [2/2]

LArTTL1::LArTTL1 ( )
default

default constructor for persistency

Member Function Documentation

◆ nsamples()

short LArTTL1::nsamples ( ) const

return number of samples

Definition at line 22 of file LArTTL1.cxx.

23{ return m_samples.size(); }

◆ samples()

const std::vector< float > & LArTTL1::samples ( ) const

return a reference to a stl vector containing the sample values

Definition at line 26 of file LArTTL1.cxx.

27{ return m_samples; }

◆ ttOfflineID()

const Identifier & LArTTL1::ttOfflineID ( ) const

return TT offline Identifier

Definition at line 18 of file LArTTL1.cxx.

19{ return m_offlineId; }

◆ ttOnlineID()

const HWIdentifier & LArTTL1::ttOnlineID ( ) const

return LArTTChannelID (online Id)

Definition at line 14 of file LArTTL1.cxx.

15{ return m_onlineId; }

Member Data Documentation

◆ m_offlineId

Identifier LArTTL1::m_offlineId
private

offline Id (CaloLVL1_ID)

Definition at line 65 of file LArTTL1.h.

◆ m_onlineId

HWIdentifier LArTTL1::m_onlineId
private

online Id

Definition at line 62 of file LArTTL1.h.

◆ m_samples

std::vector<float> LArTTL1::m_samples
private

vector of samples

Definition at line 68 of file LArTTL1.h.


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