Fix Coverity 10974-82
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / AliFemtoShareQualityTPCEntranceSepQAPairCut.h
CommitLineData
f9210de7 1/////////////////////////////////////////////////////////////////////////////
2// //
3// AliFemtoShareQualityTPCEntranceSepQAPairCut - a pair cut which checks //
4// for some pair qualities that attempt to identify slit/doubly //
5// reconstructed tracks and also selects pairs based on their separation //
6// at the entrance to the TPC //
7// //
8/////////////////////////////////////////////////////////////////////////////
9/***************************************************************************
10 *
11 * $Id: AliFemtoShareQualityTPCEntranceSepQAPairCut.h,v 1.1.2.1 2007/10/19 13:35:33 akisiel Exp $
12 *
13 * Author: Adam Kisiel, Ohio State University, kisiel@mps.ohio-state.edu
14 ***************************************************************************
15 *
16 * Description: part of STAR HBT Framework: AliFemtoMaker package
17 * a cut to remove "shared" and "split" pairs
18 *
19 ***************************************************************************
20 *
21 *
22 **************************************************************************/
23
24
25#ifndef AliFemtoShareQualityTPCEntranceSepQAPairCut_H
26#define AliFemtoShareQualityTPCEntranceSepQAPairCut_H
27
28// do I need these lines ?
29//#ifndef StMaker_H
30//#include "StMaker.h"
31//#endif
32
33#include "AliFemtoPairCut.h"
34#include "AliFemtoShareQualityQAPairCut.h"
35
36class AliFemtoShareQualityTPCEntranceSepQAPairCut : public AliFemtoShareQualityQAPairCut{
37public:
38 AliFemtoShareQualityTPCEntranceSepQAPairCut();
39 AliFemtoShareQualityTPCEntranceSepQAPairCut(const AliFemtoShareQualityTPCEntranceSepQAPairCut& c);
40 virtual ~AliFemtoShareQualityTPCEntranceSepQAPairCut();
41
42 virtual bool Pass(const AliFemtoPair* pair);
43 virtual AliFemtoString Report();
44 virtual TList *ListSettings();
45 virtual AliFemtoPairCut* Clone();
46 void SetTPCEntranceSepMinimum(double dtpc);
47 void SetTPCEntranceSepMaximum(double dtpc);
48 void SetTPCEntranceSepQASwitch(bool Switch);
49 void SetTPCEntranceSepQAExclusionZone(double lo, double hi);
50
51 protected:
52 Double_t fDTPCMin; // Minimum allowed pair nominal separation at the entrance to the TPC
53 Double_t fDTPCMax; // Maximum allowed pair nominal separation at the entrance to the TPC
54 bool fDTPCQASwitch; // Turn on QA Exclusion Zone (true=on)
55 Double_t fDTPCQAExclusionZone[2]; // Exclusion Zone for pair nominal separation at the entrance to the TPC
56
57#ifdef __ROOT__
58 ClassDef(AliFemtoShareQualityTPCEntranceSepQAPairCut, 0)
59#endif
60};
61
62inline AliFemtoPairCut* AliFemtoShareQualityTPCEntranceSepQAPairCut::Clone() { AliFemtoShareQualityTPCEntranceSepQAPairCut* c = new AliFemtoShareQualityTPCEntranceSepQAPairCut(*this); return c;}
63
64#endif