TTrigData Class Reference

#include <TTrigData.h>

List of all members.

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)
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

Private Attributes

Bool_t m_preScale
Int_t m_trigcond [48]
Int_t m_trigChan [16]
Int_t m_timeWindow
Int_t m_Timing


Detailed Description

Definition at line 8 of file TTrigData.h.


Constructor & Destructor Documentation

TTrigData::TTrigData (  ) 

TTrigData::~TTrigData (  )  [virtual]

Definition at line 13 of file TTrigData.cxx.

00014 {
00015 }


Member Function Documentation

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

Definition at line 17 of file TTrigData.cxx.

Referenced by TTrigEvent::clearTrigData().

00018 {
00019 }

const bool TTrigData::getPreScale (  )  const [inline]

Definition at line 35 of file TTrigData.h.

References m_preScale.

Referenced by TrigDataCnv::TObjectToDataObject().

00035 { return m_preScale;       }

const int TTrigData::getTimeWindow (  )  const [inline]

Definition at line 33 of file TTrigData.h.

References m_timeWindow.

Referenced by TrigDataCnv::TObjectToDataObject().

00033 { return m_timeWindow;     }

const int TTrigData::getTimingType (  )  const [inline]

Definition at line 34 of file TTrigData.h.

References m_Timing.

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

00034 { return m_Timing;         }

const int* TTrigData::getTrigChannel (  )  const [inline]

Definition at line 32 of file TTrigData.h.

References m_trigChan.

00032 { return m_trigChan;       }

const int TTrigData::getTrigChannel ( int  i  )  const [inline]

Definition at line 31 of file TTrigData.h.

References m_trigChan.

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

00031 { return m_trigChan[i];    }

const int* TTrigData::getTrigCondition (  )  const [inline]

Definition at line 30 of file TTrigData.h.

References m_trigcond.

00030 { return m_trigcond;       }

const int TTrigData::getTrigCondition ( int  i  )  const [inline]

Definition at line 29 of file TTrigData.h.

References m_trigcond.

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

00029 { return m_trigcond[i];    }

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

Definition at line 21 of file TTrigData.cxx.

00021                                             {
00022     TObject::Print(option);
00023 }

void TTrigData::setPreScale ( bool  i  )  [inline]

Definition at line 26 of file TTrigData.h.

References m_preScale.

Referenced by TrigDataCnv::DataObjectToTObject().

00026 { m_preScale      = i;     }

void TTrigData::setTimeWindow ( int  i  )  [inline]

Definition at line 24 of file TTrigData.h.

References m_timeWindow.

Referenced by TrigDataCnv::DataObjectToTObject().

00024 { m_timeWindow    = i;     }

void TTrigData::setTimingType ( int  i  )  [inline]

Definition at line 25 of file TTrigData.h.

References m_Timing.

Referenced by TrigDataCnv::DataObjectToTObject().

00025 { m_Timing        = i;     }

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

Definition at line 23 of file TTrigData.h.

References genRecEmupikp::i, and m_trigChan.

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

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

Definition at line 22 of file TTrigData.h.

References m_trigChan.

Referenced by TrigDataCnv::DataObjectToTObject().

00022 { m_trigChan[i] = j;       }

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

Definition at line 21 of file TTrigData.h.

References genRecEmupikp::i, and m_trigcond.

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

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

Definition at line 20 of file TTrigData.h.

References m_trigcond.

Referenced by TrigDataCnv::DataObjectToTObject().

00020 { m_trigcond[i]    = j;    }


Member Data Documentation

Bool_t TTrigData::m_preScale [private]

Definition at line 38 of file TTrigData.h.

Referenced by getPreScale(), and setPreScale().

Int_t TTrigData::m_timeWindow [private]

Definition at line 41 of file TTrigData.h.

Referenced by getTimeWindow(), and setTimeWindow().

Int_t TTrigData::m_Timing [private]

Definition at line 42 of file TTrigData.h.

Referenced by getTimingType(), and setTimingType().

Int_t TTrigData::m_trigChan[16] [private]

Definition at line 40 of file TTrigData.h.

Referenced by getTrigChannel(), and setTrigChannel().

Int_t TTrigData::m_trigcond[48] [private]

Definition at line 39 of file TTrigData.h.

Referenced by getTrigCondition(), and setTrigCondition().


Generated on Tue Nov 29 23:36:19 2016 for BOSS_7.0.2 by  doxygen 1.4.7