]>
Commit | Line | Data |
---|---|---|
857ed760 HQ |
1 | #ifndef ALIPHOSCLUSTERSELECTION_CXX |
2 | #define ALIPHOSCLUSTERSELECTION_CXX | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | // Class for selection of PHOS clusters | |
8 | // Authors : Henrik Qvigstad | |
9 | // Date : 16.01.2014 | |
10 | /* $Id$ */ | |
11 | ||
12 | ||
13 | class AliVCluster; | |
14 | class AliESDCaloCluster; | |
15 | class AliAODCaloCluster; | |
cc909f95 | 16 | class AliVEvent; |
857ed760 HQ |
17 | |
18 | #include "TObject.h" | |
19 | ||
20 | class AliPHOSClusterSelection : TObject { | |
21 | public: | |
22 | AliPHOSClusterSelection(); | |
23 | virtual ~AliPHOSClusterSelection(); | |
24 | ||
25 | // Selection functions | |
26 | virtual Bool_t IsSelected(AliVCluster* cluster) const; | |
27 | ||
28 | virtual Bool_t IsSelectedCPV(AliVCluster* cluster) const; | |
29 | virtual Bool_t IsSelectedUnfolded(AliVCluster* cluster) const; | |
30 | virtual Bool_t IsSelectedDisp(AliVCluster* cluster) const; | |
31 | virtual Bool_t IsSelectedDispCore(AliVCluster* cluster) const; | |
32 | virtual Bool_t IsSelectedTOF(AliVCluster* cluster) const; | |
33 | ||
34 | // Configuration Functions | |
35 | AliPHOSClusterSelection* SetMinChargedParticleTrackDistance(Float_t distance); | |
36 | AliPHOSClusterSelection* SetNotUnfolded(Bool_t notUnfolded); | |
37 | AliPHOSClusterSelection* SetMaxDispR2(Float_t maxR2); | |
38 | AliPHOSClusterSelection* SetMaxDispCoreR2(Float_t maxR2); | |
39 | AliPHOSClusterSelection* SetMaxTOF(Float_t maxTOF); | |
40 | ||
41 | AliPHOSClusterSelection* SetMinSelection(); | |
42 | ||
43 | virtual TString ToString() const; | |
44 | static Float_t SetMinChargedParticleTrackDistance(const TString string); | |
45 | ||
46 | protected: | |
47 | AliPHOSClusterSelection(const AliPHOSClusterSelection&); // not implemented | |
48 | AliPHOSClusterSelection& operator=(const AliPHOSClusterSelection&); // not implemented | |
49 | ||
50 | // Selection Parameters | |
51 | Float_t fMinChargedParticleTrackDistance; // CPV, Charged Particle Veto | |
52 | Bool_t fNotUnfolded; // if true, rejects Unfolded Clusters | |
53 | Float_t fMaxDispR2; // dispersion cut | |
54 | Float_t fMaxDispCoreR2; // dispersion cut of core cells | |
55 | Float_t fMaxTOF; // TOF cut | |
cc909f95 HQ |
56 | |
57 | AliVEvent* GetCurrentEvent() const; | |
857ed760 HQ |
58 | |
59 | ClassDef(AliPHOSClusterSelection, 1); | |
60 | }; | |
61 | ||
62 | #endif |