Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackV0Cut.cxx
1
/*
2
* TrackV0Cut.cxx
3
*
4
* Created on: 10 cze 2024
5
* Author: daniel
6
*/
7
8
#include "TrackV0Cut.h"
9
10
#include "Track.h"
11
#include "V0Track.h"
12
13
namespace
Hal
{
14
15
Bool_t
TrackV0Cut::Pass
(
Hal::Track
* track) {
16
auto
v0 = track->
GetV0Info
();
17
if
(!v0) {
18
for
(
int
i = 0; i <
GetCutSize
(); i++) {
19
SetValue
(-1E+9, i);
20
}
21
return
ForcedUpdate
(kFALSE);
22
}
23
return
PassV0(v0);
24
}
25
26
}
/* namespace Hal */
Hal::Cut::ForcedUpdate
Bool_t ForcedUpdate(Bool_t state)
Definition
Cut.cxx:79
Hal::Cut::SetValue
void SetValue(Double_t val, Int_t i=0)
Definition
Cut.h:235
Hal::Cut::GetCutSize
Int_t GetCutSize() const
Definition
Cut.h:252
Hal::TrackV0Cut::Pass
virtual Bool_t Pass(Hal::Track *track)
Definition
TrackV0Cut.cxx:15
Hal::Track
Definition
Track.h:29
Hal::Track::GetV0Info
V0Track * GetV0Info() const
Definition
Track.cxx:290
Hal
Definition
EventAnaChain.cxx:28
cuts
trackcuts
v0
TrackV0Cut.cxx
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0