Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackChi2Cut.cxx
1
/*
2
* TrackChi2Cut.cxx
3
*
4
* Created on: 13 lis 2018
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
#include "TrackChi2Cut.h"
10
11
#include "ExpTrack.h"
12
13
namespace
Hal
{
14
TrackChi2Cut::TrackChi2Cut() : TrackExpCut(1) {
15
SetUnitName(
"#chi^{2}"
);
16
SetMinMax(-1E+9, 1E+9);
17
}
18
19
Bool_t TrackChi2Cut::Pass(
Track
* tr) {
20
ExpTrack
* track = (
ExpTrack
*) tr;
21
SetValue(track->
GetChi2
());
22
return
Validate();
23
}
24
25
TrackChi2Cut::~TrackChi2Cut() {}
26
}
// namespace Hal
Hal::ExpTrack
Definition
ExpTrack.h:25
Hal::ExpTrack::GetChi2
Float_t GetChi2() const
Definition
ExpTrack.h:55
Hal::Track
Definition
Track.h:29
Hal
Definition
EventAnaChain.cxx:28
cuts
trackcuts
detector
TrackChi2Cut.cxx
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0