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