Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
PairDeltaQinvCut.h
1/*
2 * PairDeltaQinvCut.h
3 *
4 * Created on: 04-05-2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALPAIRDELTAQINVCUT_H_
10#define HALPAIRDELTAQINVCUT_H_
11
12#include "TwoTrackCut.h"
13
14namespace Hal {
15 class Track;
16
18 Double_t fMass1, fMass2;
19 Double_t Q(Track* tr1, Track* tr2) const;
20
21 public:
23 virtual Bool_t Pass(TwoTrack* pair);
24 static Int_t Relative() { return 0; }
25 static Int_t Absolute() { return 1; };
26 Bool_t Init(Int_t task_id);
27 void SetMass(Double_t m) { fMass1 = fMass2 = m; };
28 void SetMass(Double_t m1, Double_t m2) {
29 fMass1 = m1;
30 fMass2 = m2;
31 };
32 virtual ~PairDeltaQinvCut();
33 ClassDef(PairDeltaQinvCut, 1)
34 };
35} // namespace Hal
36
37#endif /* HALPAIRDELTAQINVCUT_H_ */
virtual Bool_t Pass(TwoTrack *pair)
Bool_t Init(Int_t task_id)