7#include <FairRootManager.h>
26 LOG(info) << GetName() <<
": timeslice " <<
fNumTs <<
" with " <<
fBmonDigis->size() <<
" BMon digis "
28 <<
" TRD digis " <<
fTofDigis->size() <<
" TOF digis " <<
fRichDigis->size() <<
" RICH digis ";
39 LOG(info) <<
"=====================================";
40 LOG(info) << GetName() <<
": Run summary";
41 LOG(info) <<
"Timeslices : " <<
fNumTs;
42 LOG(info) <<
"=====================================";
48template<
typename TVecobj>
51 const std::vector<TVecobj>* vec = ioman->InitObjectAs<
const std::vector<TVecobj>*>(TVecobj::GetBranchName());
53 LOG(error) << GetName() <<
": No input branch " << TVecobj::GetBranchName() <<
" !";
56 LOG(info) <<
"--- Found branch " << TVecobj::GetBranchName() <<
" at " << vec;
63 FairRootManager* ioman = FairRootManager::Instance();
66 LOG(info) <<
"==================================================";
67 LOG(info) << GetName() <<
": Initialising...";
101 LOG(info) <<
"==================================================";
ClassImp(CbmConverterManager)
Demonstrator class to save online unpacked digis in an output ROOT tree.
size_t fNumTs
Input data (digis)
virtual ~CbmTaskInspectDigiTimeslice()
Destructor.
const std::vector< CbmRichDigi > * fRichDigis
Input data (digis)
virtual void Finish()
Finish timeslice.
virtual void Exec(Option_t *opt)
Task execution.
const std::vector< TVecobj > * InitInput(FairRootManager *ioman)
const std::vector< CbmTofDigi > * fTofDigis
Input data (digis)
CbmTaskInspectDigiTimeslice()
Constructor.
virtual InitStatus Init()
Task initialisation.
const std::vector< CbmStsDigi > * fStsDigis
Input data (digis)
const std::vector< CbmMuchDigi > * fMuchDigis
Input data (digis)
const std::vector< CbmTrdDigi > * fTrdDigis
Input data (digis)
const std::vector< CbmBmonDigi > * fBmonDigis