ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LVL1CTP::Lvl1Item Class Reference

#include <Lvl1Item.h>

Collaboration diagram for LVL1CTP::Lvl1Item:

Public Member Functions

 Lvl1Item (const std::string &n, unsigned int hash, bool passBP=false, bool passAP=true, bool passAV=true, float factor=1)
 
const std::string & name () const
 
unsigned int hashId () const
 
bool isPassedBeforePrescale () const
 
bool isPassedAfterPrescale () const
 
bool isPassedAfterVeto () const
 
bool isPassed () const
 
bool isPrescaled () const
 
bool isVeto () const
 
float prescaleFactor () const
 
void setName (const std::string &name)
 
void setHashId (unsigned int hash)
 
void setPrescaleFactor (float factor)
 

Private Attributes

std::string m_name
 
unsigned int m_hashId
 
bool m_passBP
 
bool m_passAP
 
bool m_passAV
 
float m_prescaleFactor
 

Detailed Description

Definition at line 37 of file Lvl1Item.h.

Constructor & Destructor Documentation

◆ Lvl1Item()

LVL1CTP::Lvl1Item::Lvl1Item ( const std::string &  n,
unsigned int  hash,
bool  passBP = false,
bool  passAP = true,
bool  passAV = true,
float  factor = 1 
)
inline

Definition at line 41 of file Lvl1Item.h.

42  :
43  m_name(n), m_hashId(hash), m_passBP(passBP), m_passAP(passAP), m_passAV(passAV),
44  m_prescaleFactor(factor) {}

Member Function Documentation

◆ hashId()

unsigned int LVL1CTP::Lvl1Item::hashId ( ) const
inline

Definition at line 47 of file Lvl1Item.h.

47 { return m_hashId; }

◆ isPassed()

bool LVL1CTP::Lvl1Item::isPassed ( ) const
inline

Definition at line 53 of file Lvl1Item.h.

53 { return isPassedAfterVeto(); }

◆ isPassedAfterPrescale()

bool LVL1CTP::Lvl1Item::isPassedAfterPrescale ( ) const
inline

Definition at line 50 of file Lvl1Item.h.

50 { return m_passAP; }

◆ isPassedAfterVeto()

bool LVL1CTP::Lvl1Item::isPassedAfterVeto ( ) const
inline

Definition at line 51 of file Lvl1Item.h.

51 { return m_passAV; }

◆ isPassedBeforePrescale()

bool LVL1CTP::Lvl1Item::isPassedBeforePrescale ( ) const
inline

Definition at line 49 of file Lvl1Item.h.

49 { return m_passBP; }

◆ isPrescaled()

bool LVL1CTP::Lvl1Item::isPrescaled ( ) const
inline

Definition at line 55 of file Lvl1Item.h.

◆ isVeto()

bool LVL1CTP::Lvl1Item::isVeto ( ) const
inline

Definition at line 56 of file Lvl1Item.h.

56 { return isPassedAfterPrescale() && ! isPassedAfterVeto(); }

◆ name()

const std::string& LVL1CTP::Lvl1Item::name ( ) const
inline

Definition at line 46 of file Lvl1Item.h.

46 { return m_name; }

◆ prescaleFactor()

float LVL1CTP::Lvl1Item::prescaleFactor ( ) const
inline

Definition at line 58 of file Lvl1Item.h.

58 { return m_prescaleFactor; }

◆ setHashId()

void LVL1CTP::Lvl1Item::setHashId ( unsigned int  hash)
inline

Definition at line 61 of file Lvl1Item.h.

61 { m_hashId = hash; }

◆ setName()

void LVL1CTP::Lvl1Item::setName ( const std::string &  name)
inline

Definition at line 60 of file Lvl1Item.h.

60 { m_name = name; }

◆ setPrescaleFactor()

void LVL1CTP::Lvl1Item::setPrescaleFactor ( float  factor)
inline

Definition at line 62 of file Lvl1Item.h.

62 { m_prescaleFactor = factor; }

Member Data Documentation

◆ m_hashId

unsigned int LVL1CTP::Lvl1Item::m_hashId
private

Definition at line 67 of file Lvl1Item.h.

◆ m_name

std::string LVL1CTP::Lvl1Item::m_name
private

Definition at line 66 of file Lvl1Item.h.

◆ m_passAP

bool LVL1CTP::Lvl1Item::m_passAP
private

Definition at line 68 of file Lvl1Item.h.

◆ m_passAV

bool LVL1CTP::Lvl1Item::m_passAV
private

Definition at line 68 of file Lvl1Item.h.

◆ m_passBP

bool LVL1CTP::Lvl1Item::m_passBP
private

Definition at line 68 of file Lvl1Item.h.

◆ m_prescaleFactor

float LVL1CTP::Lvl1Item::m_prescaleFactor
private

Definition at line 69 of file Lvl1Item.h.


The documentation for this class was generated from the following file:
LVL1CTP::Lvl1Item::m_hashId
unsigned int m_hashId
Definition: Lvl1Item.h:67
LVL1CTP::Lvl1Item::m_name
std::string m_name
Definition: Lvl1Item.h:66
LVL1CTP::Lvl1Item::m_passAP
bool m_passAP
Definition: Lvl1Item.h:68
LVL1CTP::Lvl1Item::isPassedAfterPrescale
bool isPassedAfterPrescale() const
Definition: Lvl1Item.h:50
beamspotman.n
n
Definition: beamspotman.py:731
LVL1CTP::Lvl1Item::m_passBP
bool m_passBP
Definition: Lvl1Item.h:68
LVL1CTP::Lvl1Item::m_passAV
bool m_passAV
Definition: Lvl1Item.h:68
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
LVL1CTP::Lvl1Item::isPassedAfterVeto
bool isPassedAfterVeto() const
Definition: Lvl1Item.h:51
LVL1CTP::Lvl1Item::isPassedBeforePrescale
bool isPassedBeforePrescale() const
Definition: Lvl1Item.h:49
LVL1CTP::Lvl1Item::m_prescaleFactor
float m_prescaleFactor
Definition: Lvl1Item.h:69
LVL1CTP::Lvl1Item::name
const std::string & name() const
Definition: Lvl1Item.h:46