![]() |
Project
|
The class can be used to dump track and associated clusters to a tree to easily iterate over them and draw them. More...
#include <TrackDump.h>
Classes | |
struct | ClusterGlobal |
struct | ClusterNativeAdd |
struct | TrackInfo |
Public Types | |
enum class | ClStorageType { InsideTrack = 0 , SeparateBranch = 1 , SeparateTree = 2 , SeparateFile = 3 } |
how to store clusters associated to tracks More... | |
enum class | ClUnStorageType { DontStore = 0 , SeparateTree = 1 , SeparateFile = 2 } |
how to store clusters NOT associated to tracks More... | |
using | ClExcludes = std::vector< int >[MAXSECTOR][MAXGLOBALPADROW] |
Public Member Functions | |
void | filter (const gsl::span< const TrackTPC > tracks, ClusterNativeAccess const &clusterIndex, const gsl::span< const o2::tpc::TPCClRefElem > clRefs, const gsl::span< const MCCompLabel > mcLabels) |
void | finalize () |
void | fillClNativeAdd (ClusterNativeAccess const &clusterIndex, std::vector< ClusterNativeAdd > &clInfos, ClExcludes *excludes=nullptr) |
Public Attributes | |
std::string | outputFileName {"filtered-tracks-and-clusters.root"} |
Name of the output file with the tree. | |
bool | writeTracks {true} |
write global cluster information for quick drawing | |
bool | writeGlobal {false} |
write global cluster information for quick drawing | |
bool | writeMC {false} |
write MC track information for quick drawing | |
ClStorageType | clusterStorageType {ClStorageType::InsideTrack} |
instead of storing the clusters with the tracks, store them in a separate tree | |
ClUnStorageType | noTrackClusterType {ClUnStorageType::DontStore} |
store unassociated clusters in separate tree | |
The class can be used to dump track and associated clusters to a tree to easily iterate over them and draw them.
Definition at line 40 of file TrackDump.h.
using o2::tpc::TrackDump::ClExcludes = std::vector<int>[MAXSECTOR][MAXGLOBALPADROW] |
Definition at line 111 of file TrackDump.h.
|
strong |
how to store clusters associated to tracks
Enumerator | |
---|---|
InsideTrack | |
SeparateBranch | |
SeparateTree | |
SeparateFile |
Definition at line 97 of file TrackDump.h.
|
strong |
how to store clusters NOT associated to tracks
Enumerator | |
---|---|
DontStore | |
SeparateTree | |
SeparateFile |
Definition at line 105 of file TrackDump.h.
void TrackDump::fillClNativeAdd | ( | ClusterNativeAccess const & | clusterIndex, |
std::vector< ClusterNativeAdd > & | clInfos, | ||
ClExcludes * | excludes = nullptr |
||
) |
Definition at line 142 of file TrackDump.cxx.
void TrackDump::filter | ( | const gsl::span< const TrackTPC > | tracks, |
ClusterNativeAccess const & | clusterIndex, | ||
const gsl::span< const o2::tpc::TPCClRefElem > | clRefs, | ||
const gsl::span< const MCCompLabel > | mcLabels | ||
) |
Definition at line 29 of file TrackDump.cxx.
void TrackDump::finalize | ( | ) |
Definition at line 133 of file TrackDump.cxx.
ClStorageType o2::tpc::TrackDump::clusterStorageType {ClStorageType::InsideTrack} |
instead of storing the clusters with the tracks, store them in a separate tree
Definition at line 121 of file TrackDump.h.
ClUnStorageType o2::tpc::TrackDump::noTrackClusterType {ClUnStorageType::DontStore} |
store unassociated clusters in separate tree
Definition at line 122 of file TrackDump.h.
std::string o2::tpc::TrackDump::outputFileName {"filtered-tracks-and-clusters.root"} |
Name of the output file with the tree.
Definition at line 117 of file TrackDump.h.
bool o2::tpc::TrackDump::writeGlobal {false} |
write global cluster information for quick drawing
Definition at line 119 of file TrackDump.h.
bool o2::tpc::TrackDump::writeMC {false} |
write MC track information for quick drawing
Definition at line 120 of file TrackDump.h.
bool o2::tpc::TrackDump::writeTracks {true} |
write global cluster information for quick drawing
Definition at line 118 of file TrackDump.h.