StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtSmearedHiddenInfo.h
1 /***************************************************************************
2  *
3  *
4  *
5  * Author: Adam Kisiel, Warsaw University of Technology, Poland
6  ***************************************************************************
7  *
8  * Description : Stores the hidden information for the particle
9  * Momentum of the particle is smeared according to the momentum resolution
10  *
11  ***************************************************************************
12  *
13  *
14  *
15  ***************************************************************************/
16 
17 #ifndef StHbtSmearedHiddenInfo_hh
18 #define StHbtSmearedHiddenInfo_hh
19 
20 #include "StHbtMaker/Base/StHbtHiddenInfo.hh"
21 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
22 #include "TRandom.h"
23 #include "StHbtMaker/ThCorrFctn/StHbtMomRes.hh"
24 
26 
27 public:
28 
29 // --- Constructors
31  StHbtSmearedHiddenInfo(const StHbtLorentzVector& aInitialMom,
32  const StHbtLorentzVector& aFreezeOut,
33  const int& aPid,
34  TRandom* aRand,
35  const StHbtMomRes* aMomRes);
37  StHbtSmearedHiddenInfo(const StHbtLorentzVector& aSmearedMom,
38  const StHbtLorentzVector& aFreezeOut,
39  const int& aPid);
40 // --- Destructor
41  virtual ~StHbtSmearedHiddenInfo();
42 
43 // --- Return hidden info content
44  const StHbtLorentzVector& getSmearedMom() const;
45  StHbtLorentzVector& getMomentum();
46  StHbtLorentzVector& getFreezeOut() const;
47  int getPid() const;
48 
49 // ---Change hidden info content
50  void setInitialMom(const StHbtLorentzVector*, TRandom*, const StHbtMomRes*);
51  void setFreezeOut(const StHbtLorentzVector*);
52  void setPid(int);
53 
54 // !!! MANDATORY !!!
55 // --- Copy the hidden info from StHbtTrack to StHbtParticle
56  virtual StHbtHiddenInfo* getParticleHiddenInfo() const;
57 
58  StHbtLorentzVector mSmearedMom;
59  StHbtLorentzVector *mFreezeOut;
60 
61  private:
62  int mPid;
63 };
64 
65 #endif