FairRoot/PandaRoot
PndPidEmcAssociatorTask.cxx
Go to the documentation of this file.
1 /* ************************************
2  * Author: M. Babai (M.Babai@rug.nl) *
3  * *
4  * pid classifier *
5  * *
6  * Created: 07-04-2010 *
7  * Modified: *
8  * *
9  * ************************************/
11 
12 // Standard C++ includes
13 #include <iostream>
14 
15 //==========================================================
20  : PndPidMvaAssociatorTask("PndPidMvaAssociatorTaskSTD")
21 {
22  std::vector<std::string> const* vNames = SetEmcParNames();
23  SetVarNames(*vNames);
24  delete vNames;
25 }
26 
27 //___________________________________________________________
33 {
34  std::vector<std::string> const* vNames = SetEmcParNames();
35  SetVarNames(*vNames);
36  delete vNames;
37 }
38 
41 {}
42 
44 void PndPidEmcAssociatorTask::SetVarNames(std::vector<std::string> const& vNames)
45 {
46  std::cout<< "<INFO> Filling EMC related Variable names.\n";
47 
49 }
50 
52 std::vector<std::string> const* PndPidEmcAssociatorTask::SetEmcParNames() const
53 {
54  std::vector<std::string>* VarNames = new std::vector<std::string>();
55  VarNames->push_back("emc");
56  VarNames->push_back("lat");
57  VarNames->push_back("z20");
58  VarNames->push_back("z53");
59  VarNames->push_back("e1");
60  VarNames->push_back("e9");
61  VarNames->push_back("e25");
62 
63  return VarNames;
64 }
std::vector< std::string > const * SetEmcParNames() const
Set Emc related variable names.
virtual ~PndPidEmcAssociatorTask()
Destructor.
TString name
void SetVarNames(std::vector< std::string > const &vNames)
Set Variables to use.
ClassImp(PndAnaContFact)
virtual void SetVarNames(std::vector< std::string > const &vNames)