17#ifndef AliceO2_TPC_QC_TRACKCLUSTERS_H
18#define AliceO2_TPC_QC_TRACKCLUSTERS_H
30struct ClusterNativeAccess;
58 mCutMinNCls = minNCls;
59 mCutMindEdxTot = mindEdxTot;
63 std::unordered_map<std::string, std::vector<std::unique_ptr<TH1>>>&
getMapOfHisto() {
return mMapHist; }
64 const std::unordered_map<std::string, std::vector<std::unique_ptr<TH1>>>&
getMapOfHisto()
const {
return mMapHist; }
68 float mCutMindEdxTot = 10.f;
69 float mCutAbsEta = 1.f;
70 std::unordered_map<std::string, std::vector<std::unique_ptr<TH1>>> mMapHist;
Shared cluster and crossed rows TPC quality control task.
void dumpToFile(std::string filename)
Dump results to a file.
void initializeHistograms()
Initialize all histograms.
TrackClusters()=default
Constructor.
void resetHistograms()
Reset all histograms.
void setTrackClustersCuts(int minNCls=60, float mindEdxTot=10.0, float absEta=1.)
const std::unordered_map< std::string, std::vector< std::unique_ptr< TH1 > > > & getMapOfHisto() const
bool processTrackAndClusters(const std::vector< o2::tpc::TrackTPC > *tracks, const o2::tpc::ClusterNativeAccess *clusterIndex, std::vector< o2::tpc::TPCClRefElem > *clusRefs)
std::unordered_map< std::string, std::vector< std::unique_ptr< TH1 > > > & getMapOfHisto()
Global TPC definitions and constants.