BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigData Class Reference

#include <TrigData.h>

Inheritance diagram for TrigData:

Public Member Functions

 TrigData ()
 TrigData (int window, int timing, const int *trigCond, const int *trigChan, bool preScale)
virtual ~TrigData ()
virtual const CLID & clID () 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)
const std::string getTrigCondName (int i) const
const int getTrigCondition (int i) const
const int * getTrigCondition () const
const int getTrigChannel (int i) const
const int * getTrigChannel () const
const int getTimeWindow () const
const int getTimingType () const
const bool getPreScale () const
void print () const
 TrigData ()
 TrigData (int window, int timing, const int *trigCond, const int *trigChan, bool preScale)
virtual ~TrigData ()
virtual const CLID & clID () 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)
const std::string getTrigCondName (int i) const
const int getTrigCondition (int i) const
const int * getTrigCondition () const
const int getTrigChannel (int i) const
const int * getTrigChannel () const
const int getTimeWindow () const
const int getTimingType () const
const bool getPreScale () const
void print () const
 TrigData ()
 TrigData (int window, int timing, const int *trigCond, const int *trigChan, bool preScale)
virtual ~TrigData ()
virtual const CLID & clID () 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)
const std::string getTrigCondName (int i) const
const int getTrigCondition (int i) const
const int * getTrigCondition () const
const int getTrigChannel (int i) const
const int * getTrigChannel () const
const int getTimeWindow () const
const int getTimingType () const
const bool getPreScale () const
void print () const

Static Public Member Functions

static const CLID & classID ()
static const CLID & classID ()
static const CLID & classID ()

Detailed Description

Definition at line 12 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

Constructor & Destructor Documentation

◆ TrigData() [1/6]

TrigData::TrigData ( )
inline

Definition at line 15 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

15{}

◆ TrigData() [2/6]

TrigData::TrigData ( int window,
int timing,
const int * trigCond,
const int * trigChan,
bool preScale )

Definition at line 53 of file TrigData.cxx.

54 {
55 m_timeWindow = window;
56 m_Timing = timing;
57 m_preScale = preScale;
58 for ( int i = 0; i < 48; i++ )
59 {
60 if ( i < 16 ) { m_trigChan[i] = trigChan[i]; }
61 m_trigcond[i] = trigCond[i];
62 }
63}

◆ ~TrigData() [1/3]

virtual TrigData::~TrigData ( )
inlinevirtual

Definition at line 19 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

19{}

◆ TrigData() [3/6]

TrigData::TrigData ( )
inline

◆ TrigData() [4/6]

TrigData::TrigData ( int window,
int timing,
const int * trigCond,
const int * trigChan,
bool preScale )

◆ ~TrigData() [2/3]

virtual TrigData::~TrigData ( )
inlinevirtual

◆ TrigData() [5/6]

TrigData::TrigData ( )
inline

◆ TrigData() [6/6]

TrigData::TrigData ( int window,
int timing,
const int * trigCond,
const int * trigChan,
bool preScale )

◆ ~TrigData() [3/3]

virtual TrigData::~TrigData ( )
inlinevirtual

Member Function Documentation

◆ classID() [1/3]

const CLID & TrigData::classID ( )
inlinestatic

Definition at line 22 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

22{ return CLID_TrigData; }
const CLID & CLID_TrigData

Referenced by clID().

◆ classID() [2/3]

const CLID & TrigData::classID ( )
inlinestatic

◆ classID() [3/3]

const CLID & TrigData::classID ( )
inlinestatic

◆ clID() [1/3]

virtual const CLID & TrigData::clID ( ) const
inlinevirtual

Definition at line 21 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

21{ return TrigData::classID(); }

◆ clID() [2/3]

virtual const CLID & TrigData::clID ( ) const
inlinevirtual

◆ clID() [3/3]

virtual const CLID & TrigData::clID ( ) const
inlinevirtual

◆ getPreScale() [1/3]

const bool TrigData::getPreScale ( ) const
inline

Definition at line 43 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

43{ return m_preScale; }

Referenced by TrigDataCnv::DataObjectToTObject().

◆ getPreScale() [2/3]

const bool TrigData::getPreScale ( ) const
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

43{ return m_preScale; }

◆ getPreScale() [3/3]

const bool TrigData::getPreScale ( ) const
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

43{ return m_preScale; }

◆ getTimeWindow() [1/3]

const int TrigData::getTimeWindow ( ) const
inline

Definition at line 41 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

41{ return m_timeWindow; }

Referenced by TrigDataCnv::DataObjectToTObject(), and TofCheckDigi::Fill_TofTrack().

◆ getTimeWindow() [2/3]

const int TrigData::getTimeWindow ( ) const
inline

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

41{ return m_timeWindow; }

◆ getTimeWindow() [3/3]

const int TrigData::getTimeWindow ( ) const
inline

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

41{ return m_timeWindow; }

◆ getTimingType() [1/3]

const int TrigData::getTimingType ( ) const
inline

Definition at line 42 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

42{ return m_Timing; }

Referenced by TrigDataCnv::DataObjectToTObject(), and TofCheckDigi::Fill_TofTrack().

◆ getTimingType() [2/3]

const int TrigData::getTimingType ( ) const
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

42{ return m_Timing; }

◆ getTimingType() [3/3]

const int TrigData::getTimingType ( ) const
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

42{ return m_Timing; }

◆ getTrigChannel() [1/6]

const int * TrigData::getTrigChannel ( ) const
inline

Definition at line 40 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

40{ return m_trigChan; }

◆ getTrigChannel() [2/6]

const int * TrigData::getTrigChannel ( ) const
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

40{ return m_trigChan; }

◆ getTrigChannel() [3/6]

const int * TrigData::getTrigChannel ( ) const
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

40{ return m_trigChan; }

◆ getTrigChannel() [4/6]

const int TrigData::getTrigChannel ( int i) const
inline

Definition at line 39 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

39{ return m_trigChan[i]; }

Referenced by TrigDataCnv::DataObjectToTObject(), and TofCheckDigi::Fill_TofTrack().

◆ getTrigChannel() [5/6]

const int TrigData::getTrigChannel ( int i) const
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

39{ return m_trigChan[i]; }

◆ getTrigChannel() [6/6]

const int TrigData::getTrigChannel ( int i) const
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

39{ return m_trigChan[i]; }

◆ getTrigCondition() [1/6]

const int * TrigData::getTrigCondition ( ) const
inline

Definition at line 38 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

38{ return m_trigcond; }

◆ getTrigCondition() [2/6]

const int * TrigData::getTrigCondition ( ) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

38{ return m_trigcond; }

◆ getTrigCondition() [3/6]

const int * TrigData::getTrigCondition ( ) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

38{ return m_trigcond; }

◆ getTrigCondition() [4/6]

const int TrigData::getTrigCondition ( int i) const
inline

◆ getTrigCondition() [5/6]

const int TrigData::getTrigCondition ( int i) const
inline

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

37{ return m_trigcond[i]; }

◆ getTrigCondition() [6/6]

const int TrigData::getTrigCondition ( int i) const
inline

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

37{ return m_trigcond[i]; }

◆ getTrigCondName() [1/3]

const std::string TrigData::getTrigCondName ( int i) const
inline

Definition at line 36 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

36{ return s_CONDITIONS[i]; }

◆ getTrigCondName() [2/3]

const std::string TrigData::getTrigCondName ( int i) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

36{ return s_CONDITIONS[i]; }

◆ getTrigCondName() [3/3]

const std::string TrigData::getTrigCondName ( int i) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

36{ return s_CONDITIONS[i]; }

◆ print() [1/3]

void TrigData::print ( ) const

Definition at line 65 of file TrigData.cxx.

65 {
66 std::cout << "TrigData contains the following effective conditions:" << std::endl;
67 for ( int i = 0; i < 48; i++ )
68 {
69 if ( m_trigcond[i] == 1 ) std::cout << '\t' << s_CONDITIONS[i] << std::endl;
70 }
71}

◆ print() [2/3]

void TrigData::print ( ) const

◆ print() [3/3]

void TrigData::print ( ) const

◆ setPreScale() [1/3]

void TrigData::setPreScale ( bool i)
inline

Definition at line 34 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

34{ m_preScale = i; }

Referenced by TrigDataCnv::TObjectToDataObject().

◆ setPreScale() [2/3]

void TrigData::setPreScale ( bool i)
inline

Definition at line 34 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

34{ m_preScale = i; }

◆ setPreScale() [3/3]

void TrigData::setPreScale ( bool i)
inline

Definition at line 34 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

34{ m_preScale = i; }

◆ setTimeWindow() [1/3]

void TrigData::setTimeWindow ( int i)
inline

Definition at line 32 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

32{ m_timeWindow = i; }

Referenced by TrigDataCnv::TObjectToDataObject().

◆ setTimeWindow() [2/3]

void TrigData::setTimeWindow ( int i)
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

32{ m_timeWindow = i; }

◆ setTimeWindow() [3/3]

void TrigData::setTimeWindow ( int i)
inline

Definition at line 32 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

32{ m_timeWindow = i; }

◆ setTimingType() [1/3]

void TrigData::setTimingType ( int i)
inline

Definition at line 33 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

33{ m_Timing = i; }

Referenced by TrigDataCnv::TObjectToDataObject().

◆ setTimingType() [2/3]

void TrigData::setTimingType ( int i)
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

33{ m_Timing = i; }

◆ setTimingType() [3/3]

void TrigData::setTimingType ( int i)
inline

Definition at line 33 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

33{ m_Timing = i; }

◆ setTrigChannel() [1/6]

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

Definition at line 29 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

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

◆ setTrigChannel() [2/6]

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

Definition at line 29 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

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

◆ setTrigChannel() [3/6]

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

Definition at line 29 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

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

◆ setTrigChannel() [4/6]

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

Definition at line 28 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

28{ m_trigChan[i] = j; }

Referenced by TrigDataCnv::TObjectToDataObject().

◆ setTrigChannel() [5/6]

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

Definition at line 28 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

28{ m_trigChan[i] = j; }

◆ setTrigChannel() [6/6]

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

Definition at line 28 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

28{ m_trigChan[i] = j; }

◆ setTrigCondition() [1/6]

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

Definition at line 25 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

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

◆ setTrigCondition() [2/6]

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

Definition at line 25 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

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

◆ setTrigCondition() [3/6]

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

Definition at line 25 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

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

◆ setTrigCondition() [4/6]

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

Definition at line 24 of file Event/TrigEvent/include/TrigEvent/TrigData.h.

24{ m_trigcond[i] = j; }

Referenced by TrigDataCnv::TObjectToDataObject().

◆ setTrigCondition() [5/6]

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

Definition at line 24 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrigEvent/TrigData.h.

24{ m_trigcond[i] = j; }

◆ setTrigCondition() [6/6]

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

Definition at line 24 of file InstallArea/x86_64-el9-gcc13-opt/include/TrigEvent/TrigData.h.

24{ m_trigcond[i] = j; }

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