]>
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; | |
16 | ||
17 | #include "TObject.h" | |
18 | ||
19 | class AliPHOSClusterSelection : TObject { | |
20 | public: | |
21 | AliPHOSClusterSelection(); | |
22 | virtual ~AliPHOSClusterSelection(); | |
23 | ||
24 | // Selection functions | |
25 | virtual Bool_t IsSelected(AliVCluster* cluster) const; | |
26 | ||
27 | virtual Bool_t IsSelectedCPV(AliVCluster* cluster) const; | |
28 | virtual Bool_t IsSelectedUnfolded(AliVCluster* cluster) const; | |
29 | virtual Bool_t IsSelectedDisp(AliVCluster* cluster) const; | |
30 | virtual Bool_t IsSelectedDispCore(AliVCluster* cluster) const; | |
31 | virtual Bool_t IsSelectedTOF(AliVCluster* cluster) const; | |
32 | ||
33 | // Configuration Functions | |
34 | AliPHOSClusterSelection* SetMinChargedParticleTrackDistance(Float_t distance); | |
35 | AliPHOSClusterSelection* SetNotUnfolded(Bool_t notUnfolded); | |
36 | AliPHOSClusterSelection* SetMaxDispR2(Float_t maxR2); | |
37 | AliPHOSClusterSelection* SetMaxDispCoreR2(Float_t maxR2); | |
38 | AliPHOSClusterSelection* SetMaxTOF(Float_t maxTOF); | |
39 | ||
40 | AliPHOSClusterSelection* SetMinSelection(); | |
41 | ||
42 | virtual TString ToString() const; | |
43 | static Float_t SetMinChargedParticleTrackDistance(const TString string); | |
44 | ||
45 | protected: | |
46 | AliPHOSClusterSelection(const AliPHOSClusterSelection&); // not implemented | |
47 | AliPHOSClusterSelection& operator=(const AliPHOSClusterSelection&); // not implemented | |
48 | ||
49 | // Selection Parameters | |
50 | Float_t fMinChargedParticleTrackDistance; // CPV, Charged Particle Veto | |
51 | Bool_t fNotUnfolded; // if true, rejects Unfolded Clusters | |
52 | Float_t fMaxDispR2; // dispersion cut | |
53 | Float_t fMaxDispCoreR2; // dispersion cut of core cells | |
54 | Float_t fMaxTOF; // TOF cut | |
55 | ||
56 | ClassDef(AliPHOSClusterSelection, 1); | |
57 | }; | |
58 | ||
59 | #endif |