ATLAS Offline Software
Classes | Functions | Variables
TBPatternUnitHelper.h File Reference
#include "TBEvent/TBTriggerPatternUnit.h"
#include <string>
Include dependency graph for TBPatternUnitHelper.h:

Go to the source code of this file.

Classes

struct  TBPatternUnitContext
 

Functions

bool isParticle ()
 
bool isRandom ()
 
bool isPedestal ()
 
bool isMonitor ()
 
bool isCalib ()
 
bool hasS1 ()
 
bool hasS2 ()
 
bool hasS3 ()
 
bool hasVeto ()
 
bool hasTCFront ()
 
bool hasTCBack ()
 
bool hasMuon ()
 
bool hasFibre ()
 
bool hasLatePileUp ()
 
bool hasEarlyPileUp ()
 
bool hasCedar6of8 ()
 
bool hasCedar7of8 ()
 
bool hasCedar8of8 ()
 

Variables

struct TBPatternUnitContext S1 = 0
 
struct TBPatternUnitContext S2 = 1
 
struct TBPatternUnitContext S3 = 2
 
struct TBPatternUnitContext Veto = 3
 
struct TBPatternUnitContext TCFront = 4
 
struct TBPatternUnitContext TCBack = 5
 
struct TBPatternUnitContext Muon = 6
 
struct TBPatternUnitContext EarlyPileUp = 7
 
struct TBPatternUnitContext LatePileUp = 8
 
struct TBPatternUnitContext Unknown = 9 }
 

Function Documentation

◆ hasCedar6of8()

bool hasCedar6of8 ( )
inline

Definition at line 66 of file TBPatternUnitHelper.h.

67  { return ( m_triggerWord & 0x00002000 ) != 0; }

◆ hasCedar7of8()

bool hasCedar7of8 ( )
inline

Definition at line 68 of file TBPatternUnitHelper.h.

69  { return ( m_triggerWord & 0x00004000 ) != 0; }

◆ hasCedar8of8()

bool hasCedar8of8 ( )
inline

Definition at line 70 of file TBPatternUnitHelper.h.

71  { return ( m_triggerWord & 0x00008000 ) != 0; }

◆ hasEarlyPileUp()

bool hasEarlyPileUp ( )
inline

Definition at line 64 of file TBPatternUnitHelper.h.

65  { return ( m_triggerWord & 0x00001000 ) != 0; }

◆ hasFibre()

bool hasFibre ( )
inline

Definition at line 60 of file TBPatternUnitHelper.h.

61  { return ( m_triggerWord & 0x00000080 ) != 0; }

◆ hasLatePileUp()

bool hasLatePileUp ( )
inline

Definition at line 62 of file TBPatternUnitHelper.h.

63  { return ( m_triggerWord & 0x00000800 ) != 0; }

◆ hasMuon()

bool hasMuon ( )
inline

Definition at line 58 of file TBPatternUnitHelper.h.

59  { return ( m_triggerWord & 0x00000040 ) != 0; }

◆ hasS1()

bool hasS1 ( )
inline

Definition at line 46 of file TBPatternUnitHelper.h.

47  { return ( m_triggerWord & 0x00000001 ) != 0; }

◆ hasS2()

bool hasS2 ( )
inline

Definition at line 48 of file TBPatternUnitHelper.h.

49  { return ( m_triggerWord & 0x00000002 ) != 0; }

◆ hasS3()

bool hasS3 ( )
inline

Definition at line 50 of file TBPatternUnitHelper.h.

51  { return ( m_triggerWord & 0x00000004 ) != 0; }

◆ hasTCBack()

bool hasTCBack ( )

Definition at line 56 of file TBPatternUnitHelper.h.

57  { return ( m_triggerWord & 0x00000020 ) != 0; }

◆ hasTCFront()

bool hasTCFront ( )
inline

Definition at line 54 of file TBPatternUnitHelper.h.

55  { return ( m_triggerWord & 0x00000010 ) != 0; }

◆ hasVeto()

bool hasVeto ( )
inline

Definition at line 52 of file TBPatternUnitHelper.h.

53  { return ( m_triggerWord & 0x00000008 ) != 0; }

◆ isCalib()

bool isCalib ( )
inline

Definition at line 43 of file TBPatternUnitHelper.h.

43 { return this->isMonitor(); }

◆ isMonitor()

bool isMonitor ( )
inline

Definition at line 41 of file TBPatternUnitHelper.h.

42  { return ( m_triggerWord & 0x00000400 ) != 0; }

◆ isParticle()

bool isParticle ( )
inline

Definition at line 36 of file TBPatternUnitHelper.h.

37  { return ( m_triggerWord & 0x00000100 ) != 0; }

◆ isPedestal()

bool isPedestal ( )
inline

Definition at line 40 of file TBPatternUnitHelper.h.

40 { return this->isRandom(); }

◆ isRandom()

bool isRandom ( )
inline

Definition at line 38 of file TBPatternUnitHelper.h.

39  { return ( m_triggerWord & 0x00000200 ) != 0; }

Variable Documentation

◆ EarlyPileUp

struct TBPatternUnitContext EarlyPileUp = 7

◆ LatePileUp

struct TBPatternUnitContext LatePileUp = 8

◆ Muon

struct TBPatternUnitContext Muon = 6

◆ S1

struct TBPatternUnitContext S1 = 0

◆ S2

struct TBPatternUnitContext S2 = 1

◆ S3

struct TBPatternUnitContext S3 = 2

◆ TCBack

struct TBPatternUnitContext TCBack = 5

◆ TCFront

struct TBPatternUnitContext TCFront = 4

◆ Unknown

struct TBPatternUnitContext Unknown = 9 }

◆ Veto

struct TBPatternUnitContext Veto = 3
isRandom
bool isRandom()
Definition: TBPatternUnitHelper.h:38
isMonitor
bool isMonitor()
Definition: TBPatternUnitHelper.h:41