Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
ChargedFluctuationsAna.h
1/*
2 * FluctuationsAna.h
3 *
4 * Created on: 31 sie 2017
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCHARGEDFLUCTUATIONSANA_H_
10#define HALCHARGEDFLUCTUATIONSANA_H_
16#include <TH3.h>
17#include <TString.h>
18
19#include "Cut.h"
20#include "HistogramManager.h"
21#include "TrackAna.h"
22
23namespace Hal {
24 class TrackCut;
25 class EventCut;
26 class CutsAndMonitors;
27
29 Int_t fBins;
30 Double_t fMin, fMax;
31 Int_t fEventBins, fEventPar, fTrackColsHalf;
32 Double_t fEventMin, fEventMax;
33 std::vector<Int_t> fCounts;
34 std::vector<TString> fEventLabels;
35 std::vector<TString> fTrackLabels;
36 TString HistoName(Int_t id, TString pattern) const;
37 TString HistoTitle(Int_t id, TString pattern) const;
38 TString CleanOpt(Option_t* opt, Int_t col) const;
40
41 protected:
42 virtual void CheckCutContainerCollections();
43 virtual void ProcessEvent();
44 Task::EInitFlag Init();
45
46 public:
48 void SetEventLabels(const std::initializer_list<TString>& init = {"Events"});
49 void SetTrackLabels(const std::initializer_list<TString>& init = {"Pions"});
58 void SetTrackHistogramAxis(Int_t bins, Double_t min, Double_t max);
62 void SetEventHistogramAxis(Int_t bins, Double_t min, Double_t max);
63 virtual void AddCut(const Cut& cut, Option_t* opt = "");
67 void AddCut(const TrackCut& pos, const TrackCut& neg, Option_t* opt = "");
68 void AddCutsAndMonitors(const CutsAndMonitors& posTrack, const CutsAndMonitors& negTrack, Option_t* opt = "");
72 void SetEventprop(Int_t evProp);
73 virtual Package* Report() const;
75 ClassDef(ChargedFluctuationsAna, 1)
76 };
77} // namespace Hal
78
79#endif /* NICACHARGEDFLUCTUATIONSANA_H_ */
void SetTrackHistogramAxis(Int_t bins, Double_t min, Double_t max)
virtual void AddCut(const Cut &cut, Option_t *opt="")
void SetEventHistogramAxis(Int_t bins, Double_t min, Double_t max)
virtual Package * Report() const
Definition Cut.h:40