![]() |
AliRoot Core
3dc7879 (3dc7879)
|
Container class for temperature sensor positions. More...
#include <AliEMCALSensorTemp.h>
Public Member Functions | |
AliEMCALSensorTemp () | |
Default constructor. More... | |
AliEMCALSensorTemp (const AliEMCALSensorTemp &source) | |
Copy constructor. More... | |
virtual | ~AliEMCALSensorTemp () |
AliEMCALSensorTemp & | operator= (const AliEMCALSensorTemp &source) |
Assignment operator. More... | |
Int_t | GetSide () const |
Int_t | GetSector () const |
Int_t | GetNum () const |
void | SetSide (Int_t side) |
void | SetSector (Int_t sector) |
void | SetNum (Int_t num) |
![]() | |
AliDCSSensor () | |
AliDCSSensor (const AliDCSSensor &source) | |
virtual | ~AliDCSSensor () |
AliDCSSensor & | operator= (const AliDCSSensor &source) |
virtual void | Print (const Option_t *option="") const |
virtual void | Draw (Option_t *option="") |
Int_t | GetId () const |
Int_t | GetIdDCS () const |
const TString & | GetStringID () const |
Double_t | GetX () const |
Double_t | GetY () const |
Double_t | GetZ () const |
Double_t | GetR () const |
Double_t | GetPhi () const |
UInt_t | GetStartTime () const |
UInt_t | GetEndTime () const |
TGraph * | GetGraph () const |
AliSplineFit * | GetFit () const |
void | SetId (Int_t id) |
void | SetIdDCS (Int_t iddcs) |
void | SetStringID (const TString &stringID) |
void | SetX (Double_t x) |
void | SetY (Double_t y) |
void | SetZ (Double_t z) |
void | SetGraph (TGraph *gr) |
void | SetFit (AliSplineFit *f) |
void | SetStartTime (UInt_t stime) |
void | SetStartTime (TTimeStamp time) |
void | SetEndTime (UInt_t stime) |
void | SetEndTime (TTimeStamp time) |
Double_t | GetValue (UInt_t timeSec) |
Double_t | GetValue (TTimeStamp time) |
Double_t | Eval (const TTimeStamp &time, Bool_t &inside) const |
Double_t | EvalGraph (const TTimeStamp &time, Bool_t &inside) const |
Double_t | EvalGraph (const Double_t &timeHour) const |
TGraph * | MakeGraph (Int_t nPoints=100, Bool_t debug=kFALSE) const |
Static Public Member Functions | |
static TClonesArray * | ReadList (const char *fname, const TString &amandaString=kAmandaString) |
Read values from ascii file. More... | |
static TClonesArray * | ReadTree (TTree *tree, const TString &amandaString=kAmandaString) |
Read selected info from TTree. More... | |
![]() | |
static TClonesArray * | ReadTree (TTree *tree) |
Protected Attributes | |
Int_t | fSide |
EMCAL side; 0:Shaft Side (A) – 1:Muon Side (C) More... | |
Int_t | fSector |
Number of sector (0-5) More... | |
Int_t | fNum |
Number within a SuperModule: 8 sensors => index range 0-7. More... | |
![]() | |
Int_t | fId |
Int_t | fIdDCS |
TString | fStringID |
UInt_t | fStartTime |
UInt_t | fEndTime |
TGraph * | fGraph |
AliSplineFit * | fFit |
Double_t | fX |
Double_t | fY |
Double_t | fZ |
Container class for temperature sensor positions.
Class describing EMCAL temperature sensors (including pointers to graphs/fits)
Running instructions:
TClonesArray * arr = AliEMCALSensorTemp::ReadList("TempSensor.txt","emc_PT_%d.Temperature"); TFile f("TempSensors.root","RECREATE"); TTree * tree = new TTree("TempSensor", "TempSensor"); tree->Branch("Temp",&arr); tree->Fill(); tree->Write();
Definition at line 46 of file AliEMCALSensorTemp.h.
AliEMCALSensorTemp::AliEMCALSensorTemp | ( | ) |
Default constructor.
Definition at line 27 of file AliEMCALSensorTemp.cxx.
Referenced by operator=().
AliEMCALSensorTemp::AliEMCALSensorTemp | ( | const AliEMCALSensorTemp & | source | ) |
Copy constructor.
Definition at line 36 of file AliEMCALSensorTemp.cxx.
|
inlinevirtual |
Definition at line 53 of file AliEMCALSensorTemp.h.
|
inline |
Definition at line 58 of file AliEMCALSensorTemp.h.
Referenced by AliEMCALSensorTempArray::GetSensor().
|
inline |
Definition at line 57 of file AliEMCALSensorTemp.h.
Referenced by AliEMCALSensorTempArray::GetSensor(), and AliEMCALCalibTimeDep::GetTemperatureSM().
|
inline |
Definition at line 56 of file AliEMCALSensorTemp.h.
Referenced by AliEMCALSensorTempArray::GetSensor(), AliEMCALCalibTimeDep::GetTemperatureSM(), and AliEMCALSensorTempArray::GetTempGradientY().
AliEMCALSensorTemp & AliEMCALSensorTemp::operator= | ( | const AliEMCALSensorTemp & | source | ) |
Assignment operator.
Definition at line 46 of file AliEMCALSensorTemp.cxx.
Referenced by ~AliEMCALSensorTemp().
|
static |
Read values from ascii file.
Definition at line 58 of file AliEMCALSensorTemp.cxx.
Referenced by AliEMCALSensorTempArray::AliEMCALSensorTempArray(), and SetNum().
|
static |
Read selected info from TTree.
Definition at line 71 of file AliEMCALSensorTemp.cxx.
Referenced by AliEMCALSensorTempArray::AliEMCALSensorTempArray(), ReadList(), AliEMCALSensorTempArray::ReadSensors(), and SetNum().
|
inline |
Definition at line 62 of file AliEMCALSensorTemp.h.
Referenced by ReadTree().
|
inline |
Definition at line 61 of file AliEMCALSensorTemp.h.
Referenced by ReadTree().
|
inline |
Definition at line 60 of file AliEMCALSensorTemp.h.
Referenced by ReadTree().
|
protected |
Number within a SuperModule: 8 sensors => index range 0-7.
Definition at line 75 of file AliEMCALSensorTemp.h.
|
protected |
Number of sector (0-5)
Definition at line 74 of file AliEMCALSensorTemp.h.
Referenced by GetSector(), and SetSector().
|
protected |
EMCAL side; 0:Shaft Side (A) – 1:Muon Side (C)
Definition at line 73 of file AliEMCALSensorTemp.h.