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