AliRoot Core  3dc7879 (3dc7879)
AliTPCSensorTemp.h
Go to the documentation of this file.
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 
9 
10 
11 #include "AliDCSSensor.h"
12 #include "TTree.h"
13 
14 class TObject;
15 class TClonesArray;
16 class TObjArray;
17 class TGraph;
18 class TVector3;
19 class TFile;
20 class TString;
21 class TTimeStamp;
22 
23 
25 // Class AliTPCSensorTempSensors
27 
28 const TString kAmandaStringTPC("tpc_temp:PT_%d.Temperature");
29 
31 
32 public:
34  AliTPCSensorTemp(const AliTPCSensorTemp& source);
35  virtual ~AliTPCSensorTemp(){}
37 
38  Int_t GetType() const {return fType; }
39  Int_t GetSide() const {return fSide; }
40  Int_t GetSector() const {return fSector; }
41  Int_t GetNum() const {return fNum; }
42 
43  void SetType (Int_t type) {fType = type; }
44  void SetSide (Int_t side) {fSide = side; }
45  void SetSector (Int_t sector) {fSector = sector;}
46  void SetNum (Int_t num) {fNum = num; }
47 
48 
49  static TClonesArray * ReadList(const char *fname,
50  const TString& amandaString = kAmandaStringTPC);
51  static TClonesArray * ReadTree(TTree *tree,
52  const TString& amandaString = kAmandaStringTPC);
53 
54 protected:
55  Int_t fType;
56  // (0=ROC,1=OFC,2=IFC,3=TPC,4=ELM,5=TS,6=COOL)
57  Int_t fSide;
58  Int_t fSector;
59  Int_t fNum;
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
64  // fType=4()
65  // fType=5()
66  // fType=6(0-1) 0:input -- 1:output
67 
68 
70  ClassDef(AliTPCSensorTemp,1)
72 };
73 #endif
const TString kAmandaStringTPC("tpc_temp:PT_%d.Temperature")
Int_t GetNum() const
AliTPCSensorTemp & operator=(const AliTPCSensorTemp &source)
void SetNum(Int_t num)
#define TObjArray
Int_t fType
Position of sensors on fieldcage.
void SetType(Int_t type)
virtual ~AliTPCSensorTemp()
Class describing TPC temperature sensors (including pointers to graphs/fits.
Int_t fSide
TPC side; 0:Shaft Side (A) – 1:Muon Side (C)
static TClonesArray * ReadList(const char *fname, const TString &amandaString=kAmandaStringTPC)
TTree * tree
Int_t fSector
Number of sector (0-17)
void SetSide(Int_t side)
Int_t GetSector() const
Int_t fNum
Position depands from type of sensor.
Int_t GetType() const
static TClonesArray * ReadTree(TTree *tree, const TString &amandaString=kAmandaStringTPC)
Int_t GetSide() const
void SetSector(Int_t sector)
char * fname