CbmRoot
Loading...
Searching...
No Matches
CbmLitTrackSelectionMuch.cxx
Go to the documentation of this file.
1/* Copyright (C) 2008-2013 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer] */
4
12
13#include "data/CbmLitTrack.h"
15
20
22
24{
25 if (itBegin == itEnd) {
26 return kLITSUCCESS;
27 }
28
30
31 for (TrackPtrIterator iTrack = itBegin; iTrack != itEnd; iTrack++) {
32 (*iTrack)->SetQuality(kLITGOOD);
33 }
34
35 fSharedHitsSelection->DoSelect(itBegin, itEnd);
36
37 return kLITSUCCESS;
38}
39
TClonesArray * tracks
@ kLITGOOD
Definition CbmLitEnums.h:39
LitStatus
Definition CbmLitEnums.h:29
@ kLITSUCCESS
Definition CbmLitEnums.h:30
Track selection for MUCH.
Base data class for track.
boost::shared_ptr< CbmLitTrackSelection > TrackSelectionPtr
std::vector< CbmTofTrack * >::iterator TrackPtrIterator
Definition CbmTofTypes.h:25
std::vector< CbmTofTrack * > TrackPtrVector
Definition CbmTofTypes.h:26
virtual LitStatus DoSelect(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Inherited from CbmLitTrackSelection.
virtual ~CbmLitTrackSelectionMuch()
Destructor.