X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliEventTag.h;h=5a6aa33fbc9077dac5df528f415cf95e8eed0bc3;hb=fc6d4c2d6f76afc41b354bea94924b8ade89e9cc;hp=b98c1059dfefe3589be0ff14962da5378dfe9435;hpb=4c454ade741a4b8aa6d8173c8de5be1fb05c8c2a;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliEventTag.h b/STEER/AliEventTag.h index b98c1059dfe..5a6aa33fbc9 100644 --- a/STEER/AliEventTag.h +++ b/STEER/AliEventTag.h @@ -30,14 +30,16 @@ class AliEventTag : public TObject { void SetOrbitNumber(UInt_t n) {fOrbitNumber = n;} void SetBunchCrossNumber(UShort_t n) {fBunchCrossNumber = n;} - void SetFiredTriggerClasses(TString names) {fFiredTriggerClasses = names;} + //*T* void SetFiredTriggerClasses(TString names) {fFiredTriggerClasses = names;} void SetEventType(UInt_t ntype) {fEventType = ntype;} + void SetPhysicsFlag(UShort_t nflag) {fPhysicsFlag = nflag;} + void SetBackgroungFlag(UShort_t nflag) {fBackgroundFlag = nflag;} - void SetGUID(TString Pid) {fGUID = Pid;} - void SetPath(TString Pid) {fPath = Pid;} - void SetMD5(TString Pid) {fmd5 = Pid;} - void SetTURL(TString Pid) {fturl = Pid;} - void SetSize(Long64_t i) {fsize = i;} +/* void SetGUID(TString Pid); */ +/* void SetPath(TString Pid); */ +/* void SetMD5(TString Pid); */ +/* void SetTURL(TString Pid); */ +/* void SetSize(Long64_t i); */ void SetNumOfParticipants(Int_t P) {fNumberOfParticipants = P;} void SetNumOfParticipants2(Int_t P2) {fNumberOfParticipants = P2;} void SetImpactParameter(Float_t Pimpact) {fImpactParameter = Pimpact;} @@ -81,6 +83,7 @@ class AliEventTag : public TObject { void SetNumOfElectronsAbove10GeV(Int_t i) {fNumberOfElectronsAbove10GeV = i;} void SetNumOfElectrons(Int_t Ptr) {fNumberOfElectrons = Ptr;} void SetNumOfFWMuons(Int_t Ptr) {fNumberOfFWMuons = Ptr;} + void SetNumOfFWMatchedMuons(Int_t Ptr) {fNumberOfFWMatchedMuons = Ptr;} void SetNumOfMuons(Int_t Ptr) {fNumberOfMuons = Ptr;} void SetNumOfPions(Int_t Ptr) {fNumberOfPions = Ptr;} void SetNumOfKaons(Int_t Ptr) {fNumberOfKaons = Ptr;} @@ -93,6 +96,8 @@ class AliEventTag : public TObject { void SetTotalMomentum(Float_t P) {fTotalP = P;} void SetMeanPt(Float_t Pt) {fMeanPt = Pt;} void SetMaxPt(Float_t Pt) {fMaxPt = Pt;} + void SetEtaMaxPt(Float_t eta) {fEtaMaxPt = eta;} + void SetPhiMaxPt(Float_t phi) {fPhiMaxPt = phi;} void SetNeutralTotalMomentum(Float_t f) {fTotalNeutralP = f;} void SetNeutralMeanPt(Float_t f) {fMeanNeutralPt = f;} void SetNeutralMaxPt(Float_t f) {fMaxNeutralPt = f;} @@ -104,24 +109,27 @@ class AliEventTag : public TObject { void SetNumberOfFiredChipsLayer2(Int_t n) {fNumberOfFiredChipsLayer2 = n;} void SetNumberOfSPDTracklets(Int_t n) {fNumberOfSPDTracklets = n;} - void SetMTotV0A(Int_t mult) {fMTotV0A = mult;} - void SetMTotV0C(Int_t mult) {fMTotV0C = mult;} + void SetMTotV0A(Float_t mult) {fMTotV0A = mult;} + void SetMTotV0C(Float_t mult) {fMTotV0C = mult;} void SetNbPMV0A(Short_t npmt) {fNbPMV0A = npmt;} void SetNbPMV0C(Short_t npmt) {fNbPMV0C = npmt;} - + void SetEventId(Int_t /*id*/) {;} //____________________________________________________// UInt_t GetPeriodNumber() const {return fPeriodNumber;} UInt_t GetOrbitNumber() const {return fOrbitNumber;} UShort_t GetBunchCrossNumber() const {return fBunchCrossNumber;} - TString GetFiredTriggerClasses() const {return fFiredTriggerClasses;} + //*T* TString GetFiredTriggerClasses() const {return fFiredTriggerClasses;} + TString GetFiredTriggerClasses(TString actclass) const; //*T* {return fFiredTriggerClasses;} UInt_t GetEventType() const {return fEventType;} + UShort_t GetPhysicsFlag() const {return fPhysicsFlag;} + UShort_t GetBackgroundFlag() const {return fBackgroundFlag;} - const char *GetGUID() const {return fGUID.Data();} - const char *GetPath() const {return fPath.Data();} - const char *GetMD5() const {return fmd5.Data();} - const char *GetTURL() const {return fturl.Data();} - Long64_t GetSize() const {return fsize;} +/* const char *GetGUID() const {return ((AliFileTag *) fFileRef.GetObject())->GetGUID();} */ +/* const char *GetPath() const {return ((AliFileTag *) fFileRef.GetObject())->GetPath();} */ +/* const char *GetMD5() const {return ((AliFileTag *) fFileRef.GetObject())->GetMD5();} */ +/* const char *GetTURL() const {return ((AliFileTag *) fFileRef.GetObject())->GetTURL();} */ +/* Long64_t GetSize() const {return ((AliFileTag *) fFileRef.GetObject())->GetSize();} */ Int_t GetNumOfParticipants() const {return fNumberOfParticipants;} Int_t GetNumOfParticipants2() const {return fNumberOfParticipants2;} Float_t GetImpactParameter() const {return fImpactParameter;} @@ -164,6 +172,7 @@ class AliEventTag : public TObject { Int_t GetNumOfElectronsAbove10GeV() const {return fNumberOfElectronsAbove10GeV;} Int_t GetNumOfElectrons() const {return fNumberOfElectrons;} Int_t GetNumOfFWMuons() const {return fNumberOfFWMuons;} + Int_t GetNumOfFWMatchedMuons() const {return fNumberOfFWMatchedMuons;} Int_t GetNumOfMuons() const {return fNumberOfMuons;} Int_t GetNumOfPions() const {return fNumberOfPions;} Int_t GetNumOfKaons() const {return fNumberOfKaons;} @@ -176,6 +185,8 @@ class AliEventTag : public TObject { Float_t GetTotalMomentum() const {return fTotalP;} Float_t GetMeanPt() const {return fMeanPt;} Float_t GetMaxPt() const {return fMaxPt;} + Float_t GetEtaMaxPt() const {return fEtaMaxPt;} + Float_t GetPhiMaxPt() const {return fPhiMaxPt;} Float_t GetNeutralTotalMomentum() const {return fTotalNeutralP;} Float_t GetNeutralMeanPt() const {return fMeanNeutralPt;} Float_t GetNeutralMaxPt() const {return fMaxNeutralPt;} @@ -187,8 +198,8 @@ class AliEventTag : public TObject { Int_t GetNumberOfFiredChipsLayer2() const {return fNumberOfFiredChipsLayer2;} Int_t GetNumberOfSPDTracklets() const {return fNumberOfSPDTracklets;} - Int_t GetMTotV0A() const {return fMTotV0A;} - Int_t GetMTotV0C() const {return fMTotV0C;} + Float_t GetMTotV0A() const {return fMTotV0A;} + Float_t GetMTotV0C() const {return fMTotV0C;} Short_t GetNbPMV0A() const {return fNbPMV0A;} Short_t GetNbPMV0C() const {return fNbPMV0C;} @@ -197,14 +208,16 @@ class AliEventTag : public TObject { UInt_t fPeriodNumber; //The period number UInt_t fOrbitNumber; //The orbit number UShort_t fBunchCrossNumber; //The BC number - TString fFiredTriggerClasses; //List of the fired trigger class names + //*T* TString fFiredTriggerClasses; //List of the fired trigger class names UInt_t fEventType; //event type == 7 ==> PHYSICS_EVENT + UShort_t fPhysicsFlag; //1 - flagged as correct physics event + UShort_t fBackgroundFlag; //1 - flagged by the background rejection procedure - TString fGUID; //The unique identifier of the file - TString fPath; //The file's path (local storage) - Long64_t fsize; //the size of the file - TString fmd5; //another file identifier - TString fturl; //the file's url +/* TString fGUID; //The unique identifier of the file */ +/* TString fPath; //The file's path (local storage) */ +/* Long64_t fsize; //the size of the file */ +/* TString fmd5; //another file identifier */ +/* TString fturl; //the file's url */ Int_t fNumberOfParticipants; //Number of participants - side C Int_t fNumberOfParticipants2; //Number of participants - side A Float_t fImpactParameter; //The impact parameter @@ -247,6 +260,7 @@ class AliEventTag : public TObject { Int_t fNumberOfElectronsAbove10GeV; //Number of electrons above 10 GeV/c Int_t fNumberOfElectrons; //Number of electrons Int_t fNumberOfFWMuons; //Number of forward muons + Int_t fNumberOfFWMatchedMuons; //Number of forward matched muons Int_t fNumberOfMuons; //Number of muons Int_t fNumberOfPions; //Number of pions Int_t fNumberOfKaons; //Number of kaons @@ -259,6 +273,8 @@ class AliEventTag : public TObject { Float_t fTotalP; //Sum of the momentum per event Float_t fMeanPt; //Mean Pt per event Float_t fMaxPt; //Max Pt for each event + Float_t fEtaMaxPt; //Eta of the particle with max pt (leading particle) + Float_t fPhiMaxPt; //Phi of the particle with max pt (leading particle) Float_t fTotalNeutralP; //Sum of the momentum per event for neutral Float_t fMeanNeutralPt; //Mean Pt per event for neutral Float_t fMaxNeutralPt; //Max Pt for each event for neutral @@ -270,13 +286,13 @@ class AliEventTag : public TObject { Int_t fNumberOfFiredChipsLayer2; //number of fired chips - layer 2 Int_t fNumberOfSPDTracklets; //number of SPD tracklets - Int_t fMTotV0A; //Total multiplicity in V0 A side - Int_t fMTotV0C; //Total multiplicity in V0 C side + Float_t fMTotV0A; //Total multiplicity in V0 A side + Float_t fMTotV0C; //Total multiplicity in V0 C side Short_t fNbPMV0A; //Total number of fired channels in V0 A side Short_t fNbPMV0C; //Total number of fired channels in V0 C side - ClassDef(AliEventTag,12) //(ClassName, ClassVersion) - }; + ClassDef(AliEventTag,17) //(ClassName, ClassVersion) + }; //___________________________________________________________________________