Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackToFMass2Cut.h
1/*
2 * TrackToFMass2Cut.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 HALTRACKTOFMASS2CUT_H_
10#define HALTRACKTOFMASS2CUT_H_
11#include "TrackExpCut.h"
18namespace Hal {
20 protected:
21 Double_t fLowLine[3];
22 Double_t fHighLine[3];
23 void
24 GetPoly(Double_t& a, Double_t& b, Double_t& c, Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3);
25 TrackToFMass2Cut(Int_t nParams);
26
27 public:
30 void SetPolyLineDown(Double_t a, Double_t b, Double_t c);
31 void SetPolyLineUp(Double_t a, Double_t b, Double_t c);
32 void GetPolyUp(Double_t& a, Double_t& b, Double_t& c) const;
33 void GetPolyDown(Double_t& a, Double_t& b, Double_t& c) const;
34 void SetUpPoints(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3);
35 void SetDownPoints(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3);
36 virtual Bool_t Init(Int_t formad_id);
37 virtual Bool_t Pass(Track* tr);
38 virtual ~TrackToFMass2Cut();
39 virtual Package* Report() const;
40 ClassDef(TrackToFMass2Cut, 1)
41 };
47 public:
50 virtual Bool_t Pass(Track* tr);
51 virtual ~TrackTofMass2CutNoZeros() {};
52 ClassDef(TrackTofMass2CutNoZeros, 1)
53 };
54} // namespace Hal
55#endif /* HALTRACKTOFMASS2CUT_H_ */
virtual Bool_t Init(Int_t formad_id)
virtual Bool_t Pass(Track *tr)
virtual Package * Report() const
virtual Bool_t Pass(Track *tr)