AliPhysics  9b6b435 (9b6b435)
AliEmcalESDHybridTrackCuts.h
Go to the documentation of this file.
1 /************************************************************************************
2  * Copyright (C) 2017, Copyright Holders of the ALICE Collaboration *
3  * All rights reserved. *
4  * *
5  * Redistribution and use in source and binary forms, with or without *
6  * modification, are permitted provided that the following conditions are met: *
7  * * Redistributions of source code must retain the above copyright *
8  * notice, this list of conditions and the following disclaimer. *
9  * * Redistributions in binary form must reproduce the above copyright *
10  * notice, this list of conditions and the following disclaimer in the *
11  * documentation and/or other materials provided with the distribution. *
12  * * Neither the name of the <organization> nor the *
13  * names of its contributors may be used to endorse or promote products *
14  * derived from this software without specific prior written permission. *
15  * *
16  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND *
17  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED *
18  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE *
19  * DISCLAIMED. IN NO EVENT SHALL ALICE COLLABORATION BE LIABLE FOR ANY *
20  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES *
21  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; *
22  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND *
23  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT *
24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
25  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
26  ************************************************************************************/
27 #ifndef ALIEMCALESDHYBRIDTRACKCUTS_H
28 #define ALIEMCALESDHYBRIDTRACKCUTS_H
29 
30 #include "AliEmcalCutBase.h"
31 
32 class AliESDtrackCuts;
33 class AliESDtrack;
34 class AliVTrack;
35 
36 namespace PWG {
37 
38 namespace EMCAL {
39 
53 public:
54 
63  };
64 
69 
76  AliEmcalESDHybridTrackCuts(const char *name, HybridDefinition_t def);
77 
82 
91 
98 
104  void SetUseNoITSrefitTracks(bool doUse) { fSelectNonRefitTracks = doUse; }
105 
114  Int_t GetTPCTRDNumberOfClusters(const AliVTrack *const trk) const;
115 
121  Double_t GetPtDepCutTPCTRDNumberOfClusters(const AliVTrack *const trk) const;
122 
130  Bool_t IsActiveITSModule(const AliESDtrack *const trk, int layer) const;
131 
132 protected:
133 
140  void Init();
141 
150  void InitHybridTracks2010();
151 
161  void InitHybridTracks2011();
162 
172 
173 private:
177  AliESDtrackCuts *fHybridTrackCutsGlobal;
178  AliESDtrackCuts *fHybridTrackCutsConstrained;
179  AliESDtrackCuts *fHybridTrackCutsNoItsRefit;
180 
184 
185  ClassDef(AliEmcalESDHybridTrackCuts, 1);
186 };
187 
188 }
189 
190 }
191 
192 #endif
Bool_t fRequireTPCTRDClusters
Require TPC and TRD combined number of clusters.
double Double_t
Definition: External.C:58
void Init()
Steer initialization of track cuts objects.
void SetUseNoITSrefitTracks(bool doUse)
Define whether to use non-ITStrefit tracks.
AliESDtrackCuts * fHybridTrackCutsConstrained
Track cuts for constrained hybrid tracks.
void SetHybridDefinition(HybridDefinition_t def)
Set the hybrid track definition used in the hybrid track selection.
Structure containing the result of a given track selection step.
Double_t GetPtDepCutTPCTRDNumberOfClusters(const AliVTrack *const trk) const
Get the -dependent number of TPC+TRD clusters cut.
Int_t fMinClustersTPCTRD
Minimum number of TPC+TRD combined clusters.
Definition for the 2018 TRD reconstruction test.
Definition used for 2010 pass1-2 and LHC11a.
Track cuts object selecting hybrid tracks from ESDs.
HybridDefinition_t
Definition of various hybrid track selections.
Namespace for EMCAL framework classes and task.
virtual AliEmcalTrackSelResultPtr IsSelected(TObject *o)
Test whether track is accepted as hybrid track.
int Int_t
Definition: External.C:63
Double_t fPtDepParamClusterCut
weight parameter for the dependent cluster cut
AliESDtrackCuts * fHybridTrackCutsNoItsRefit
Track cuts for complementary hybrid tracks (constrained without ITSrefit)
Int_t GetTPCTRDNumberOfClusters(const AliVTrack *const trk) const
Get the combined number of TPC crossed rows + TRD clusters.
Namespace for PWG framework classes.
bool fLocalInitialized
Local init status flag steering lazy initialization.
void InitHybridTracks2010()
Initialize hybrid track selection using the 2010 definition.
void InitHybridTracks2011()
Initialize hybrid track selection using the 2011 definition.
void InitHybridTracks2018TRD()
Initialize hybrid track selection used for the TRD tracking test.
HybridDefinition_t fHybridTrackDefinition
Setting for hybrid track definition.
AliESDtrackCuts * fHybridTrackCutsGlobal
Track cuts for global hybrid tracks.
Interface for a cut class returning selection status and user information.
bool Bool_t
Definition: External.C:53
bool fSelectNonRefitTracks
Select tracks which did not pass ITS refit.
Bool_t IsActiveITSModule(const AliESDtrack *const trk, int layer) const
Check if ITS module in the layer is considerd as active.