]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEreducedEventCreatorESD.h
Updates for TRD HFE analysis
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEreducedEventCreatorESD.h
CommitLineData
3513afb7 1/**************************************************************************
2* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3* *
4* Author: The ALICE Off-line Project. *
5* Contributors are mentioned in the code where appropriate. *
6* *
7* Permission to use, copy, modify and distribute this software and its *
8* documentation strictly for non-commercial purposes is hereby granted *
9* without fee, provided that the above copyright notice appears in all *
10* copies and that both the copyright notice and this permission notice *
11* appear in the supporting documentation. The authors make no claims *
12* about the suitability of this software for any purpose. It is *
13* provided "as is" without express or implied warranty. *
14**************************************************************************/
15//
16// Debug tree to look at the distribution of the variable we are cutting on
17//
18//
19#ifndef ALIHFEREDUCEDEVENTCREATORESD_H
20#define ALIHFEREDUCEDEVENTCREATORESD_H
21
22#include "AliAnalysisTaskSE.h"
23
24class TString;
25class TTree;
26class AliAnalysisUtils;
27class AliPIDResponse;
28class AliHFEcuts;
29class AliHFEextraCuts;
30class AliHFEpidTPC;
618038b6 31class AliTRDTriggerAnalysis;
3513afb7 32class AliHFEsignalCuts;
33class AliHFEreducedEvent;
34
35class AliHFEreducedEventCreatorESD : public AliAnalysisTaskSE{
36 public:
37 AliHFEreducedEventCreatorESD();
38 AliHFEreducedEventCreatorESD(const char *name);
39 virtual ~AliHFEreducedEventCreatorESD();
40
41 virtual void UserCreateOutputObjects();
42 virtual void UserExec(Option_t *);
43 virtual void Terminate(Option_t *);
44
45 // Setters for cuts
46 void SetMinNclustersTPC(Int_t mincl) { fNclustersTPC = mincl; };
47 void SetMinNclustersTPCPID(Int_t mincl) { fNclustersTPCPID = mincl; };
48 void SetMinNclustersITS(Int_t mincl) { fNclustersITS = mincl; };
49 void SetRemoveFirstEventFromChunk() { fRemoveFirstEvent = kTRUE; }
50 AliHFEpidTPC *GetTPCResponse() { return fTPCpid; }
51
52 Bool_t IsTOFmismatch(const AliVTrack *const track, const AliPIDResponse *const pid) const;
53
54 private:
55 AliHFEreducedEventCreatorESD(const AliHFEreducedEventCreatorESD &);
56 AliHFEreducedEventCreatorESD &operator=(const AliHFEreducedEventCreatorESD &);
57
58 TTree *fHFEtree; // HFE tree
59 AliAnalysisUtils *fAnalysisUtils; // Analysis Utils
60 AliHFEreducedEvent *fHFEevent; // hfe event
61 AliHFEcuts *fTrackCuts; // Track
62 AliHFEextraCuts *fExtraCuts; // HFE IP info
63 AliHFEsignalCuts *fSignalCuts; // Signal Cuts
64 AliHFEpidTPC *fTPCpid; // TPC PID
618038b6 65 AliTRDTriggerAnalysis *fTRDTriggerAnalysis; //! TRD Trigger Analysis
3513afb7 66 Int_t fEventNumber; // Event Number
67 Int_t fNclustersTPC; // Min Number of clusters in TPC
68 Int_t fNclustersTPCPID; // Min Number of clusters for TPC PID
69 Int_t fNclustersITS; // Min Number of clusters in ITS
70 Bool_t fRemoveFirstEvent; // Remove first event from chunk
71
72 ClassDef(AliHFEreducedEventCreatorESD, 1)
73 };
74#endif
75
76