PandaRoot
RecoPhoton.h
Go to the documentation of this file.
1 // ******************************************************
2 // DecayTreeFitter Package
3 // We thank the original author Wouter Hulsbergen
4 // (BaBar, LHCb) for providing the sources.
5 // http://arxiv.org/abs/physics/0503191v1 (2005)
6 // Adaptation & Development for PANDA: Ralf Kliemt (2015)
7 // ******************************************************
8 #ifndef RECOPHOTON_H
9 #define RECOPHOTON_H 1
10 
11 #include "RecoParticle.h"
12 #include "TVector3.h"
13 #include "Rtypes.h"
14 
15 namespace DecayTreeFitter {
16 
17 class RecoPhoton : public RecoParticle {
18  public:
20  virtual ~RecoPhoton();
21 
22  virtual int dimM() const { return 3; }
23  virtual ErrCode initPar1(FitParams *);
24  virtual ErrCode initPar2(FitParams *);
25 
26  virtual ErrCode initCov(FitParams *) const;
27  virtual int type() const { return kRecoPhoton; }
28  virtual ErrCode projectRecoConstraint(const FitParams *, Projection &) const;
29  ErrCode updCache();
30 
31  virtual void addToConstraintList(constraintlist &alist, int depth) const { alist.push_back(Constraint(this, Constraint::photon, depth, dimM())); }
32 
33  private:
34  virtual ErrCode initParPhoton(FitParams *, const TVector3 &motherpos) const;
35  double m_z;
36  TVector3 m_m;
37  TMatrixDSym m_V;
38  ClassDef(RecoPhoton, 1)
39 };
40 
41 } // namespace DecayTreeFitter
42 #endif
std::vector< DecayTreeFitter::Constraint > constraintlist
Definition: ParticleBase.h:102
virtual ErrCode projectRecoConstraint(const FitParams *, Projection &) const
virtual int type() const
Definition: RecoPhoton.h:27
const ParticleBase * mother() const
Definition: ParticleBase.h:52
virtual void addToConstraintList(constraintlist &alist, int depth) const
Definition: RecoPhoton.h:31
virtual ErrCode initPar1(FitParams *)
virtual ErrCode initCov(FitParams *) const
virtual ErrCode initPar2(FitParams *)
virtual int dimM() const
Definition: RecoPhoton.h:22
RecoPhoton(RhoCandidate *bc, const ParticleBase *mother)