AliPhysics  ed8caee (ed8caee)
AliEmcalAODHybridTrackCuts.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 ALIEMCALAODHYBRIDTRACKCUTS_H
28 #define ALIEMCALAODHYBRIDTRACKCUTS_H
29 
30 #include "AliEmcalCutBase.h"
31 
32 namespace PWG {
33 
34 namespace EMCAL {
35 
50  public:
51 
56 
62  AliEmcalAODHybridTrackCuts(const char *name);
63 
68 
76 
85  void SetSelectNonITSrefitTracks(bool doReject) { fSelectNonITSrefitTracks = doReject; }
86 
93  void SetHybridFilterBits(Int_t globalfilterbit, Int_t constrainedfilterbit) {
94  fHybridFilterBits[0] = globalfilterbit;
95  fHybridFilterBits[1] = constrainedfilterbit;
96  }
97 
98 private:
101 
103  ClassDef(AliEmcalAODHybridTrackCuts, 1);
105 };
106 
126 public:
128 
135 
139  void Init();
140 
147  bool RunAllTests() const;
148 
162  bool TestDef2010wRefit() const;
163 
178  bool TestDef2010woRefit() const;
179 
192  bool TestDef2011() const;
193 
194 private:
198 
201 
203  ClassDef(TestAliEmcalAODHybridTrackCuts, 1);
205 };
206 
207 }
208 
209 }
210 #endif
AliEmcalAODHybridTrackCuts * fDef2010woRefit
Hybrid track definition from 2010 excluding non-refit tracks.
AliEmcalAODHybridTrackCuts * fDef2011
Hybrid track definition from 2011 e.
Structure containing the result of a given track selection step.
AliEmcalAODHybridTrackCuts * fDef2010wRefit
Hybrid track definition from 2010 including non-refit tracks.
Namespace for EMCAL framework classes and task.
void SetSelectNonITSrefitTracks(bool doReject)
Switch on/off selection of hybrid tracks without ITSrefit.
int Int_t
Definition: External.C:63
void SetHybridFilterBits(Int_t globalfilterbit, Int_t constrainedfilterbit)
Set the filterbits used to distinguish the different hybrid track types.
Namespace for PWG framework classes.
Cut class selecting hybrid tracks using the IsHybrid function.
Bool_t fSelectNonITSrefitTracks
Select non-refit tracks.
Int_t fHybridFilterBits[2]
Bit numbers for various hybrid filter bits.
Interface for a cut class returning selection status and user information.
bool Bool_t
Definition: External.C:53
virtual AliEmcalTrackSelResultPtr IsSelected(TObject *o)
Run track selection of hybrid tracks.