4 #include "KVRawDataReconstructor.h"
6 #include "KVDataRepositoryManager.h"
18 Info(
"KVRawDataReconstructor",
"Constructed");
38 TClass* recev_cl = TClass::GetClass(
GetDataSet()->GetReconstructedEventClassName());
41 Info(
"InitAnalysis",
"Reconstructed event container class: %s", recev_cl->GetName());
58 std::cout <<
"Writing \"recon\" events in ROOT file " <<
fRecFile->GetName() << std::endl;
61 fRecTree =
new TTree(
"ReconEvents", Form(
"%s : %s : %s",
62 gMultiDetArray->GetName(),
70 Info(
"InitRun",
"Created reconstructed data tree %s : %s",
fRecTree->GetName(),
fRecTree->GetTitle());
96 Info(
"KVRawDataReconstructor",
"EndRun");
115 Info(
"KVRawDataReconstructor",
"EndAnalysis");
void WriteBatchInfo(TTree *)
KVDataSet * GetDataSet(const Char_t *repository, const Char_t *dataset) const
Return pointer to named dataset in the given repository.
const KVDataSet * GetDataSet() const
Manage an experimental dataset corresponding to a given experiment or campaign.
void CommitRunfile(const Char_t *type, Int_t run, TFile *file)
TFile * NewRunfile(const Char_t *type, Int_t run)
Base class for event reconstruction from array data.
void Clear(Option_t *opt="")
static void MakeEventBranch(TTree *tree, const TString &branchname, T &event, Int_t bufsize=10000000)
KVDBRun * GetDBRun(Int_t number) const
Bool_t HandledRawData() const
const KVSeqCollection * GetFiredDetectors() const
Abstract base class for user analysis of raw data.
Int_t fRunNumber
run number of current file
Long64_t GetEventNumber() const
Manage task of reconstruction of physical events from raw data.
virtual Bool_t Analysis()
std::unique_ptr< KVEventReconstructor > fEvRecon
virtual void EndAnalysis()
virtual ~KVRawDataReconstructor()
Destructor.
virtual void InitAnalysis()
KVReconstructedEvent * fRecev
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.