Read Config entry from OCDB (Haavard)
[u/mrichter/AliRoot.git] / TPC / AliTPCSensorTemp.h
CommitLineData
54472e4f 1#ifndef AliTPCSensorTemp_H
2#define AliTPCSensorTemp_H
3/* Copyright(c) 2006-07, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7////////////////////////////////////////////////////////////////////////////
8// Container class for temperature sensor positions
9////////////////////////////////////////////////////////////////////////////
10
11
12#include "TMath.h"
13#include "AliSplineFit.h"
14#include "AliDCSSensor.h"
15#include "TTree.h"
16
17class TObject;
18class TClonesArray;
19class TObjArray;
20class TGraph;
21class TVector3;
22class TFile;
23class TString;
24class TTimeStamp;
25
26
27////////////////////////////////////////////////////////////////////////
28// Class AliTPCSensorTempSensors
29////////////////////////////////////////////////////////////////////////
30
31class AliTPCSensorTemp : public AliDCSSensor {
32
33public:
34 AliTPCSensorTemp();
35 AliTPCSensorTemp(const AliTPCSensorTemp& source);
36 virtual ~AliTPCSensorTemp(){}
37 AliTPCSensorTemp& operator=(const AliTPCSensorTemp& source);
38
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; }
43
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; }
48
49
50 static TClonesArray * ReadList(const char *fname);
24938b4c 51 static TClonesArray * ReadTree(TTree *tree);
54472e4f 52
53protected:
54 Int_t fType; // Position of sensors on fieldcage
55 // (0=ROC,1=OFC,2=IFC,3=TPC,4=ELM,5=TS,6=COOL)
56 Int_t fSide; // TPC side; 0:Shaft Side (A) -- 1:Muon Side (C)
57 Int_t fSector; // Number of sector (0-17)
58 Int_t fNum; // Position depands from type of sensor.
59 // fType=0(0-4) from inside to outside
60 // fType=1(0-5) fom A side to C side
61 // fType=2(0-5) fom A side to C side
62 // fType=3(0) one per sector
63 // fType=4()
64 // fType=5()
65 // fType=6(0-1) 0:input -- 1:output
66
67
24938b4c 68 ClassDef(AliTPCSensorTemp,1)
54472e4f 69};
70#endif