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
13namespace Hal {
14
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 */
Bool_t ForcedUpdate(Bool_t state)
Definition Cut.cxx:79
void SetValue(Double_t val, Int_t i=0)
Definition Cut.h:235
Int_t GetCutSize() const
Definition Cut.h:252
virtual Bool_t Pass(Hal::Track *track)
V0Track * GetV0Info() const
Definition Track.cxx:290