#include "AliHBTReaderKineTree.h"
+//_______________________________________________________________________
+/////////////////////////////////////////////////////////////////////////
+//
+// class AliHBTReaderKineTree
+//
+// Reader for Kinematics
+//
+// Piotr.Skowronski@cern.ch
+//
+/////////////////////////////////////////////////////////////////////////
#include <TString.h>
-#include <TObjString.h>
-#include <TTree.h>
-#include <TFile.h>
#include <TParticle.h>
-#include <AliRun.h>
#include <AliRunLoader.h>
#include <AliStack.h>
-#include <AliHeader.h>
-#include "AliHBTRun.h"
#include "AliHBTEvent.h"
#include "AliHBTParticle.h"
-#include "AliHBTParticleCut.h"
ClassImp(AliHBTReaderKineTree)
/**********************************************************/
{
//ctor
}
+
+/**********************************************************/
+AliHBTReaderKineTree::AliHBTReaderKineTree(const AliHBTReaderKineTree& in):
+ AliHBTReader(in),
+ fFileName(in.fFileName),
+ fRunLoader(0x0)
+{
+ //cpy ctor
+}
+
/**********************************************************/
AliHBTReaderKineTree::~AliHBTReaderKineTree()
delete fRunLoader;
}
/**********************************************************/
+AliHBTReaderKineTree& AliHBTReaderKineTree::operator=(const AliHBTReaderKineTree& in)
+{
+//Assiment operator
+ if (this == &in) return *this;
+ AliHBTReader::operator=(in);
+ delete fRunLoader;
+ fRunLoader = 0x0;
+ return * this;
+}
+/**********************************************************/
void AliHBTReaderKineTree::Rewind()
{
+//Rewinds to the beginning
delete fRunLoader;
fRunLoader = 0x0;
fCurrentDir = 0;
#ifndef ALIHBTREADERKINETREE_H
#define ALIHBTREADERKINETREE_H
-
+//_______________________________________________________________________
+/////////////////////////////////////////////////////////////////////////
+//
+// class AliHBTReaderKineTree
+//
+// Reader for Kinematics
+//
+// Piotr.Skowronski@cern.ch
+//
+/////////////////////////////////////////////////////////////////////////
#include "AliHBTReader.h"
#include <TString.h>
AliHBTReaderKineTree(TString&);
AliHBTReaderKineTree(TObjArray*,const Char_t *filename="galice.root");
+ AliHBTReaderKineTree(const AliHBTReaderKineTree& in);
virtual ~AliHBTReaderKineTree();
+
+ AliHBTReaderKineTree& operator=(const AliHBTReaderKineTree& in);
void Rewind();
Int_t OpenNextFile();
TString fFileName;//file name
- AliRunLoader* fRunLoader;
+ AliRunLoader* fRunLoader;//!Pointer to loader
- static const TString fgkEventFolderName;
+ static const TString fgkEventFolderName; //Event folder name that session are mounter
private:
-
- public:
ClassDef(AliHBTReaderKineTree,2)
};
void ProcessDiffEventParticles(AliHBTPair* /*pair*/){}
protected:
- void GetValues(AliHBTPair*,Double_t&, Double_t&,Double_t&);
+ void GetValues(AliHBTPair* pair,Double_t& x, Double_t& y,Double_t& z);
private:
ClassDef(AliHBTTwoTrackEffFctn3D,1)
};
/* $Id$ */
+//_____________________________________________________________________________
+///////////////////////////////////////////////////////////////////////////////
+//
+// class AliHBTWeightTheorQInvFctn
+//
+// This function allows to obtain Q_inv correlation function with weights
+// calculated by Lednicky's alghorithm.
+// Numerator is filled with weighted events. Weights are attributed to simulated particles.
+// Weights are calculated with corresponding simulated particles momenta.
+// Denominator is filled with mixing unweighted simulated particles.
+// One needs only simulated pairs, so
+// this function is of class AliHBTOnePairFctn1D.
//-----------------------------------------------------------
// This class introduces the weights calculated according
// with functions of efficiency of identification (TPC+TOF)
#ifndef ALIHBTWeightTHEORFCTN_H
#define ALIHBTWeightTHEORFCTN_H
/* $Id$ */
-
-//This function allows to obtain Q_inv correlation function with weights
-//calculated by Lednicky's alghorithm.
-//Numerator is filled with weighted events. Weights are attributed to simulated particles.
-//Weights are calculated with corresponding simulated particles momenta.
-//Denominator is filled with mixing unweighted simulated particles.
-//One needs only simulated pairs, so
-//this function is of class AliHBTOnePairFctn1D.
-//Author Ludmila Malinina JINR (malinina@sunhe.jinr.ru)
+//_____________________________________________________________________________
+///////////////////////////////////////////////////////////////////////////////
+//
+// class AliHBTWeightTheorQInvFctn
+//
+// This function allows to obtain Q_inv correlation function with weights
+// calculated by Lednicky's alghorithm.
+// Numerator is filled with weighted events. Weights are attributed to simulated particles.
+// Weights are calculated with corresponding simulated particles momenta.
+// Denominator is filled with mixing unweighted simulated particles.
+// One needs only simulated pairs, so
+// this function is of class AliHBTOnePairFctn1D.
+// Author Ludmila Malinina JINR (malinina@sunhe.jinr.ru)
+//
+///////////////////////////////////////////////////////////////////////////////
#include "AliHBTFunction.h"