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 // Adjustment for fully neutral reactions: Jean Noel (2023)
8 // **********************************************************************************
9 #ifndef RECOPHOTON_H
10 #define RECOPHOTON_H 1
11 
12 #include "RecoParticle.h"
13 #include "TVector3.h"
14 #include "Rtypes.h"
15 
16 namespace DecayTreeFitter {
17 
18 class RecoPhoton : public RecoParticle {
19  public:
21  virtual ~RecoPhoton();
22 
23  virtual int dimM() const { return 3; }
24  virtual ErrCode initPar1(FitParams *);
25  virtual ErrCode initPar2(FitParams *);
26 
27  virtual ErrCode initCov(FitParams *) const;
28  virtual int type() const { return kRecoPhoton; }
29  virtual ErrCode projectRecoConstraint(const FitParams *, Projection &) const;
30  ErrCode updCache();
31 
32  virtual void addToConstraintList(constraintlist &alist, int depth) const { alist.push_back(Constraint(this, Constraint::photon, depth, dimM())); }
33 
34  private:
35  virtual ErrCode initParPhoton(FitParams *, const TVector3 &motherpos) const;
36  double m_z;
37  TVector3 m_m;
38  TMatrixDSym m_V;
39  TMatrixDSym m_par_V;
40  ClassDef(RecoPhoton, 1)
41 };
42 
43 } // namespace DecayTreeFitter
44 #endif
std::vector< DecayTreeFitter::Constraint > constraintlist
Definition: ParticleBase.h:102
virtual ErrCode projectRecoConstraint(const FitParams *, Projection &) const
virtual int type() const
Definition: RecoPhoton.h:28
const ParticleBase * mother() const
Definition: ParticleBase.h:52
virtual void addToConstraintList(constraintlist &alist, int depth) const
Definition: RecoPhoton.h:32
virtual ErrCode initPar1(FitParams *)
virtual ErrCode initCov(FitParams *) const
virtual ErrCode initPar2(FitParams *)
virtual int dimM() const
Definition: RecoPhoton.h:23
RecoPhoton(RhoCandidate *bc, const ParticleBase *mother)