6#ifndef CBMSTSACCEPTANCE_H
7#define CBMSTSACCEPTANCE_H 1
11#include "TStopwatch.h"
55 virtual void Exec(Option_t* opt);
74 static Int_t
GetNofPoints(Int_t trackId, Int_t stationNr);
85 virtual InitStatus
Init();
93 static Bool_t
IsAccepted(Int_t trackId, Int_t nMinStations = 3) {
115 TClonesArray* fPoints;
116 TClonesArray* fTracks;
118 static std::map<Int_t, std::map<Int_t, Int_t>> fCountMap;
119 static Int_t fNofInstances;
123 Double_t fNofPointsTot;
127 void Clear(Option_t* =
"");
Singleton task class for easy access to the acceptance in the STS.
static Int_t GetNofPoints(Int_t trackId)
static Bool_t IsAccepted(Int_t trackId, Int_t nMinStations=3)
static Bool_t IsInStation(Int_t trackId, Int_t stationNr)
static Int_t GetNofStations(Int_t trackId)
virtual void Exec(Option_t *opt)
virtual InitStatus Init()
virtual ~CbmStsAcceptance()
std::string ToString() const