KaliVeda
Toolkit for HIC analysis
KVASGroup.h
1 
4 #ifndef __KVASGROUP_H
5 #define __KVASGROUP_H
6 
7 #include "KVGroup.h"
8 #include "KVTelescope.h"
9 
17 class KVASGroup : public KVGroup, public KVPosition {
18 
19 protected:
23 public:
24  KVASGroup();
25  void init();
26  virtual ~KVASGroup();
27  TList* GetTelescopesWithAngles(Float_t theta, Float_t phi) const;
30  void SetDimensions();
32  {
33  if (!fNumberOfLayers)
34  CountLayers();
35  return fNumberOfLayers;
36  };
37  void Sort();
38  void CountLayers();
46 
47  void Add(KVBase*);
48  Bool_t Contains(KVBase* name) const;
50  {
51  return GetStructures();
52  }
53 
54  ClassDef(KVASGroup, 1) //Group in axially-symmetric multidetector
55 };
56 
57 #endif
unsigned int UInt_t
bool Bool_t
unsigned char UChar_t
float Float_t
#define ClassDef(name, id)
Group in axially-symmetric array (obsolete)
Definition: KVASGroup.h:17
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:21
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:31
UInt_t fNumberOfLayers
number of different layers in group
Definition: KVASGroup.h:20
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:22
KVNameValueList * DetectParticle(KVNucleus *part)
Definition: KVASGroup.cpp:163
const KVSeqCollection * GetTelescopes() const
Definition: KVASGroup.h:49
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:142
Base class for detector geometry description.
Definition: KVDetector.h:160
const KVSeqCollection * GetStructures() const
Group of detectors which can be treated independently of all others in array.
Definition: KVGroup.h:20
@ kBackwards
Definition: KVGroup.h:34
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:126
Base class used for handling geometry in a multidetector array.
Definition: KVPosition.h:91
KaliVeda extensions to ROOT collection classes.