KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVASGroup.h
Go to the documentation of this file.
1 
4 #ifndef __KVASGROUP_H
5 #define __KVASGROUP_H
6 
7 #include "KVGroup.h"
8 #include "KVTelescope.h"
9 
16 class KVASGroup : public KVGroup, public KVPosition {
17 
18 protected:
22 public:
23  KVASGroup();
24  void init();
25  virtual ~KVASGroup();
26  TList* GetTelescopesWithAngles(Float_t theta, Float_t phi) const;
29  void SetDimensions();
31  {
32  if (!fNumberOfLayers)
33  CountLayers();
34  return fNumberOfLayers;
35  };
36  void Sort();
37  void CountLayers();
45 
46  void Add(KVBase*);
47  Bool_t Contains(KVBase* name) const;
49  {
50  return GetStructures();
51  }
52 
53  ClassDef(KVASGroup, 1) //Group in axially-symmetric multidetector
54 };
55 
56 #endif
unsigned int UInt_t
unsigned char UChar_t
bool Bool_t
float Float_t
#define ClassDef(name, id)
Group in axially-symmetric array (obsolete)
Definition: KVASGroup.h:16
TList * GetDetectorsInLayer(UInt_t lay)
Definition: KVASGroup.cpp:342
virtual ~KVASGroup()
Destructor.
Definition: KVASGroup.cpp:66
UInt_t GetLayerNearestTarget() const
Definition: KVASGroup.cpp:483
void Add(KVBase *)
Definition: KVASGroup.cpp:47
KVASGroup()
Default constructor.
Definition: KVASGroup.cpp:21
UInt_t fLayNumMin
minimum layer number (nearest to target)
Definition: KVASGroup.h:20
void SetDimensions()
Set dimensions of group according to dimensions of all its telescopes.
Definition: KVASGroup.cpp:80
void Sort()
Definition: KVASGroup.cpp:144
UInt_t GetNumberOfLayers()
Definition: KVASGroup.h:30
UInt_t fNumberOfLayers
number of different layers in group
Definition: KVASGroup.h:19
TList * GetTelescopesWithAngles(Float_t theta, Float_t phi) const
Definition: KVASGroup.cpp:197
UInt_t GetLayerFurthestTarget() const
Definition: KVASGroup.cpp:503
UInt_t fLayNumMax
maximum layer number (furthest from target)
Definition: KVASGroup.h:21
KVNameValueList * DetectParticle(KVNucleus *part)
Definition: KVASGroup.cpp:163
const KVSeqCollection * GetTelescopes() const
Definition: KVASGroup.h:48
UInt_t GetDetectorLayer(KVDetector *det)
Find the "detector layer" to which this detector belongs.
Definition: KVASGroup.cpp:400
UInt_t GetNumberOfDetectorLayers()
Definition: KVASGroup.cpp:303
TList * GetAlignedDetectors(KVDetector *, UChar_t dir=kBackwards)
Definition: KVASGroup.cpp:425
Bool_t Contains(KVBase *name) const
Returns true if telescope belongs to this group.
Definition: KVASGroup.cpp:520
void CountLayers()
Definition: KVASGroup.cpp:251
void init()
Default initialisation.
Definition: KVASGroup.cpp:31
TList * GetTelescopesInLayer(UInt_t nlayer)
Definition: KVASGroup.cpp:225
Base class for KaliVeda framework.
Definition: KVBase.h:135
Base class for detector geometry description, interface to energy-loss calculations.
Definition: KVDetector.h:121
const KVSeqCollection * GetStructures() const
Group of detectors which can be treated independently of all others in array.
Definition: KVGroup.h:19
@ kBackwards
Definition: KVGroup.h:33
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:125
Base class used for handling geometry in a multidetector array.
Definition: KVPosition.h:90
KaliVeda extensions to ROOT collection classes.