Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackKinematicsCutAndMonitor.h
1/*
2 * TrackKinematicsCutAndMonitor.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 HALFEMTO_CUTS_TRACKCUTS_KINEMATICS_HALTRACKKINEMATICSCUTANDMONITOR_H_
10#define HALFEMTO_CUTS_TRACKCUTS_KINEMATICS_HALTRACKKINEMATICSCUTANDMONITOR_H_
11
15#include "CutsAndMonitors.h"
16#include "TrackCut.h"
17
18namespace Hal {
20 CutMonAxisConf fEtaAxis;
21 CutMonAxisConf fPtAxis;
22
23 protected:
24 void AddAllCutMonitorRequests();
25
26 public:
28 TrackCut* GetPtCut() const { return static_cast<TrackCut*>(CutAt(0)); };
29 TrackCut* GetEtaCut() const { return static_cast<TrackCut*>(CutAt(1)); };
30 void SetCutMonPtAxis(Int_t bins, Double_t min, Double_t max) { fPtAxis.SetAxis(bins, min, max); };
31 void SetCutMonEtaAxis(Int_t bins, Double_t min, Double_t max) { fEtaAxis.SetAxis(bins, min, max); };
34 };
35} // namespace Hal
36
37#endif /* HALFEMTO_CUTS_TRACKCUTS_KINEMATICS_HALTRACKKINEMATICSCUTANDMONITOR_H_ */
void SetAxis(Int_t bins, Double_t min, Double_t max)
Cut * CutAt(Int_t i) const