KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVReconstructedEvent.h
Go to the documentation of this file.
1 /***************************************************************************
2  kvreconstructedevent.h - description
3  -------------------
4  begin : March 11th 2005
5  copyright : (C) 2005 by J.D. Frankland
6  email : frankland@ganil.fr
7 
8 $Id: KVReconstructedEvent.h,v 1.11 2007/11/12 15:08:32 franklan Exp $
9  ***************************************************************************/
10 
11 /***************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * *
18  ***************************************************************************/
19 
20 #ifndef KVRECONEVENT_H
21 #define KVRECONEVENT_H
22 
23 #include "KVEvent.h"
24 #include "KVGroup.h"
25 #include "KVReconstructedNucleus.h"
26 class KVDetectorEvent;
27 class TList;
28 
35 
38 
39 public:
40 
41  void init();
42  KVReconstructedEvent(Int_t mult = 50, const char* classname =
43  "KVReconstructedNucleus");
45  {
46  };
47 
49  inline KVReconstructedNucleus* GetParticle(Int_t npart) const;
50  inline KVReconstructedNucleus* GetParticleWithName(const Char_t* name) const;
51  inline KVReconstructedNucleus* GetParticle(const Char_t* group_name) const;
53 
54  virtual Bool_t AnalyseDetectors(TList* kvtl);
55  virtual const Char_t* GetPartSeedCond() const
56  {
57  return fPartSeedCond;
58  }
59  virtual void SetPartSeedCond(const Char_t* cond)
60  {
61  fPartSeedCond = cond;
62  }
63  virtual void IdentifyEvent();
64  virtual void CalibrateEvent();
65 
66  virtual void Print(Option_t* t = "") const;
67  void ls(Option_t* = "") const;
68 
69  inline void UseMeanAngles()
70  {
72  }
73  inline void UseRandomAngles()
74  {
76  }
78  {
79  return fMeanAngles;
80  }
82  {
83  return !fMeanAngles;
84  }
85 
86  virtual void SecondaryIdentCalib()
87  {
90  }
91  void MergeEventFragments(TCollection*, Option_t* opt = "");
92 
93  ClassDef(KVReconstructedEvent, 2) //Base class for reconstructed experimental multiparticle events
94 };
95 
97 GetParticle(Int_t npart) const
98 {
100 
102 }
103 
105 
107 GetParticle(const Char_t* group_name) const
108 {
110 
111  return (KVReconstructedNucleus*)(KVEvent::GetParticle(group_name));
112 }
113 
115 
117 GetParticleWithName(const Char_t* name) const
118 {
120 
122 }
123 
125 
127 {
129 
132  return tmp;
133 }
134 
136 
139 {
144 
146 }
147 
148 #endif
int Int_t
char Char_t
const Bool_t kFALSE
bool Bool_t
const Bool_t kTRUE
const char Option_t
#define ClassDef(name, id)
Base class container for multi-particle events.
Definition: KVEvent.h:176
KVNucleus * GetParticle(Int_t npart) const
Definition: KVEvent.cpp:137
KVNucleus * AddParticle()
Definition: KVEvent.cpp:166
KVNucleus * GetParticleWithName(const Char_t *name) const
Definition: KVEvent.cpp:242
KVNucleus * GetNextParticle(Option_t *opt="") const
Definition: KVEvent.cpp:564
Physical event reconstructed from data measured with a detector array using implemented identificatio...
virtual Bool_t AnalyseDetectors(TList *kvtl)
TString fPartSeedCond
condition used in AnalyseTelescopes for seeding new reconstructed particle
virtual const Char_t * GetPartSeedCond() const
void ls(Option_t *="") const
compact listing of reconstructed event
KVReconstructedNucleus * AddParticle()
KVReconstructedNucleus * GetParticleWithName(const Char_t *name) const
virtual void Print(Option_t *t="") const
void MergeEventFragments(TCollection *, Option_t *opt="")
KVReconstructedNucleus * GetParticle(Int_t npart) const
KVReconstructedEvent(Int_t mult=50, const char *classname="KVReconstructedNucleus")
virtual void SecondaryIdentCalib()
virtual void SetPartSeedCond(const Char_t *cond)
KVReconstructedNucleus * GetNextParticle(Option_t *opt="")
Bool_t fMeanAngles
kTRUE if particle momenta calculated using mean angles of detectors (default: randomised angles)
void init()
default initialisations
Nuclei reconstructed from data measured by a detector array ,.