Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
SimpleVnAnalysis.h
1/*
2 * SimpleVnAnalysis.h
3 *
4 * Created on: 19-10-2013
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9
10#ifndef HALSIMPLEVNANALYSIS_H_
11#define HALSIMPLEVNANALYSIS_H_
12
13#include "FlowVariable.h"
14
15#include "HistogramManager.h"
16#include "TrackAna.h"
17
18#include <Rtypes.h>
19#include <RtypesCore.h>
20#include <TH2.h>
21
22
28namespace Hal {
29 class DividedHisto1D;
30 class SimpleVnAnalysis : public TrackAna {
31 Int_t fBinsX, fBinsY;
32 FlowVariable *fVarX, *fVarY;
33 Double_t fMinX, fMinY, fMaxX, fMaxY, fN, fPhi;
34 Int_t fNDim;
35 DividedHisto1D** fHistos = {nullptr}; //[fTrackCollectionsNo]
36 Double_t GetPhi();
37
38 protected:
39 virtual void CheckCutContainerCollections();
40 virtual void ProcessTrack();
41 virtual void LinkCollections();
42 Package* Report() const;
43 virtual Task::EInitFlag Init();
44
45 public:
50 SimpleVnAnalysis(Double_t n = 2);
63 void SetAxis(Int_t nbins, Double_t min, Double_t max, Char_t axis = 'x');
64 void SetFlowVariableX(const FlowVariable& var);
65 void SetFlowVariableY(const FlowVariable& var);
66 virtual ~SimpleVnAnalysis();
67 ClassDef(SimpleVnAnalysis, 1)
68 };
69} // namespace Hal
70
71#endif /* HALSIMPLEN2ANALYSIS_H_ */
virtual void CheckCutContainerCollections()
void SetAxis(Int_t nbins, Double_t min, Double_t max, Char_t axis='x')
virtual Task::EInitFlag Init()