Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackPzCut.cxx
1/*
2 * TrackPzCut.cxx
3 *
4 * Created on: 5 mar 2018
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#include "TrackPzCut.h"
10
11#include "Track.h"
12
13namespace Hal{
14
15TrackPzCut::TrackPzCut() : TrackCut(1) { SetUnitName("p_{z} [GeV/c]"); }
16
17Bool_t TrackPzCut::Pass(Track* track) {
18 SetValue(track->GetPz());
19 return Validate();
20}
21
22TrackPzCut::~TrackPzCut() {
23 // TODO Auto-generated destructor stub
24}
25}
Double_t GetPz() const
Definition Track.h:109