PandaRoot
PndLmdNoiseTrkSuppressionTask.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 // -------------------------------------------------------------------------
14 // ----- PndLmdNoiseTrkSuppressionTask header file -----
15 // ----- Created 21/07/15 by A.Karavdina -----
16 // -------------------------------------------------------------------------
24 #ifndef PndLmdNoiseTrkSuppressionTask_H
25 #define PndLmdNoiseTrkSuppressionTask_H
26 
27 // framework includes
28 #include "FairTask.h"
29 // TMVA includes
30 #include "TMVA/MethodCuts.h"
31 #include "TMVA/Reader.h"
32 #include "TMVA/Tools.h"
33 
34 class PndLmdNoiseTrkSuppressionTask : public FairTask {
35  public:
38 
40  PndLmdNoiseTrkSuppressionTask(Double_t pBeam, TString dir);
41 
44 
46  virtual void SetParContainers();
47  virtual InitStatus Init();
49  virtual void Exec(Option_t *opt);
50 
51  // virtual void Finish();
52 
53  private:
54  TClonesArray *fTrkInArray;
55  TClonesArray *fTrkOutArray;
56 
57  // PndGeoHandling* fGeoH;
58  int fEventNr;
59  Double_t fPbeam;
60 
61  // MVA Data -------
62  TString fdir;
63  TString fmethodName;
64  Float_t axrec, ayrec;
65  Float_t athrec, aphrec;
66  TMVA::Reader *reader;
67 
68  ClassDef(PndLmdNoiseTrkSuppressionTask, 1);
69 };
70 
71 #endif
virtual InitStatus Init()
virtual void Exec(Option_t *opt)