Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackMassCut.cxx
1
/*
2
* TrackMassCut.cxx
3
*
4
* Created on: 26-03-2015
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
10
#include "TrackMassCut.h"
11
12
#include "Track.h"
13
14
namespace
Hal
{
15
TrackMassCut::TrackMassCut() : TrackCut(1) { SetUnitName(
"m [GeV/c^{2}]"
); }
16
17
Bool_t TrackMassCut::Pass(
Track
* track) {
18
Double_t mass = track->
GetMass
();
19
SetValue(mass);
20
return
Validate();
21
}
22
23
TrackMassCut::~TrackMassCut() {}
24
}
// namespace Hal
Hal::Track
Definition
Track.h:29
Hal::Track::GetMass
Double_t GetMass() const
Definition
Track.h:179
Hal
Definition
EventAnaChain.cxx:28
cuts
trackcuts
kinematics
TrackMassCut.cxx
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0