Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcLoadDistortionCorrection.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TpcLoadDistortionCorrection.h
1 #ifndef TPC_TPCLOADDISTORTIONCORRECTION_H
2 #define TPC_TPCLOADDISTORTIONCORRECTION_H
3 
10 #include <fun4all/SubsysReco.h>
11 #include <phool/PHObject.h>
12 #include <phool/PHTimer.h>
13 #include <trackbase/TrkrDefs.h>
14 
15 #include <array>
16 
17 class TH3;
18 
20 {
21  public:
22 
24  TpcLoadDistortionCorrection( const std::string& = "TpcLoadDistortionCorrection" );
25 
27  int InitRun(PHCompositeNode*) override;
28 
30  int process_event(PHCompositeNode*) override;
31 
34  { set_correction_filename(0,value);}
35 
38  { if (i<0 || i>=3) return;
40  m_correction_in_use[i]=true;}
41 
44  { m_node_name[0] = value; }
45  void set_node_name(int i, const std::string& value )
46  { m_node_name[i] = value; }
47 
48  private:
49 
52 
54  bool m_correction_in_use[3]={false,false,false};
55 
57  std::string m_node_name[3] = {"TpcDistortionCorrectionContainerStatic","TpcDistortionCorrectionContainerAverage","TpcDistortionCorrectionContainerFluctuation"};
58 
59 };
60 
61 #endif