PandaRoot
PndGoodTrackSelector.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PNDGOODTRACKSELECTOR_H
14 #define PNDGOODTRACKSELECTOR_H
15 
16 #include "RhoGoodTrackSelector.h"
17 
19 
20  public:
21  virtual Bool_t Accept(PndPidCandidate *);
22  void SetCriterion(const char *crit);
23 
24  // virtual Bool_t Accept(RhoCandidate& ) ;
25 
26  void SetMvdHits(Int_t min, Int_t max = 65535)
27  {
28  fMvdHitsMin = min;
29  fMvdHitsMax = max;
30  }
31 
32  void SetSttHits(Int_t min, Int_t max = 65535)
33  {
34  fSttHitsMin = min;
35  fSttHitsMax = max;
36  }
37 
38  void SetGemHits(Int_t min, Int_t max = 65535)
39  {
40  fGemHitsMin = min;
41  fGemHitsMax = max;
42  }
43 
44  void SetFtsHits(Int_t min, Int_t max = 65535)
45  {
46  fFtsHitsMin = min;
47  fFtsHitsMax = max;
48  }
49 
50  void SetShowerEnergy(Double_t min, Double_t max = 1.E8)
51  {
52  fEmcMin = min;
53  fEmcMax = max;
54  }
55 
56  Int_t fMvdHitsMin, fMvdHitsMax; // Number of Mvd hits
57  Int_t fSttHitsMin, fSttHitsMax; // Number of Mvd hits
58  Int_t fGemHitsMin, fGemHitsMax; // Number of Mvd hits
59  Int_t fFtsHitsMin, fFtsHitsMax; // Number of Mvd hits
60  Double_t fEmcMin, fEmcMax; // In addition: associated bump energy
61 
63 };
64 
65 #endif
virtual Bool_t Accept(PndPidCandidate *)
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:37
void SetMvdHits(Int_t min, Int_t max=65535)
void SetCriterion(const char *crit)
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:36
void SetFtsHits(Int_t min, Int_t max=65535)
void SetGemHits(Int_t min, Int_t max=65535)
void SetSttHits(Int_t min, Int_t max=65535)
ClassDef(PndGoodTrackSelector, 1)
void SetShowerEnergy(Double_t min, Double_t max=1.E8)