1919#ifndef EVENTFILTERING_ZORRO_H_
2020#define EVENTFILTERING_ZORRO_H_
2121
22+ #include " ZorroHelper.h"
23+ #include " ZorroSummary.h"
24+
25+ #include < CommonDataFormat/IRFrame.h>
26+ #include < Framework/HistogramRegistry.h>
27+
28+ #include < TH1.h>
29+ #include < TH2.h>
30+
2231#include < bitset>
23- #include < memory >
32+ #include < cstdint >
2433#include < string>
2534#include < utility>
2635#include < vector>
2736
28- #include " TH1D.h"
29- #include " TH2D.h"
30- #include " CommonDataFormat/IRFrame.h"
31- #include " Framework/HistogramRegistry.h"
32- #include " ZorroHelper.h"
33- #include " ZorroSummary.h"
34-
3537namespace o2
3638{
3739namespace ccdb
@@ -61,8 +63,8 @@ class Zorro
6163 std::vector<bool > getTriggerOfInterestResults () const ;
6264 int getNTOIs () const { return mTOIs .size (); }
6365
64- void setCCDBpath (std::string path) { mBaseCCDBPath = path; }
65- void setBaseCCDBPath (std::string path) { mBaseCCDBPath = path; }
66+ void setCCDBpath (const std::string& path) { mBaseCCDBPath = path; }
67+ void setBaseCCDBPath (const std::string& path) { mBaseCCDBPath = path; }
6668 void setBCtolerance (int tolerance) { mBCtolerance = tolerance; }
6769
6870 ZorroSummary* getZorroSummary () { return &mZorroSummary ; }
@@ -76,8 +78,8 @@ class Zorro
7678 int mRunNumber = 0 ;
7779 std::pair<int64_t , int64_t > mRunDuration ;
7880 int64_t mOrbitResetTimestamp = 0 ;
79- TH1* mAnalysedTriggers ; // / Accounting for all triggers in the current run
80- TH1* mAnalysedTriggersOfInterest ; // / Accounting for triggers of interest in the current run
81+ TH1* mAnalysedTriggers = nullptr ; // / Accounting for all triggers in the current run
82+ TH1* mAnalysedTriggersOfInterest = nullptr ; // / Accounting for triggers of interest in the current run
8183
8284 std::vector<int > mRunNumberHistos ;
8385 std::vector<TH1*> mAnalysedTriggersList ; // / Per run histograms
0 commit comments