Belle II Software  release-06-02-00
SVDRecoConfiguration.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 #include "TObject.h"
11 #include "TString.h"
12 
13 namespace Belle2 {
22  class SVDRecoConfiguration: public TObject {
23  public:
27  SVDRecoConfiguration(const TString& uniqueID = "")
28  : m_uniqueID(uniqueID)
29  , m_timeRecoWith6Samples("CoG6")
30  , m_timeRecoWith3Samples("CoG3")
31  , m_chargeRecoWith6Samples("MaxSample")
32  , m_chargeRecoWith3Samples("MaxSample")
37  , m_stripChargeRecoWith6Samples("MaxSample")
38  , m_stripChargeRecoWith3Samples("MaxSample")
39  {};
40 
45  TString getTimeRecoWith6Samples() const { return m_timeRecoWith6Samples; };
50  TString getTimeRecoWith3Samples() const { return m_timeRecoWith3Samples; };
51 
62 
73 
74 
85 
96 
97 
102  void setTimeRecoWith6Samples(TString timeRecoWith6Samples)
103  {
104  m_timeRecoWith6Samples = TString(timeRecoWith6Samples);
105  }
110  void setTimeRecoWith3Samples(TString timeRecoWith3Samples)
111  {
112  m_timeRecoWith3Samples = TString(timeRecoWith3Samples);
113  }
114 
119  void setChargeRecoWith6Samples(TString chargeRecoWith6Samples)
120  {
121  m_chargeRecoWith6Samples = TString(chargeRecoWith6Samples);
122  }
127  void setChargeRecoWith3Samples(TString chargeRecoWith3Samples)
128  {
129  m_chargeRecoWith3Samples = TString(chargeRecoWith3Samples);
130  }
131 
136  void setPositionRecoWith6Samples(TString positionRecoWith6Samples)
137  {
138  m_positionRecoWith6Samples = TString(positionRecoWith6Samples);
139  }
144  void setPositionRecoWith3Samples(TString positionRecoWith3Samples)
145  {
146  m_positionRecoWith3Samples = TString(positionRecoWith3Samples);
147  }
148 
149 
154  void setStripTimeRecoWith6Samples(TString timeStripRecoWith6Samples)
155  {
156  m_stripTimeRecoWith6Samples = TString(timeStripRecoWith6Samples);
157  }
162  void setStripTimeRecoWith3Samples(TString timeStripRecoWith3Samples)
163  {
164  m_stripTimeRecoWith3Samples = TString(timeStripRecoWith3Samples);
165  }
166 
171  void setStripChargeRecoWith6Samples(TString chargeStripRecoWith6Samples)
172  {
173  m_stripChargeRecoWith6Samples = TString(chargeStripRecoWith6Samples);
174  }
179  void setStripChargeRecoWith3Samples(TString chargeStripRecoWith3Samples)
180  {
181  m_stripChargeRecoWith3Samples = TString(chargeStripRecoWith3Samples);
182  }
183 
187  TString get_uniqueID() const {return m_uniqueID;}
188 
190  static std::string name;
191 
192  private:
193 
195  TString m_uniqueID;
196 
205 
210 
211 
220 
223  };
224 
226 }
This class store the reconstruction configuration of SVD.
TString m_uniqueID
unique identifier of the SVD reconstruction configuration payload
ClassDef(SVDRecoConfiguration, 1)
needed by root
void setChargeRecoWith6Samples(TString chargeRecoWith6Samples)
Set the algorithm to be used for cluster charge computation in 6-sample acquisition mode.
void setStripTimeRecoWith3Samples(TString timeStripRecoWith3Samples)
Set the algorithm to be used for strip time computation in 3-sample acquisition mode.
void setTimeRecoWith6Samples(TString timeRecoWith6Samples)
Set the algorithm to be used for cluster time computation in 6-sample acquisition mode.
void setStripTimeRecoWith6Samples(TString timeStripRecoWith6Samples)
Set the algorithm to be used for strip time computation in 6-sample acquisition mode.
void setPositionRecoWith3Samples(TString positionRecoWith3Samples)
Set the algorithm to be used for cluster position computation in 3-sample acquisition mode.
SVDRecoConfiguration(const TString &uniqueID="")
Default constructor.
TString getStripTimeRecoWith3Samples() const
Returns the TString corresponding to the algorithm to be used for the strip time computation in 3-sam...
TString m_chargeRecoWith3Samples
cluster charge reconstruction algorithm used in 3-sample acquisition mode
TString getPositionRecoWith6Samples() const
Returns the TString corresponding to the algorithm to be used for the cluster position computation in...
TString get_uniqueID() const
Get the unique ID of the calibration.
TString m_positionRecoWith3Samples
cluster position reconstruction algorithm used in 3-sample acquisition mode
TString m_stripTimeRecoWith3Samples
strip time reconstruction algorithm used in 3-sample acquisition mode
TString m_timeRecoWith6Samples
cluster time reconstruction algorithm used in 6-sample acquisition mode
TString getPositionRecoWith3Samples() const
Returns the TString corresponding to the algorithm to be used for the cluster position computation in...
TString getStripChargeRecoWith3Samples() const
Returns the TString corresponding to the algorithm to be used for the strip charge computation in 3-s...
static std::string name
name of the payload
TString m_timeRecoWith3Samples
cluster time reconstruction algorithm used in 3-sample acquisition mode
TString m_stripChargeRecoWith6Samples
strip charge reconstruction algorithm used in 6-sample acquisition mode
void setChargeRecoWith3Samples(TString chargeRecoWith3Samples)
Set the algorithm to be used for cluster charge computation in 3-sample acquisition mode.
TString m_stripTimeRecoWith6Samples
strip time reconstruction algorithm used in 6-sample acquisition mode
TString getStripTimeRecoWith6Samples() const
Returns the TString corresponding to the algorithm to be used for the strip time computation in 6-sam...
void setStripChargeRecoWith3Samples(TString chargeStripRecoWith3Samples)
Set the algorithm to be used for strip charge computation in 3-sample acquisition mode.
TString getTimeRecoWith6Samples() const
Returns the TString corresponding to the algorithm to be used for the cluster time computation in 6-s...
TString m_positionRecoWith6Samples
cluster position reconstruction algorithm used in 6-sample acquisition mode
TString getChargeRecoWith3Samples() const
Returns the TString corresponding to the algorithm to be used for the cluster charge computation in 3...
void setTimeRecoWith3Samples(TString timeRecoWith3Samples)
Set the algorithm to be used for cluster time computation in 3-sample acquisition mode.
void setPositionRecoWith6Samples(TString positionRecoWith6Samples)
Set the algorithm to be used for cluster position computation in 6-sample acquisition mode.
void setStripChargeRecoWith6Samples(TString chargeStripRecoWith6Samples)
Set the algorithm to be used for strip charge computation in 6-sample acquisition mode.
TString m_stripChargeRecoWith3Samples
strip charge reconstruction algorithm used in 3-sample acquisition mode
TString getStripChargeRecoWith6Samples() const
Returns the TString corresponding to the algorithm to be used for the strip charge computation in 6-s...
TString m_chargeRecoWith6Samples
cluster charge reconstruction algorithm used in 6-sample acquisition mode
TString getChargeRecoWith6Samples() const
Returns the TString corresponding to the algorithm to be used for the cluster charge computation in 6...
TString getTimeRecoWith3Samples() const
Returns the TString corresponding to the algorithm to be used for the cluster time computation in 3-s...
Abstract base class for different kinds of events.