35using LabelsType = std::vector<o2::MCCompLabel>;
36using ROFRecLblT = std::vector<o2::itsmft::MC2ROFRecord>;
44 auto tracksSize = std::make_shared<int>(0);
45 auto tracksSizeGetter = [tracksSize](std::vector<o2::its::TrackITS>
const& tracks) {
46 *tracksSize = tracks.size();
48 auto logger = [tracksSize](std::vector<o2::itsmft::ROFRecord>
const& rofs) {
49 LOG(info) <<
"ITSTrackWriter pulled " << *tracksSize <<
" tracks, in " << rofs.size() <<
" RO frames";
75 "ITSVertexMCTruthCont",
76 (writeContLabels ? 1 : 0),
84 "ITSVertexMCPurity", (useMC ? 1 : 0),
std::vector< o2::MCCompLabel > LabelsType
std::vector< o2::itsmft::MC2ROFRecord > ROFRecLblT
Definition of a container to keep Monte Carlo truth external to simulation objects.
Configurable generator for RootTreeWriter processor spec.
Definition of the ITS track.
static const VertexerParamConfig & Instance()
Generate a processor spec for the RootTreeWriter utility.
Defining PrimaryVertex explicitly as messageable.
o2::dataformats::Vertex< o2::dataformats::TimeStamp< int > > Vertex
o2::framework::DataProcessorSpec getTrackWriterSpec(bool useMC)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"