Project
Loading...
Searching...
No Matches
TRDTrapRawWriterSpec.cxx
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef O2_TRDTRAPSIMULATORTRAPRAWWRITER_H
13#define O2_TRDTRAPSIMULATORTRAPRAWWRITER_H
14
17#include "Framework/InputSpec.h"
22
23#include <fstream>
24#include <iostream>
25
26using namespace o2::framework;
27
28namespace o2
29{
30namespace trd
31{
32
33template <typename T>
35
37{
38 // using InputSpec = framework::InputSpec;
40 return MakeRootTreeWriterSpec("TRDTrkltRawWriter",
41 "trdtrapraw.root",
42 "o2sim",
43 BranchDefinition<std::vector<uint32_t>>{InputSpec{"trapraw", "TRD", "RAWDATA"}, "TrapRaw"},
44 BranchDefinition<std::vector<o2::trd::LinkRecord>>{InputSpec{"traplinks", "TRD", "RAWLNKRD"}, "TrapLinkRecord"},
45 BranchDefinition<std::vector<o2::trd::TriggerRecord>>{InputSpec{"traprawtrigrec", "TRD", "RAWTRGRD"}, "RawTriggerRecord"})();
46};
47
48} // end namespace trd
49} // end namespace o2
50
51#endif // O2_TRDTRAPSIMULATORTRACKLETWRITER_H
Configurable generator for RootTreeWriter processor spec.
Generate a processor spec for the RootTreeWriter utility.
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
o2::framework::DataProcessorSpec getTRDTrapRawWriterSpec()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...