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