34using ClusType = std::vector<o2::phos::Cluster>;
44 auto ClustersSize = std::make_shared<int>(0);
54 "PHOSCluster", ClustersSizeGetter},
56 "PHOSClusterTrigRec"},
58 "PHOSClusterTrueMC"})();
64 "PHOSCluster", ClustersSizeGetter},
66 "PHOSClusterTrigRec"})();
74 auto CellSize = std::make_shared<int>(0);
75 auto CellSizeGetter = [CellSize](
CellType const& Cells) {
76 *CellSize = Cells.size();
84 "PHOSCell", CellSizeGetter},
94 "PHOSCell", CellSizeGetter},
96 "PHOSCellTrigRec"})();
Definition of a container to keep Monte Carlo truth external to simulation objects.
Configurable generator for RootTreeWriter processor spec.
Generate a processor spec for the RootTreeWriter utility.
Defining PrimaryVertex explicitly as messageable.
std::vector< o2::phos::Cluster > ClusType
std::vector< o2::phos::Cell > CellType
framework::DataProcessorSpec getClusterWriterSpec(bool useMC)
write PHOS clusters to ROOT file
framework::DataProcessorSpec getCellWriterSpec(bool useMC)
std::vector< o2::phos::TriggerRecord > TriggerRecordType
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...