Skip to content

Commit a4e8b64

Browse files
mfasDashahor02
authored andcommitted
[EMCAL-789] Preparation for storing RecoParam objects in ccdb
- Fix streamer (adding base class to LinkDef) - Make RecoParam messageable
1 parent 9ad0329 commit a4e8b64

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

Detectors/EMCAL/reconstruction/include/EMCALReconstruction/RecoParam.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,15 @@ class RecoParam : public o2::conf::ConfigurableParamHelper<RecoParam>
4444
};
4545
std::ostream& operator<<(std::ostream& stream, const RecoParam& s);
4646
} // namespace emcal
47+
48+
namespace framework
49+
{
50+
template <typename T>
51+
struct is_messageable;
52+
template <>
53+
struct is_messageable<o2::emcal::RecoParam> : std::true_type {
54+
};
55+
} // namespace framework
56+
4757
} // namespace o2
4858
#endif

Detectors/EMCAL/reconstruction/src/EMCALReconstructionLinkDef.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#pragma link C++ class o2::emcal::CaloRawFitterGamma2 + ;
2727

2828
#pragma link C++ class o2::emcal::RecoParam + ;
29+
#pragma link C++ class o2::conf::ConfigurableParamHelper < o2::emcal::RecoParam> + ;
2930

3031
//#pragma link C++ namespace o2::emcal+;
3132
#pragma link C++ class o2::emcal::ClusterizerParameters + ;

0 commit comments

Comments
 (0)