]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FEMTOSCOPY/AliFemto/AliFemtoModelHiddenInfo.h
Making the directory structure of AliFemto flat. All files go into one common directory
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoModelHiddenInfo.h
CommitLineData
75c432a7 1////////////////////////////////////////////////////////////////////////////////
2/// ///
3/// AliFemtoModelHiddenInfo - the hidden info for model calculations ///
4/// Stores information needed for the weight generation - the true ///
5/// simulated momenta, freeze-out coordinates from model and particle PID ///
6/// ///
7////////////////////////////////////////////////////////////////////////////////
8
d0e92d9a 9#ifndef ALIFEMTOMODELHIDDENINFO_H
10#define ALIFEMTOMODELHIDDENINFO_H
75c432a7 11
12#include <TH1D.h>
d0e92d9a 13#include "AliFemtoTypes.h"
14#include "AliFemtoThreeVector.h"
15#include "AliFemtoLorentzVector.h"
16#include "AliFemtoHiddenInfo.h"
75c432a7 17
18class AliFemtoModelHiddenInfo : public AliFemtoHiddenInfo{
19
20public:
21 AliFemtoModelHiddenInfo();
22 AliFemtoModelHiddenInfo(const AliFemtoModelHiddenInfo &aInfo);
23 virtual ~AliFemtoModelHiddenInfo();
24
25 AliFemtoModelHiddenInfo& operator=(const AliFemtoModelHiddenInfo& aInfo);
26 AliFemtoThreeVector *GetTrueMomentum() const;
27 AliFemtoLorentzVector *GetEmissionPoint() const;
28 Int_t GetPDGPid() const;
29 Double_t GetMass() const;
30
31 void SetTrueMomentum(AliFemtoThreeVector *aMom);
32 void SetTrueMomentum(const AliFemtoThreeVector& aMom);
33 void SetTrueMomentum(Double_t aPx, Double_t aPy, Double_t aPz);
34 void SetEmissionPoint(AliFemtoLorentzVector *aPos);
35 void SetEmissionPoint(const AliFemtoLorentzVector& aPos);
36 void SetEmissionPoint(Double_t aRx, Double_t aRy, Double_t aRz, Double_t aT);
37 void SetPDGPid(Int_t aPid);
38 void SetMass(Double_t aMass);
39
40// !!! MANDATORY !!!
41// --- Copy the hidden info from AliFemtoTrack to AliFemtoParticle
d0e92d9a 42 virtual AliFemtoHiddenInfo* Clone() const;
43
75c432a7 44 protected:
d0e92d9a 45 virtual AliFemtoHiddenInfo* GetParticleHiddenInfo() const;
46
75c432a7 47 AliFemtoThreeVector *fTrueMomentum; // True (simulated) momentum
48 AliFemtoLorentzVector *fEmissionPoint; // Emission point coordinates
49 Int_t fPDGPid; // True PID of the particle
d0e92d9a 50 Double_t fMass; // True particle mass
75c432a7 51};
52//_______________________________________
d0e92d9a 53inline AliFemtoHiddenInfo* AliFemtoModelHiddenInfo::Clone() const{
75c432a7 54 // return exact copy of this hidden info
d0e92d9a 55 return GetParticleHiddenInfo();
75c432a7 56}
57
58#endif