KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVASGroup.h
1
3
4#ifndef __KVASGROUP_H
5#define __KVASGROUP_H
6
7#include "KVGroup.h"
8#include "KVTelescope.h"
9
17class KVASGroup : public KVGroup, public KVPosition {
18
19protected:
23public:
24 KVASGroup();
25 void init();
26 virtual ~KVASGroup();
30 void SetDimensions();
32 {
33 if (!fNumberOfLayers)
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)
virtual ~KVASGroup()
Destructor.
Definition KVASGroup.cpp:66
const KVSeqCollection * GetTelescopes() const
Definition KVASGroup.h:49
UInt_t GetLayerNearestTarget() const
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()
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
UInt_t GetLayerFurthestTarget() const
UInt_t fLayNumMax
maximum layer number (furthest from target)
Definition KVASGroup.h:22
KVNameValueList * DetectParticle(KVNucleus *part)
UInt_t GetDetectorLayer(KVDetector *det)
Find the "detector layer" to which this detector belongs.
UInt_t GetNumberOfDetectorLayers()
TList * GetAlignedDetectors(KVDetector *, UChar_t dir=kBackwards)
Bool_t Contains(KVBase *name) const
Returns true if telescope belongs to this group.
void CountLayers()
void init()
Default initialisation.
Definition KVASGroup.cpp:31
TList * GetTelescopesInLayer(UInt_t nlayer)
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.