1 #ifndef AliTPCSensorPressure_H
2 #define AliTPCSensorPressure_H
3 /* Copyright(c) 2006-07, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////////////////
8 // Container class for temperature sensor positions
9 ////////////////////////////////////////////////////////////////////////////
13 #include "AliSplineFit.h"
14 #include "AliDCSSensor.h"
27 ////////////////////////////////////////////////////////////////////////
28 // Class AliTPCSensorPressure
29 ////////////////////////////////////////////////////////////////////////
31 class AliTPCSensorPressure : public AliDCSSensor {
34 AliTPCSensorPressure();
35 AliTPCSensorPressure(const AliTPCSensorPressure& source);
36 virtual ~AliTPCSensorPressure(){}
37 AliTPCSensorPressure& operator=(const AliTPCSensorPressure& source);
39 Int_t GetType() const {return fType; }
40 Int_t GetSide() const {return fSide; }
41 Int_t GetSector() const {return fSector; }
42 Int_t GetNum() const {return fNum; }
44 void SetType (Int_t type) {fType = type; }
45 void SetSide (Int_t side) {fSide = side; }
46 void SetSector (Int_t sector) {fSector = sector;}
47 void SetNum (Int_t num) {fNum = num; }
50 static TClonesArray * ReadList(const char *fname);
51 static TClonesArray * ReadListInd(const char *fname,
52 Int_t& firstSensor, Int_t& lastSensor);
55 Int_t fType; // Position of sensors on fieldcage
56 // (0=ROC,1=OFC,2=IFC,3=TPC,4=ELM,5=TS,6=COOL)
57 Int_t fSide; // TPC side; 0:Shaft Side (A) -- 1:Muon Side (C)
58 Int_t fSector; // Number of sector (0-17)
59 Int_t fNum; // Position depands from type of sensor.
60 // fType=0(0-4) from inside to outside
61 // fType=1(0-5) fom A side to C side
62 // fType=2(0-5) fom A side to C side
63 // fType=3(0) one per sector
66 // fType=6(0-1) 0:input -- 1:output
69 ClassDef(AliTPCSensorPressure,1);