@@ -45,6 +45,7 @@ class SimParam : public o2::conf::ConfigurableParamHelper<SimParam>
4545 Float_t getTimeResponseTau () const { return mTimeResponseTau ; }
4646 Float_t getTimeResponsePower () const { return mTimeResponsePower ; }
4747 Float_t getTimeResponseThreshold () const { return mTimeResponseThreshold ; }
48+ Int_t getBCPhaseSwap () const { return mSwapPhase ; }
4849
4950 // Parameters used in SDigitizer
5051 Float_t getA () const { return mA ; }
@@ -67,7 +68,6 @@ class SimParam : public o2::conf::ConfigurableParamHelper<SimParam>
6768
6869 void PrintStream (std::ostream& stream) const ;
6970
70- private:
7171 // Digitizer
7272 Int_t mDigitThreshold {3 }; // /< Threshold for storing digits in EMC
7373 Int_t mMeanPhotonElectron {4400 }; // /< number of photon electrons per GeV deposited energy
@@ -83,6 +83,7 @@ class SimParam : public o2::conf::ConfigurableParamHelper<SimParam>
8383 Float_t mTimeResponseTau {2.35 }; // /< Raw time response function tau parameter
8484 Float_t mTimeResponsePower {2 }; // /< Raw time response function power parameter
8585 Float_t mTimeResponseThreshold {0.001 }; // /< Raw time response function energy threshold
86+ Int_t mSwapPhase {0 }; // /< BC phase swap similar to data
8687
8788 // SDigitizer
8889 Float_t mA {0 .}; // /< Pedestal parameter
@@ -112,6 +113,16 @@ class SimParam : public o2::conf::ConfigurableParamHelper<SimParam>
112113std::ostream& operator <<(std::ostream& stream, const SimParam& s);
113114
114115} // namespace emcal
116+
117+ namespace framework
118+ {
119+ template <typename T>
120+ struct is_messageable ;
121+ template <>
122+ struct is_messageable <o2::emcal::SimParam> : std::true_type {
123+ };
124+ } // namespace framework
125+
115126} // namespace o2
116127
117128#endif
0 commit comments