47 std::string detStrL = dec ?
"o2_" :
"";
49 std::transform(detStrL.begin(), detStrL.end(), detStrL.begin(), ::tolower);
50 auto logger = [](std::vector<o2::iotof::Cluster>
const& inClusters) {
51 LOG(info) <<
"RECEIVED CLUSTERS SIZE " << inClusters.size();
55 (detStrL +
"clusters.root").c_str(),
58 (detStr +
"ClusterComp").c_str(),
61 (detStr +
"ClusterPatt").c_str()},
63 (detStr +
"ClusterROF").c_str(),
"cluster-rof-branch"},
65 (detStr +
"ClusterMCTruth").c_str()})();
A const (ready only) version of MCTruthContainer.
A special IO container - splitting a given vector to enable ROOT IO.
Configurable generator for RootTreeWriter processor spec.
Static class with identifiers, bitmasks and names for ALICE detectors.
static constexpr const char * getName(ID id)
names of defined detectors
Generate a processor spec for the RootTreeWriter utility.
constexpr o2::header::DataOrigin gDataOriginTF3
Defining ITS Vertex explicitly as messageable.
std::vector< o2::itsmft::ROFRecord > ROFrameType
o2::framework::DataProcessorSpec getIOTOFClusterWriterSpec(bool useMC, bool dec)
DataProcessorSpec getClusterWriterSpec(bool mctruth, bool dec, o2::header::DataOrigin detOrig, o2::detectors::DetID detId)
std::vector< unsigned char > PatternsType
std::vector< o2::iotof::Cluster > ClustersType
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"