1 #ifndef ALIITSDETTYPE_H
2 #define ALIITSDETTYPE_H
8 #include "AliITSsegmentation.h"
9 #include "AliITSresponse.h"
12 class AliITSClusterFinder;
13 class AliITSsimulation;
15 class AliITSDetType:public TObject
23 AliITSDetType(const AliITSDetType &source); // copy constructor
24 AliITSDetType& operator=(const AliITSDetType &source); // assign. operator
30 void SegmentationModel(AliITSsegmentation* thisSegmentation){
31 // Configure segmentation model
32 if(fSegmentation) delete fSegmentation;
33 fSegmentation=thisSegmentation;
36 void ResponseModel(AliITSresponse* thisResponse) {
37 // Configure response model
38 if(fResponse) delete fResponse;
39 fResponse=thisResponse;
42 void SimulationModel(AliITSsimulation *thisSimulation) {
43 // Configure simulation model
44 fSimulation = thisSimulation;
47 void ReconstructionModel(AliITSClusterFinder *thisReconstruction) {
48 // Configure reconstruction model
49 fReconst = thisReconstruction;
51 void ClassNames(const char *digit, const char *cluster) {
52 // Set class names for digits and clusters
53 fDigClassName=digit; fClustClassName=cluster;
56 AliITSsegmentation* &GetSegmentationModel(){
57 // Get reference to segmentation model
60 AliITSresponse* &GetResponseModel(){
61 // Get reference to response model
64 AliITSsimulation* &GetSimulationModel(){
65 // Get reference to simulation model
68 AliITSClusterFinder* &GetReconstructionModel(){
69 // Get reference to hit reconstruction model
74 void GetClassNames(char *digit,char *cluster)
76 // Get class names for digits and rec points
77 strcpy(digit,fDigClassName.Data()); strcpy(cluster,fClustClassName.Data());
82 AliITSClusterFinder *fReconst; // cluster finder
83 AliITSsimulation *fSimulation; // simulation
84 AliITSresponse *fResponse; // response
85 AliITSsegmentation *fSegmentation; // segmentation
87 TString fDigClassName; // string
88 TString fClustClassName; // string
90 ClassDef(AliITSDetType,1) // container for simulation and reconstruction