Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackTpcHitCut.cxx
1
/*
2
* TrackTpcHitsCut.cxx
3
*
4
* Created on: 4 maj 2018
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
#include "TrackTpcHitCut.h"
10
11
#include "ExpTrack.h"
12
namespace
Hal
{
13
TrackTpcHitCut::TrackTpcHitCut() : TrackExpCut(1) { SetUnitName(
"TpcHits [N]"
); }
14
15
Bool_t TrackTpcHitCut::Pass(
Track
* tr) {
16
ExpTrack
* track = (
ExpTrack
*) tr;
17
SetValue(track->
GetNHits
());
18
return
Validate();
19
}
20
21
Bool_t TrackTpcHitCut::Init(Int_t format_id) {
22
if
(TpcAvaiable(format_id))
return
kTRUE;
23
return
kFALSE;
24
}
25
26
TrackTpcHitCut::~TrackTpcHitCut() {}
27
}
// namespace Hal
Hal::ExpTrack
Definition
ExpTrack.h:25
Hal::ExpTrack::GetNHits
Int_t GetNHits() const
Definition
ExpTrack.h:50
Hal::Track
Definition
Track.h:29
Hal
Definition
EventAnaChain.cxx:28
cuts
trackcuts
detector
TrackTpcHitCut.cxx
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0