CbmRoot
CbmStsStationsCut.cxx
Go to the documentation of this file.
1
/*
2
* CbmStsStationsCut.cxx
3
*
4
* Created on: 7 sie 2019
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
#include "
CbmStsStationsCut.h
"
10
#include "
CbmStsTrack.h
"
11
#include "
NicaCbmTrack.h
"
12
13
CbmStsStationsCut::CbmStsStationsCut
() : NicaTrackCut(1) {
14
SetUnitName(
"N_{STS stations}"
);
15
}
16
17
Bool_t
CbmStsStationsCut::Init
(Int_t format_id) {
18
fInit = kTRUE;
19
return
FormatInhertis(
"NicaCbmEvent"
, format_id);
20
}
21
22
Bool_t
CbmStsStationsCut::Pass
(NicaTrack* tr) {
23
NicaCbmTrack
* track = (
NicaCbmTrack
*) tr;
24
CbmStsTrack
* sts = track->
GetStsTrack
();
25
if
(!sts) {
26
SetValue(0);
27
return
ForcedUpdate(kFALSE);
28
}
29
// SetValue(sts->GetStationsNo());
30
return
Validate();
31
}
32
33
CbmStsStationsCut::~CbmStsStationsCut
() {}
CbmStsStationsCut::~CbmStsStationsCut
virtual ~CbmStsStationsCut()
Definition:
CbmStsStationsCut.cxx:33
CbmStsStationsCut::Init
Bool_t Init(Int_t format_id=0)
Definition:
CbmStsStationsCut.cxx:17
CbmStsStationsCut.h
NicaCbmTrack
Definition:
NicaCbmTrack.h:20
CbmStsStationsCut::CbmStsStationsCut
CbmStsStationsCut()
Definition:
CbmStsStationsCut.cxx:13
CbmStsTrack.h
Data class for STS tracks.
CbmStsStationsCut::Pass
Bool_t Pass(NicaTrack *h)
Definition:
CbmStsStationsCut.cxx:22
NicaCbmTrack::GetStsTrack
CbmStsTrack * GetStsTrack() const
Definition:
NicaCbmTrack.h:37
NicaCbmTrack.h
CbmStsTrack
Definition:
CbmStsTrack.h:37
analysis
PWGC2F
femtoscopy
nicafemto
cuts
trackcuts
CbmStsStationsCut.cxx
Generated on Wed Oct 28 2020 15:11:45 for CbmRoot by
1.8.18