Event Class Reference

#include <Event.h>

Inheritance diagram for Event:

TObject TObject TObject List of all members.

Public Member Functions

 Event ()
virtual ~Event ()
void Build (Int_t ev, Int_t arg5=600, Float_t ptmin=1)
void Clear (Option_t *option="")
Bool_t IsValid () const
void ResetHistogramPointer ()
void SetNseg (Int_t n)
void SetNtrack (Int_t n)
void SetNvertex (Int_t n)
void SetFlag (UInt_t f)
void SetTemperature (Double32_t t)
void SetType (char *type)
void SetHeader (Int_t i, Int_t run, Int_t date, Float_t random)
 ______________________________________________________________________________
TrackAddTrack (Float_t random, Float_t ptmin=1)
void SetMeasure (UChar_t which, Int_t what)
void SetMatrix (UChar_t x, UChar_t y, Double32_t what)
void SetRandomVertex ()
Float_t GetClosestDistance (Int_t i)
char * GetType ()
Int_t GetNtrack () const
Int_t GetNseg () const
Int_t GetNvertex () const
UInt_t GetFlag () const
Double32_t GetTemperature () const
EventHeaderGetHeader ()
TClonesArrayGetTracks () const
TRefArrayGetHighPt () const
TRefArrayGetMuons () const
TrackGetLastTrack () const
TH1FGetHistogram () const
TH1GetWebHistogram () const
Int_t GetMeasure (UChar_t which)
Double32_t GetMatrix (UChar_t x, UChar_t y)
TBitsGetTriggerBits ()
 Event ()
virtual ~Event ()
void Build (Int_t ev, Int_t arg5=600, Float_t ptmin=1)
void Clear (Option_t *option="")
Bool_t IsValid () const
void ResetHistogramPointer ()
void SetNseg (Int_t n)
void SetNtrack (Int_t n)
void SetNvertex (Int_t n)
void SetFlag (UInt_t f)
void SetTemperature (Double32_t t)
void SetType (char *type)
void SetHeader (Int_t i, Int_t run, Int_t date, Float_t random)
TrackAddTrack (Float_t random, Float_t ptmin=1)
void SetMeasure (UChar_t which, Int_t what)
void SetMatrix (UChar_t x, UChar_t y, Double32_t what)
void SetRandomVertex ()
Float_t GetClosestDistance (Int_t i)
char * GetType ()
Int_t GetNtrack () const
Int_t GetNseg () const
Int_t GetNvertex () const
UInt_t GetFlag () const
Double32_t GetTemperature () const
EventHeaderGetHeader ()
TClonesArrayGetTracks () const
TRefArrayGetHighPt () const
TRefArrayGetMuons () const
TrackGetLastTrack () const
TH1FGetHistogram () const
TH1GetWebHistogram () const
Int_t GetMeasure (UChar_t which)
Double32_t GetMatrix (UChar_t x, UChar_t y)
TBitsGetTriggerBits ()

Static Public Member Functions

static void Reset (Option_t *option="")

Public Attributes

Det a
Det b

Private Attributes

char fType [20]
char * fEventName
Int_t fNtrack
Int_t fNseg
Int_t fNvertex
UInt_t fFlag
Double32_t fTemperature
Int_t fMeasures [10]
Double32_t fMatrix [4][4]
Double32_tfClosestDistance
EventHeader fEvtHdr
TClonesArrayfTracks
TRefArrayfHighPt
TRefArrayfMuons
TRef fLastTrack
TRef fWebHistogram
TH1FfH
TBits fTriggerBits
Bool_t fIsValid
char * fEventName
Double32_tfClosestDistance
TClonesArrayfTracks
TRefArrayfHighPt
TRefArrayfMuons
TH1FfH

Static Private Attributes

static TClonesArrayfgTracks
static TH1FfgHist

Detailed Description

Definition at line 100 of file Event.h.


Constructor & Destructor Documentation

Event::Event (  ) 

Definition at line 97 of file Event.cxx.

References fType.

Event::~Event (  )  [virtual]

Definition at line 123 of file Event.cxx.

References Clear(), fClosestDistance, fEventName, fgHist, fH, fHighPt, and fMuons.

Event::Event (  ) 

virtual Event::~Event (  )  [virtual]


Member Function Documentation

void Event::Build ( Int_t  ev,
Int_t  arg5 = 600,
Float_t  ptmin = 1 
)

Definition at line 135 of file Event.cxx.

References AddTrack(), Clear(), TRefArray::Delete(), fEventName, fHighPt, fIsValid, fMuons, fTriggerBits, TRandom::Gaus(), TProcessID::GetObjectCount(), gRandom, kTRUE, m, random, TRandom::Rannor(), TRandom::Rndm(), TBits::SetBitNumber(), SetFlag(), SetHeader(), SetMatrix(), SetMeasure(), SetNseg(), SetNvertex(), TProcessID::SetObjectCount(), SetTemperature(), SetType(), sprintf(), and t.

Referenced by main(), ProofEvent::Process(), and stress8write().

void Event::Clear ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 207 of file Event.cxx.

References TClonesArray::Clear(), TBits::Clear(), TRefArray::Delete(), fHighPt, fMuons, fTracks, and fTriggerBits.

Referenced by Build(), copytree3(), stress10(), tree4r(), tree4w(), and ~Event().

Bool_t Event::IsValid (  )  const [inline]

Definition at line 131 of file Event.h.

References fIsValid.

Referenced by MakeHisto().

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

Definition at line 216 of file Event.cxx.

References fgHist, and fgTracks.

Referenced by MakeHisto(), stress10(), stress13(), stress15(), stress8(), stress9tree(), and tree4().

void Event::ResetHistogramPointer (  )  [inline]

Definition at line 133 of file Event.h.

References fH.

void Event::SetNseg ( Int_t  n  )  [inline]

Definition at line 134 of file Event.h.

References fNseg.

Referenced by Build(), and tree4w().

void Event::SetNtrack ( Int_t  n  )  [inline]

Definition at line 135 of file Event.h.

References fNtrack.

void Event::SetNvertex ( Int_t  n  )  [inline]

Definition at line 136 of file Event.h.

References fNvertex, and SetRandomVertex().

Referenced by Build(), and tree4w().

void Event::SetFlag ( UInt_t  f  )  [inline]

Definition at line 137 of file Event.h.

References fFlag.

Referenced by Build(), and tree4w().

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

Definition at line 138 of file Event.h.

References fTemperature.

Referenced by Build(), and tree4w().

void Event::SetType ( char *  type  )  [inline]

Definition at line 139 of file Event.h.

References fType, and strcpy().

Referenced by Build(), and tree4w().

void Event::SetHeader ( Int_t  i,
Int_t  run,
Int_t  date,
Float_t  random 
)

______________________________________________________________________________

Definition at line 226 of file Event.cxx.

References fEvtHdr, fgHist, fH, TH1::Fill(), fNtrack, and EventHeader::Set().

Referenced by Build(), and tree4w().

Track * Event::AddTrack ( Float_t  random,
Float_t  ptmin = 1 
)

Definition at line 187 of file Event.cxx.

References TRefArray::Add(), fHighPt, fLastTrack, fMuons, fNtrack, fTracks, and track().

Referenced by Build(), and tree4w().

void Event::SetMeasure ( UChar_t  which,
Int_t  what 
)

Definition at line 236 of file Event.cxx.

References fMeasures.

Referenced by Build(), and tree4w().

void Event::SetMatrix ( UChar_t  x,
UChar_t  y,
Double32_t  what 
) [inline]

Definition at line 143 of file Event.h.

References fMatrix.

Referenced by Build(), and tree4w().

void Event::SetRandomVertex (  ) 

Definition at line 241 of file Event.cxx.

References fClosestDistance, fNvertex, TRandom::Gaus(), gRandom, and k.

Referenced by SetNvertex().

Float_t Event::GetClosestDistance ( Int_t  i  )  [inline]

Definition at line 146 of file Event.h.

References fClosestDistance.

Referenced by MakeHisto().

char* Event::GetType (  )  [inline]

Definition at line 147 of file Event.h.

References fType.

Referenced by MakeHisto().

Int_t Event::GetNtrack (  )  const [inline]

Definition at line 148 of file Event.h.

References fNtrack.

Referenced by copytree3(), HistogramManager::Hfill(), MakeHisto(), ProofEvent::Process(), stress9tree(), and tree4r().

Int_t Event::GetNseg (  )  const [inline]

Definition at line 149 of file Event.h.

References fNseg.

Referenced by HistogramManager::Hfill(), MakeHisto(), and stress9tree().

Int_t Event::GetNvertex (  )  const [inline]

Definition at line 150 of file Event.h.

References fNvertex.

Referenced by MakeHisto().

UInt_t Event::GetFlag (  )  const [inline]

Definition at line 151 of file Event.h.

References fFlag.

Double32_t Event::GetTemperature (  )  const [inline]

Definition at line 152 of file Event.h.

References fTemperature.

Referenced by HistogramManager::Hfill(), MakeHisto(), and stress9tree().

EventHeader* Event::GetHeader (  )  [inline]

Definition at line 153 of file Event.h.

References fEvtHdr.

Referenced by MakeHisto(), stress10(), and stress9tree().

TClonesArray* Event::GetTracks (  )  const [inline]

Definition at line 154 of file Event.h.

References fTracks.

Referenced by HistogramManager::Hfill(), MakeHisto(), and stress9tree().

TRefArray* Event::GetHighPt (  )  const [inline]

Definition at line 155 of file Event.h.

References fHighPt.

TRefArray* Event::GetMuons (  )  const [inline]

Definition at line 156 of file Event.h.

References fMuons.

Track* Event::GetLastTrack (  )  const [inline]

Definition at line 157 of file Event.h.

References fLastTrack, and TRef::GetObject().

TH1F* Event::GetHistogram (  )  const [inline]

Definition at line 158 of file Event.h.

References fH.

Referenced by MakeHisto(), and stress9tree().

TH1* Event::GetWebHistogram (  )  const [inline]

Definition at line 159 of file Event.h.

References fWebHistogram, and TRef::GetObject().

Int_t Event::GetMeasure ( UChar_t  which  )  [inline]

Definition at line 160 of file Event.h.

References fMeasures.

Double32_t Event::GetMatrix ( UChar_t  x,
UChar_t  y 
) [inline]

Definition at line 161 of file Event.h.

References fMatrix.

Referenced by MakeHisto(), and stress9tree().

TBits& Event::GetTriggerBits (  )  [inline]

Definition at line 162 of file Event.h.

References fTriggerBits.

Referenced by MakeHisto().

void Event::Build ( Int_t  ev,
Int_t  arg5 = 600,
Float_t  ptmin = 1 
)

void Event::Clear ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Bool_t Event::IsValid (  )  const [inline]

Definition at line 131 of file EventMT.h.

References fIsValid.

void Event::ResetHistogramPointer (  )  [inline]

Definition at line 132 of file EventMT.h.

References fH.

void Event::SetNseg ( Int_t  n  )  [inline]

Definition at line 133 of file EventMT.h.

References fNseg.

void Event::SetNtrack ( Int_t  n  )  [inline]

Definition at line 134 of file EventMT.h.

References fNtrack.

void Event::SetNvertex ( Int_t  n  )  [inline]

Definition at line 135 of file EventMT.h.

References fNvertex, and SetRandomVertex().

void Event::SetFlag ( UInt_t  f  )  [inline]

Definition at line 136 of file EventMT.h.

References fFlag.

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

Definition at line 137 of file EventMT.h.

References fTemperature.

void Event::SetType ( char *  type  )  [inline]

Definition at line 138 of file EventMT.h.

References fType, and strcpy().

void Event::SetHeader ( Int_t  i,
Int_t  run,
Int_t  date,
Float_t  random 
)

Track* Event::AddTrack ( Float_t  random,
Float_t  ptmin = 1 
)

void Event::SetMeasure ( UChar_t  which,
Int_t  what 
)

void Event::SetMatrix ( UChar_t  x,
UChar_t  y,
Double32_t  what 
) [inline]

Definition at line 142 of file EventMT.h.

References fMatrix.

void Event::SetRandomVertex (  ) 

Float_t Event::GetClosestDistance ( Int_t  i  )  [inline]

Definition at line 145 of file EventMT.h.

References fClosestDistance.

char* Event::GetType (  )  [inline]

Definition at line 146 of file EventMT.h.

References fType.

Int_t Event::GetNtrack (  )  const [inline]

Definition at line 147 of file EventMT.h.

References fNtrack.

Int_t Event::GetNseg (  )  const [inline]

Definition at line 148 of file EventMT.h.

References fNseg.

Int_t Event::GetNvertex (  )  const [inline]

Definition at line 149 of file EventMT.h.

References fNvertex.

UInt_t Event::GetFlag (  )  const [inline]

Definition at line 150 of file EventMT.h.

References fFlag.

Double32_t Event::GetTemperature (  )  const [inline]

Definition at line 151 of file EventMT.h.

References fTemperature.

EventHeader* Event::GetHeader (  )  [inline]

Definition at line 152 of file EventMT.h.

References fEvtHdr.

TClonesArray* Event::GetTracks (  )  const [inline]

Definition at line 153 of file EventMT.h.

References fTracks.

TRefArray* Event::GetHighPt (  )  const [inline]

Definition at line 154 of file EventMT.h.

References fHighPt.

TRefArray* Event::GetMuons (  )  const [inline]

Definition at line 155 of file EventMT.h.

References fMuons.

Track* Event::GetLastTrack (  )  const [inline]

Definition at line 156 of file EventMT.h.

References fLastTrack, and TRef::GetObject().

TH1F* Event::GetHistogram (  )  const [inline]

Definition at line 157 of file EventMT.h.

References fH.

TH1* Event::GetWebHistogram (  )  const [inline]

Definition at line 158 of file EventMT.h.

References fWebHistogram, and TRef::GetObject().

Int_t Event::GetMeasure ( UChar_t  which  )  [inline]

Definition at line 159 of file EventMT.h.

References fMeasures.

Double32_t Event::GetMatrix ( UChar_t  x,
UChar_t  y 
) [inline]

Definition at line 160 of file EventMT.h.

References fMatrix.

TBits& Event::GetTriggerBits (  )  [inline]

Definition at line 161 of file EventMT.h.

References fTriggerBits.


Member Data Documentation

char Event::fType [private]

Definition at line 103 of file Event.h.

Referenced by GetType(), TMVA::kNN::Event::GetType(), and SetType().

char* Event::fEventName [private]

Definition at line 104 of file Event.h.

Referenced by Build(), and ~Event().

Int_t Event::fNtrack [private]

Definition at line 105 of file Event.h.

Referenced by AddTrack(), GetNtrack(), SetHeader(), and SetNtrack().

Int_t Event::fNseg [private]

Definition at line 106 of file Event.h.

Referenced by GetNseg(), and SetNseg().

Int_t Event::fNvertex [private]

Definition at line 107 of file Event.h.

Referenced by GetNvertex(), SetNvertex(), and SetRandomVertex().

UInt_t Event::fFlag [private]

Definition at line 108 of file Event.h.

Referenced by GetFlag(), and SetFlag().

Double32_t Event::fTemperature [private]

Definition at line 109 of file Event.h.

Referenced by GetTemperature(), and SetTemperature().

Int_t Event::fMeasures [private]

Definition at line 110 of file Event.h.

Referenced by GetMeasure(), and SetMeasure().

Double32_t Event::fMatrix [private]

Definition at line 111 of file Event.h.

Referenced by GetMatrix(), and SetMatrix().

Double32_t* Event::fClosestDistance [private]

Definition at line 112 of file Event.h.

Referenced by GetClosestDistance(), SetRandomVertex(), and ~Event().

EventHeader Event::fEvtHdr [private]

Definition at line 113 of file Event.h.

Referenced by GetHeader(), and SetHeader().

TClonesArray* Event::fTracks [private]

Definition at line 114 of file Event.h.

Referenced by AddTrack(), Clear(), and GetTracks().

TRefArray* Event::fHighPt [private]

Definition at line 115 of file Event.h.

Referenced by AddTrack(), Build(), Clear(), GetHighPt(), and ~Event().

TRefArray* Event::fMuons [private]

Definition at line 116 of file Event.h.

Referenced by AddTrack(), Build(), Clear(), GetMuons(), and ~Event().

TRef Event::fLastTrack [private]

Definition at line 117 of file Event.h.

Referenced by AddTrack(), and GetLastTrack().

TRef Event::fWebHistogram [private]

Definition at line 118 of file Event.h.

Referenced by GetWebHistogram().

TH1F* Event::fH [private]

Definition at line 119 of file Event.h.

Referenced by GetHistogram(), ResetHistogramPointer(), SetHeader(), and ~Event().

TBits Event::fTriggerBits [private]

Definition at line 120 of file Event.h.

Referenced by Build(), Clear(), and GetTriggerBits().

Bool_t Event::fIsValid [private]

Definition at line 121 of file Event.h.

Referenced by Build(), and IsValid().

TClonesArray* Event::fgTracks [static, private]

Definition at line 123 of file Event.h.

Referenced by Reset().

TH1F* Event::fgHist [static, private]

Definition at line 124 of file Event.h.

Referenced by Reset(), SetHeader(), and ~Event().

char* Event::fEventName [private]

Definition at line 107 of file EventMT.h.

Double32_t* Event::fClosestDistance [private]

Definition at line 115 of file EventMT.h.

TClonesArray* Event::fTracks [private]

Definition at line 117 of file EventMT.h.

TRefArray* Event::fHighPt [private]

Definition at line 118 of file EventMT.h.

TRefArray* Event::fMuons [private]

Definition at line 119 of file EventMT.h.

TH1F* Event::fH [private]

Definition at line 122 of file EventMT.h.

Det Event::a

Definition at line 56 of file tree0.C.

Referenced by ClassImp().

Det Event::b

Definition at line 57 of file tree0.C.

Referenced by ClassImp().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:25:12 2011 for ROOT_528-00b_version by  doxygen 1.5.1