FairRoot/PandaRoot
Functions
PndGoodTrackSelector.cxx File Reference
#include "PndGoodTrackSelector.h"
#include "PndPidCandidate.h"

Go to the source code of this file.

Functions

 ClassImp (PndGoodTrackSelector) void PndGoodTrackSelector
 

Function Documentation

ClassImp ( PndGoodTrackSelector  )

Definition at line 3 of file PndGoodTrackSelector.cxx.

References RhoParticleSelectorBase::SetCriterion(), and TString.

8 {
9  // Set criteria accroding to PANDA specifications.
10 //FIXME Insert sensible values!!!
11  TString crit ( c );
12 
13  if ( crit=="veryLoose" ) {
14 // SetNHitsCut ( 4 );
15  //SetPrimaryVertexCut ( 1.5,-10.,10. );
16  //SetMomentumCut ( 0,10. );
17  //SetPtCut ( 0.0 );
18  SetFitCut ( 1e8, 0.001 );
19  SetMvdHits(0);
20  SetSttHits(0);
21  SetGemHits(0);
22  SetFtsHits(0);
23  SetShowerEnergy(0);
24  } else if ( crit=="loose" ) {
25 // SetNHitsCut ( 11 );
26  SetPrimaryVertexCut ( 1.5,-10.,10. );
27  SetMomentumCut ( 0,10. );
28  SetPtCut ( 0.1 );
29  SetFitCut ( 1e8, 0.01 );
30  SetMvdHits(3);
31  SetSttHits(0);
32  SetGemHits(0);
33  SetFtsHits(0);
34  SetShowerEnergy(0);
35  } else {
36 // SetNHitsCut ( 19 );
37  SetPrimaryVertexCut ( 1.0,-3.,3. ); //cm
38  SetMomentumCut ( 0.1,10. ); //GeV/c
39  //SetPtCut ( 0.1 ); //GeV/c
40  SetFitCut ( 1e5,0.01 ); // ciqmax,probmin
41  SetMvdHits(3);
42  SetSttHits(0);
43  SetGemHits(0);
44  SetFtsHits(0);
45  SetShowerEnergy(0);
46  }
47 
49 }
virtual void SetCriterion(const char *crit)