26namespace globaltracking
31using TracksType = std::vector<o2::dataformats::TrackCosmics>;
32using LabelsType = std::vector<o2::MCCompLabel>;
38 LOG(info) <<
"Writing " <<
tracks.size() <<
" Cosmics Tracks";
58 auto logger = [](std::vector<o2::dataformats::TrackCosmicsExtended>
const& cosmics) {
59 LOG(info) <<
"Writing " << cosmics.size() <<
" cosmics with clusters";
62 "o2_cosmics_full.root",
66 BranchDefinition<std::vector<o2::dataformats::TrackCosmicsExtended>>{
InputSpec{
"cosmics",
"GLO",
"COSMFULL", 0},
"cosmics", 1, logger},
std::vector< o2::its::TrackITS > tracks
std::vector< o2::MCCompLabel > LabelsType
Configurable generator for RootTreeWriter processor spec.
Matched cosmic track with the raw clusters of its legs and of the road around them,...
Result of top-bottom cosmic tracks leg matching.
Generate a processor spec for the RootTreeWriter utility.
Defining ITS Vertex explicitly as messageable.
framework::DataProcessorSpec getTrackCosmicsWriterSpec(bool useMC)
std::vector< o2::dataformats::GlobalFwdTrack > TracksType
framework::DataProcessorSpec getCosmicsFullWriterSpec()
write cosmics with their raw clusters (cosmics-cluster-collector output) to a root file
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"