BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TTrigData Class Reference

#include <TTrigData.h>

+ Inheritance diagram for TTrigData:

Public Member Functions

 TTrigData ()
 
virtual ~TTrigData ()
 
void Clear (Option_t *option="")
 
void Print (Option_t *option="") const
 
void setTrigCondition (int i, int j)
 
void setTrigCondition (const int *cond)
 
void setTrigChannel (int i, int j)
 
void setTrigChannel (const int *chan)
 
void setTimeWindow (int i)
 
void setTimingType (int i)
 
void setPreScale (bool i)
 
int getTrigCondition (int i) const
 
const int * getTrigCondition () const
 
int getTrigChannel (int i) const
 
const int * getTrigChannel () const
 
int getTimeWindow () const
 
int getTimingType () const
 
bool getPreScale () const
 

Detailed Description

Definition at line 8 of file TTrigData.h.

Constructor & Destructor Documentation

◆ TTrigData()

TTrigData::TTrigData ( )

◆ ~TTrigData()

TTrigData::~TTrigData ( )
virtual

Definition at line 13 of file TTrigData.cxx.

14{
15}

Member Function Documentation

◆ Clear()

void TTrigData::Clear ( Option_t *  option = "")

Definition at line 17 of file TTrigData.cxx.

18{
19}

Referenced by ClassImp(), and TTrigEvent::clearTrigData().

◆ getPreScale()

bool TTrigData::getPreScale ( ) const
inline

Definition at line 35 of file TTrigData.h.

35{ return m_preScale; }

Referenced by TrigDataCnv::TObjectToDataObject().

◆ getTimeWindow()

int TTrigData::getTimeWindow ( ) const
inline

Definition at line 33 of file TTrigData.h.

33{ return m_timeWindow; }

Referenced by TrigDataCnv::TObjectToDataObject().

◆ getTimingType()

int TTrigData::getTimingType ( ) const
inline

Definition at line 34 of file TTrigData.h.

34{ return m_Timing; }

Referenced by BesEvent::SetEvent(), and TrigDataCnv::TObjectToDataObject().

◆ getTrigChannel() [1/2]

const int * TTrigData::getTrigChannel ( ) const
inline

Definition at line 32 of file TTrigData.h.

32{ return m_trigChan; }

◆ getTrigChannel() [2/2]

int TTrigData::getTrigChannel ( int  i) const
inline

Definition at line 31 of file TTrigData.h.

31{ return m_trigChan[i]; }

Referenced by BesEvent::SetEvent(), and TrigDataCnv::TObjectToDataObject().

◆ getTrigCondition() [1/2]

const int * TTrigData::getTrigCondition ( ) const
inline

Definition at line 30 of file TTrigData.h.

30{ return m_trigcond; }

◆ getTrigCondition() [2/2]

int TTrigData::getTrigCondition ( int  i) const
inline

Definition at line 29 of file TTrigData.h.

29{ return m_trigcond[i]; }

Referenced by BesEvent::SetEvent(), and TrigDataCnv::TObjectToDataObject().

◆ Print()

void TTrigData::Print ( Option_t *  option = "") const

Definition at line 21 of file TTrigData.cxx.

21 {
22 TObject::Print(option);
23}

◆ setPreScale()

void TTrigData::setPreScale ( bool  i)
inline

Definition at line 26 of file TTrigData.h.

26{ m_preScale = i; }

Referenced by TrigDataCnv::DataObjectToTObject().

◆ setTimeWindow()

void TTrigData::setTimeWindow ( int  i)
inline

Definition at line 24 of file TTrigData.h.

24{ m_timeWindow = i; }

Referenced by TrigDataCnv::DataObjectToTObject().

◆ setTimingType()

void TTrigData::setTimingType ( int  i)
inline

Definition at line 25 of file TTrigData.h.

25{ m_Timing = i; }

Referenced by TrigDataCnv::DataObjectToTObject().

◆ setTrigChannel() [1/2]

void TTrigData::setTrigChannel ( const int *  chan)
inline

Definition at line 23 of file TTrigData.h.

23{ for(int i = 0; i < 16; i++) m_trigChan[i] = chan[i]; }

◆ setTrigChannel() [2/2]

void TTrigData::setTrigChannel ( int  i,
int  j 
)
inline

Definition at line 22 of file TTrigData.h.

22{ m_trigChan[i] = j; }

Referenced by TrigDataCnv::DataObjectToTObject().

◆ setTrigCondition() [1/2]

void TTrigData::setTrigCondition ( const int *  cond)
inline

Definition at line 21 of file TTrigData.h.

21{ for(int i = 0; i < 48; i++) m_trigcond[i] = cond[i]; }

◆ setTrigCondition() [2/2]

void TTrigData::setTrigCondition ( int  i,
int  j 
)
inline

Definition at line 20 of file TTrigData.h.

20{ m_trigcond[i] = j; }

Referenced by TrigDataCnv::DataObjectToTObject().


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