3#ifndef FPGATrackSimMatrixMergeAlgo_h
4#define FPGATrackSimMatrixMergeAlgo_h
20#include "GaudiKernel/ITHistSvc.h"
60 Gaudi::Property<std::vector<std::string> >
m_fpath {
this,
"file_path",{},
"vector of files to merge"};
61 Gaudi::Property<bool>
m_allregion {
this,
"allregion",
false,
"Run all regions?"};
62 Gaudi::Property<int>
m_region {
this,
"region", 0,
"Region to run"};
63 Gaudi::Property<int>
m_nRegions {
this,
"nbank", 96,
"Number of regions"};
64 Gaudi::Property<bool>
m_Monitor {
this,
"Monitor",
false,
"flag to enable the monitor"};
Classes to read/write matrix files event by event.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< bool > m_Monitor
std::vector< AccumulateMap > m_sector_cum
void readTree(TTree *matrix_tree, int region)
StatusCode execute() override
virtual ~FPGATrackSimMatrixMergeAlgo()=default
Gaudi::Property< int > m_region
StatusCode initialize() override
StatusCode finalize() override
Gaudi::Property< int > m_nRegions
StatusCode bookHistograms()
Gaudi::Property< std::vector< std::string > > m_fpath
void fillMatrixTrees(std::vector< TTree * > const &matrixTrees)
Gaudi::Property< bool > m_allregion
StatusCode copySliceTree(TFile *file)
std::vector< TTree * > createMatrixTrees()
FPGATrackSimMatrixMergeAlgo(const std::string &name, ISvcLocator *pSvcLocator)
ServiceHandle< ITHistSvc > m_tHistSvc