MTEvent Class Reference

#include <TreeClass.hh>

Inheritance diagram for MTEvent:

Inheritance graph
[legend]
Collaboration diagram for MTEvent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MTEvent ()
virtual ~MTEvent ()
MTEventoperator= (const Event &rhs)
void Build (UInt_t evtId, UInt_t runId, Double32_t temperature, Double32_t pressure, ULong64_t timestamp)
void Clear (Option_t *option="")
void SetTemperature (Double32_t t)
void SetPressure (Double32_t t)
void SetTimestamp (ULong64_t t)
MTChannelAddChannel (const ChannelHit &hit, UInt_t order)
UInt_t GetEventId () const
UInt_t GetRunId () const
UInt_t GetNchannel () const
void SetNchannel (Int_t n)
UInt_t GetNchannel (UInt_t chamberId) const
Double32_t GetTemperature () const
Double32_t GetPressure () const
TClonesArray * GetChannels () const
MTChannelGetChannelByOrder (UInt_t order, UInt_t chamberId) const
MTChannelGetChannelBySoftId (UInt_t aSoftId) const

Static Public Member Functions

static void Reset (Option_t *option="")

Private Attributes

UInt_t fEventId
UInt_t fRunId
Double32_t fTemperature
Double32_t fPressure
ULong64_t fTimestamp
Int_t fNchannel
TClonesArray * fChannels

Static Private Attributes

static TClonesArray * fgChannels


Detailed Description

CLASS EVENT (containing Header and MTChannel)

Definition at line 81 of file TreeClass.hh.


Constructor & Destructor Documentation

MTEvent::MTEvent (  ) 

virtual MTEvent::~MTEvent (  )  [virtual]


Member Function Documentation

MTEvent& MTEvent::operator= ( const Event rhs  ) 

void MTEvent::Build ( UInt_t  evtId,
UInt_t  runId,
Double32_t  temperature,
Double32_t  pressure,
ULong64_t  timestamp 
)

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

static void MTEvent::Reset ( Option_t *  option = ""  )  [static]

void MTEvent::SetTemperature ( Double32_t  t  )  [inline]

Definition at line 107 of file TreeClass.hh.

00107 { fTemperature = t; }

void MTEvent::SetPressure ( Double32_t  t  )  [inline]

Definition at line 108 of file TreeClass.hh.

00108 { fPressure = t; }

void MTEvent::SetTimestamp ( ULong64_t  t  )  [inline]

Definition at line 109 of file TreeClass.hh.

00109 { fTimestamp = t; }

MTChannel* MTEvent::AddChannel ( const ChannelHit hit,
UInt_t  order 
)

UInt_t MTEvent::GetEventId (  )  const [inline]

Definition at line 114 of file TreeClass.hh.

00114 { return fEventId; }

UInt_t MTEvent::GetRunId (  )  const [inline]

Definition at line 115 of file TreeClass.hh.

00115 { return fRunId; }

UInt_t MTEvent::GetNchannel (  )  const [inline]

Definition at line 116 of file TreeClass.hh.

Referenced by main(), and View_event().

00116 { return fNchannel; }

void MTEvent::SetNchannel ( Int_t  n  )  [inline]

Definition at line 117 of file TreeClass.hh.

00117 { fNchannel = n; }

UInt_t MTEvent::GetNchannel ( UInt_t  chamberId  )  const

Double32_t MTEvent::GetTemperature (  )  const [inline]

Definition at line 120 of file TreeClass.hh.

00120 { return fTemperature; }

Double32_t MTEvent::GetPressure (  )  const [inline]

Definition at line 121 of file TreeClass.hh.

00121 { return fPressure; }

TClonesArray* MTEvent::GetChannels (  )  const [inline]

Definition at line 122 of file TreeClass.hh.

Referenced by main(), and View_event().

00122 {return fChannels;}

MTChannel* MTEvent::GetChannelByOrder ( UInt_t  order,
UInt_t  chamberId 
) const

MTChannel* MTEvent::GetChannelBySoftId ( UInt_t  aSoftId  )  const


Member Data Documentation

UInt_t MTEvent::fEventId [private]

Definition at line 84 of file TreeClass.hh.

Referenced by GetEventId().

UInt_t MTEvent::fRunId [private]

Definition at line 85 of file TreeClass.hh.

Referenced by GetRunId().

Double32_t MTEvent::fTemperature [private]

Definition at line 86 of file TreeClass.hh.

Referenced by GetTemperature(), and SetTemperature().

Double32_t MTEvent::fPressure [private]

Definition at line 87 of file TreeClass.hh.

Referenced by GetPressure(), and SetPressure().

ULong64_t MTEvent::fTimestamp [private]

Definition at line 88 of file TreeClass.hh.

Referenced by SetTimestamp().

Int_t MTEvent::fNchannel [private]

Definition at line 90 of file TreeClass.hh.

Referenced by GetNchannel(), and SetNchannel().

TClonesArray* MTEvent::fChannels [private]

Definition at line 91 of file TreeClass.hh.

Referenced by GetChannels().

TClonesArray* MTEvent::fgChannels [static, private]

Definition at line 97 of file TreeClass.hh.


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

Generated on Thu Jul 9 09:49:39 2009 for MicromegasFramework by  doxygen 1.5.8