]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliRunTagCuts.h
Addition of gaussian truncated at different left and right distances (useful for...
[u/mrichter/AliRoot.git] / STEER / AliRunTagCuts.h
CommitLineData
0c4ee52f 1#ifndef ALIRUNTAGCUTS_H
2#define ALIRUNTAGCUTS_H
3/* See cxx source for full Copyright notice */
4
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Class AliRunTagCuts
10// This is the class for the cuts in run tags
11//
12// Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13//-------------------------------------------------------------------------
14
15#include <TObject.h>
16
17class AliRunTag;
18
19//___________________________________________________________________________
20class AliRunTagCuts : public TObject {
21 public:
22 AliRunTagCuts();
23 ~AliRunTagCuts();
24 void Reset();
25
26 //____________________________________________________//
27 void SetRunId(Int_t Pid) {fAliceRunId = Pid; fAliceRunIdFlag = kTRUE;}
28 void SetMagneticField(Float_t Pmag) {fAliceMagneticField = Pmag; fAliceMagneticFieldFlag = kTRUE;}
29 void SetRunStartTimeRange(Int_t t0, Int_t t1) {fAliceRunStartTimeMin = t0; fAliceRunStartTimeMax = t1; fAliceRunStartTimeFlag = kTRUE;}
30 void SetRunStopTimeRange(Int_t t0, Int_t t1) {fAliceRunStopTimeMin = t0; fAliceRunStopTimeMax = t1; fAliceRunStartTimeFlag = kTRUE;}
c1807d02 31 void SetAlirootVersion(TString v) {fAlirootVersion = "VO_ALICE@AliRoot::"; fAlirootVersion += v; fAlirootVersionFlag = kTRUE;}
32 void SetRootVersion(TString v) {fRootVersion = "VO_ALICE@ROOT::"; fRootVersion += v; fRootVersionFlag = kTRUE;}
33 void SetGeant3Version(TString v) {fGeant3Version = "VO_ALICE@GEANT3::"; fGeant3Version += v; fGeant3VersionFlag = kTRUE;}
0c4ee52f 34 void SetRunQuality(Int_t Pn) {fAliceRunQuality = Pn; fAliceRunQualityFlag = kTRUE;}
35 void SetBeamEnergy(Float_t PE) {fAliceBeamEnergy = PE; fAliceBeamTypeFlag = kTRUE;}
36 void SetBeamType(TString Ptype) {fAliceBeamType = Ptype; fAliceCalibrationVersionFlag = kTRUE;}
37 void SetCalibVersion(Int_t Pn) {fAliceCalibrationVersion = Pn; fAliceCalibrationVersionFlag = kTRUE;}
38 void SetDataType(Int_t i) {fAliceDataType = i; fAliceDataTypeFlag = kTRUE;}
39
40 Bool_t IsAccepted(AliRunTag *RunTag) const;
41
42 //____________________________________________________//
43 private:
44 Int_t fAliceRunId; //the run id
45 Bool_t fAliceRunIdFlag; //Shows whether this cut is used or not
46 Float_t fAliceMagneticField; //value of the magnetic field
47 Bool_t fAliceMagneticFieldFlag; //Shows whether this cut is used or not
48 Int_t fAliceRunStartTimeMin; //minimum run start date
49 Int_t fAliceRunStartTimeMax; //maximum run start date
50 Bool_t fAliceRunStartTimeFlag; //Shows whether this cut is used or not
51 Int_t fAliceRunStopTimeMin; //minmum run stop date
52 Int_t fAliceRunStopTimeMax; //maximum run stop date
53 Bool_t fAliceRunStopTimeFlag; //Shows whether this cut is used or not
54 TString fAlirootVersion; //aliroot version
55 Bool_t fAlirootVersionFlag; //Shows whether this cut is used or not
56 TString fRootVersion; //root version
57 Bool_t fRootVersionFlag; //Shows whether this cut is used or not
58 TString fGeant3Version; //geant3 version
59 Bool_t fGeant3VersionFlag; //Shows whether this cut is used or not
60 Bool_t fAliceRunQuality; //validation script
61 Bool_t fAliceRunQualityFlag; //Shows whether this cut is used or not
62 Float_t fAliceBeamEnergy; //beam energy cm
63 Bool_t fAliceBeamEnergyFlag; //Shows whether this cut is used or not
64 TString fAliceBeamType; //run type (pp, AA, pA)
65 Bool_t fAliceBeamTypeFlag; //Shows whether this cut is used or not
66 Int_t fAliceCalibrationVersion; //calibration version
67 Bool_t fAliceCalibrationVersionFlag; //Shows whether this cut is used or not
68 Int_t fAliceDataType; //0: simulation -- 1: data
69 Bool_t fAliceDataTypeFlag; //Shows whether this cut is used or not
70
71 ClassDef(AliRunTagCuts, 1)
72};
73
74#endif