Project
Loading...
Searching...
No Matches
o2::tpc::qc::TrackClusters Class Reference

Shared cluster and crossed rows TPC quality control task. More...

#include <TrackClusters.h>

Public Member Functions

 TrackClusters ()=default
 Constructor.
 
bool processTrackAndClusters (const std::vector< o2::tpc::TrackTPC > *tracks, const o2::tpc::ClusterNativeAccess *clusterIndex, std::vector< o2::tpc::TPCClRefElem > *clusRefs)
 
void initializeHistograms ()
 Initialize all histograms.
 
void resetHistograms ()
 Reset all histograms.
 
void dumpToFile (std::string filename)
 Dump results to a file.
 
void setTrackClustersCuts (int minNCls=60, float mindEdxTot=10.0, float absEta=1.)
 
std::unordered_map< std::string, std::vector< std::unique_ptr< TH1 > > > & getMapOfHisto ()
 
const std::unordered_map< std::string, std::vector< std::unique_ptr< TH1 > > > & getMapOfHisto () const
 

Detailed Description

Shared cluster and crossed rows TPC quality control task.

Definition at line 36 of file TrackClusters.h.

Constructor & Destructor Documentation

◆ TrackClusters()

o2::tpc::qc::TrackClusters::TrackClusters ( )
default

Constructor.

Member Function Documentation

◆ dumpToFile()

void TrackClusters::dumpToFile ( std::string  filename)

Dump results to a file.

Definition at line 90 of file TrackClusters.cxx.

◆ getMapOfHisto() [1/2]

std::unordered_map< std::string, std::vector< std::unique_ptr< TH1 > > > & o2::tpc::qc::TrackClusters::getMapOfHisto ( )
inline

Definition at line 63 of file TrackClusters.h.

◆ getMapOfHisto() [2/2]

const std::unordered_map< std::string, std::vector< std::unique_ptr< TH1 > > > & o2::tpc::qc::TrackClusters::getMapOfHisto ( ) const
inline

Definition at line 64 of file TrackClusters.h.

◆ initializeHistograms()

void TrackClusters::initializeHistograms ( )

Initialize all histograms.

Definition at line 43 of file TrackClusters.cxx.

◆ processTrackAndClusters()

bool TrackClusters::processTrackAndClusters ( const std::vector< o2::tpc::TrackTPC > *  tracks,
const o2::tpc::ClusterNativeAccess clusterIndex,
std::vector< o2::tpc::TPCClRefElem > *  clusRefs 
)

bool extracts intormation from track and fills it to histograms

Returns
true if information can be extracted and filled to histograms

Definition at line 61 of file TrackClusters.cxx.

◆ resetHistograms()

void TrackClusters::resetHistograms ( )

Reset all histograms.

Definition at line 51 of file TrackClusters.cxx.

◆ setTrackClustersCuts()

void o2::tpc::qc::TrackClusters::setTrackClustersCuts ( int  minNCls = 60,
float  mindEdxTot = 10.0,
float  absEta = 1. 
)
inline

Definition at line 56 of file TrackClusters.h.


The documentation for this class was generated from the following files: