15 bool check_result =
fCbmCuts[id].Check(value);
22 if (hit ==
nullptr)
return false;
24 if (clu_array !=
nullptr) {
38 if (evt ==
nullptr)
return false;
CbmCutId
Enumeration of cut identifiers for various observables.
bool CheckEvent(CbmEvent *evt)
Check if a CbmEvent passes the cuts.
std::unordered_map< CbmCutId, unsigned long int > fFailedCounter
CbmCut< float > * AddCbmCut(CbmCutId id)
Add a new cut to the map.
std::unordered_map< CbmCutId, CbmCut< float > > fCbmCuts
bool CheckStsHit(CbmStsHit *, TClonesArray *)
Check if a CbmStsHit passes the cuts.
bool Check(CbmCutId id, double value)
Check if a value passes the cut with the given ID.
Class characterising one event by a collection of links (indices) to data objects,...
size_t GetNofData() const
data class for a reconstructed 3-d hit in the STS
double GetHitChargeAsy(CbmStsHit *hit=nullptr, TClonesArray *clusters=nullptr)
Get the charge asymmetry of a hit.
double GetHitCharge(CbmStsHit *hit=nullptr, TClonesArray *clusters=nullptr)
Get the charge of a hit as the average of front and back cluster charges.