1 #ifndef ALIITSDETTYPE_H
2 #define ALIITSDETTYPE_H
8 #include "AliITSsegmentation.h"
9 #include "AliITSresponse.h"
11 class AliITSClusterFinder;
12 class AliITSsimulation;
14 class AliITSDetType:public TObject
22 AliITSDetType(const AliITSDetType &source); // copy constructor
23 AliITSDetType& operator=(const AliITSDetType &source); // assign. operator
29 void SegmentationModel(AliITSsegmentation* thisSegmentation){
30 // Configure segmentation model
31 if(fSegmentation) delete fSegmentation;
32 fSegmentation=thisSegmentation;
35 void ResponseModel(AliITSresponse* thisResponse) {
36 // Configure response model
37 if(fResponse) delete fResponse;
38 fResponse=thisResponse;
41 void SimulationModel(AliITSsimulation *thisSimulation) {
42 // Configure simulation model
43 fSimulation = thisSimulation;
46 void ReconstructionModel(AliITSClusterFinder *thisReconstruction) {
47 // Configure reconstruction model
48 fReconst = thisReconstruction;
50 void ClassNames(TString digit, TString cluster) {
51 // Set class names for digits and clusters
52 fDigClassName=digit; fClustClassName=cluster;
55 AliITSsegmentation* &GetSegmentationModel(){
56 // Get reference to segmentation model
59 AliITSresponse* &GetResponseModel(){
60 // Get reference to response model
63 AliITSsimulation* &GetSimulationModel(){
64 // Get reference to simulation model
67 AliITSClusterFinder* &GetReconstructionModel(){
68 // Get reference to hit reconstruction model
73 void GetClassNames(const char *&digit, const char *&cluster)
75 // Get class names for digits and rec points
76 digit=fDigClassName; cluster=fClustClassName;
81 AliITSClusterFinder *fReconst; // cluster finder
82 AliITSsimulation *fSimulation; // simulation
83 AliITSresponse *fResponse; // response
84 AliITSsegmentation *fSegmentation; // segmentation
86 TString fDigClassName; // string
87 TString fClustClassName; // string
89 ClassDef(AliITSDetType,1)