forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAliTOFCal.h
61 lines (49 loc) · 1.85 KB
/
AliTOFCal.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef ALITOFCAL_H
#define ALITOFCAL_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
//////////////////////////////////////////////////////////////////
// class for TOF calibration:: array of AliTOFChannels //
//////////////////////////////////////////////////////////////////
//_____________________________________________________________
#include "TObject.h"
#include "AliTOFChannel.h"
class TBrowser;
class AliTOFGeometry;
class AliTOFCal: public TObject
{
public:
AliTOFCal();
AliTOFCal(AliTOFGeometry *geom);
AliTOFCal(const AliTOFCal& cal);
AliTOFCal& operator=(const AliTOFCal &source); // ass. op.
virtual ~AliTOFCal();
void Browse(TBrowser *b);
Bool_t IsFolder() const{return kTRUE;}
Int_t NSector()const {return fNSector;}
Int_t NPlate()const {return fNPlate;}
Int_t NStripA()const {return fNStripA;}
Int_t NStripB()const {return fNStripB;}
Int_t NStripC()const {return fNStripC;}
Int_t NpadZ()const {return fNpadZ;}
Int_t NpadX()const {return fNpadX;}
Int_t NPads()const {return fnpad;}
//void PlotPad(Int_t n) {} // *MENU*
AliTOFChannel* GetChannel(Int_t i) {return &fPads[i];}
AliTOFChannel* GetArray() {return fPads;}
void CreateArray();
private:
Int_t fNSector; // number of TOF sectors
Int_t fNPlate; // number of TOF platess
Int_t fNStripA; // number of TOF strips A
Int_t fNStripB; // number of TOF strips B
Int_t fNStripC; // number of TOF strips C
Int_t fNpadZ; // number of TOF pads Z
Int_t fNpadX; // number of TOF pads X
Int_t fnpad; // number of TOF channels
AliTOFGeometry *fGeom; // AliTOFgeometry pointer
AliTOFChannel* fPads; //[fnpad]
// array of AliTOFChannels storing the calib parameters
ClassDef(AliTOFCal,1)
};
#endif