Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TwoTrackDphiDetaCut.h
1/*
2 * TwoTrackDphiDetaCut.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 HALTWOTRACKDPHIDETACUT_H_
10#define HALTWOTRACKDPHIDETACUT_H_
11#include "TwoTrackCut.h"
12
13#include <TDatabasePDG.h>
14#include <TVector2.h>
15
16
18namespace Hal {
20 public:
22 virtual Bool_t Pass(TwoTrack* pair);
23 virtual ~TwoTrackDphiDetaCut();
24 ClassDef(TwoTrackDphiDetaCut, 1)
25 };
29 Double_t fMinRad;
30 Double_t fMaxRad;
31 TDatabasePDG* fPDG;
32 Double_t fMagSign, fMagField, fMagScale;
33 const Double_t fMagConst;
34
35 public:
42 void SetRadius(Double_t min, Double_t max) {
43 fMinRad = min;
44 fMaxRad = max;
45 }
50 void SetMagSing(Double_t sign);
55 void SetMagField(Double_t field);
56 virtual Bool_t Pass(TwoTrack* pair);
57 virtual Bool_t Init(Int_t task_id = 0);
58 virtual Package* Report() const;
60 ClassDef(TwoTrackDphistarDetaCut, 1)
61 };
62} // namespace Hal
63
64#endif /* HALTWOTRACKDPHIDETACUT_H_ */
virtual Bool_t Pass(TwoTrack *pair)
void SetRadius(Double_t min, Double_t max)
virtual Bool_t Pass(TwoTrack *pair)
virtual Package * Report() const
virtual Bool_t Init(Int_t task_id=0)