//-----------------------------------------------------------------------
- AliFlowCommonHist::AliFlowCommonHist(TString input):
-// fEvent(0),
- fTrack(0),
- fHistMultOrig(0),
- fHistMultInt(0),
- fHistMultDiff(0),
- fHistPtInt(0),
- fHistPtDiff(0),
- fHistPhiInt(0),
- fHistPhiDiff(0),
- fHistEtaInt(0),
- fHistEtaDiff(0),
- fHistProMeanPtperBin(0),
- fHistQ(0)
+ AliFlowCommonHist::AliFlowCommonHist(TString input):TObject(),
+ fHistMultOrig(NULL),
+ fHistMultInt(NULL),
+ fHistMultDiff(NULL),
+ fHistPtInt(NULL),
+ fHistPtDiff(NULL),
+ fHistPhiInt(NULL),
+ fHistPhiDiff(NULL),
+ fHistEtaInt(NULL),
+ fHistEtaDiff(NULL),
+ fHistProMeanPtperBin(NULL),
+ fHistQ(NULL)
{
//constructor creating histograms
Int_t fNbinsMult = AliFlowCommonConstants::GetNbinsMult();
Int_t fMultInt = 0;
Int_t fMultDiff = 0;
+
+ AliFlowTrackSimple* fTrack = NULL;
+
for (Int_t i=0;i<fNumberOfTracks;i++) {
fTrack = Event->GetTrack(i);
if (fTrack ) {
// AliFlowCommonHist:
// Description: Class to organise common histograms for Flow Analysis
-// authors: N. van der Kolk (kolk@nikhef.nl) and A. Bilandzic (anteb@nikhef.nl)
+// authors: N.K A.B R.S
class AliFlowEventSimple;
class TH1D;
class TProfile;
-class AliFlowCommonHist {
+class AliFlowCommonHist: public TObject {
public:
AliFlowCommonHist(const AliFlowCommonHist& aSetOfHists);
AliFlowCommonHist& operator=(const AliFlowCommonHist& aSetOfHists);
- AliFlowTrackSimple* fTrack; //!
-
//define histograms here
//control histograms
- TH1F* fHistMultOrig; //!
- TH1F* fHistMultInt; //!
- TH1F* fHistMultDiff; //!
- TH1F* fHistPtInt; //!
- TH1F* fHistPtDiff; //!
- TH1F* fHistPhiInt; //!
- TH1F* fHistPhiDiff; //!
- TH1F* fHistEtaInt; //!
- TH1F* fHistEtaDiff; //!
- TProfile* fHistProMeanPtperBin; //!
- TH1F* fHistQ; //!
+ TH1F* fHistMultOrig;
+ TH1F* fHistMultInt;
+ TH1F* fHistMultDiff;
+ TH1F* fHistPtInt;
+ TH1F* fHistPtDiff;
+ TH1F* fHistPhiInt;
+ TH1F* fHistPhiDiff;
+ TH1F* fHistEtaInt;
+ TH1F* fHistEtaDiff;
+ TProfile* fHistProMeanPtperBin;
+ TH1F* fHistQ;
ClassDef(AliFlowCommonHist,0); // macro for rootcint
};