FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
analysis
rho
DecayTreeFitter
MissingParticle.cxx
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
// ******************************************************
17
#include "TLorentzVector.h"
18
#include "
FitParams.h
"
19
#include "
MissingParticle.h
"
20
//#include "Event/Particle.h"
21
22
using namespace
DecayTreeFitter
;
23
24
ClassImp
(
MissingParticle
);
25
26
extern
int
vtxverbose
;
27
28
DecayTreeFitter::MissingParticle::MissingParticle
(
RhoCandidate
* bc,
const
ParticleBase
* aMother)
29
:
ParticleBase
(bc,aMother)
30
{
31
// this will be one of the very few particles for which we adjust
32
// the dimension if there is a constraint
33
}
34
35
DecayTreeFitter::MissingParticle::~MissingParticle
() {}
36
37
ErrCode
DecayTreeFitter::MissingParticle::initPar1
(
FitParams
* fitpar)
38
{
39
if
(
vtxverbose
>5){std::cout<<
"MissingParticle::initPar1: - "
<<std::endl;}
40
// take them from the bc
41
TLorentzVector p4 =
particle
()->P4() ;
42
int
momindex = momIndex();
43
fitpar->
par
()(momindex+0) = p4.Px() ;
44
fitpar->
par
()(momindex+1) = p4.Py() ;
45
fitpar->
par
()(momindex+2) = p4.Pz() ;
46
if
(hasEnergy()) fitpar->
par
()(momindex+3) = p4.E() ;
47
return
ErrCode
() ;
48
}
49
50
std::string
DecayTreeFitter::MissingParticle::parname
(
int
ind)
const
51
{
52
return
ParticleBase::parname
(ind+4) ;
53
}
DecayTreeFitter::MissingParticle::parname
virtual std::string parname(int index) const
Definition:
MissingParticle.cxx:50
DecayTreeFitter::FitParams::par
TVectorD & par()
Definition:
FitParams.h:35
FitParams.h
DecayTreeFitter::MissingParticle::initPar1
virtual ErrCode initPar1(FitParams *)
Definition:
MissingParticle.cxx:37
DecayTreeFitter::ErrCode
Definition:
ErrCode.h:17
RhoCandidate
Definition:
RhoCandidate.h:44
particle
const int particle
Definition:
runGeaneTestSimBox.cxx:51
ClassImp
ClassImp(MissingParticle)
DecayTreeFitter::MissingParticle::MissingParticle
MissingParticle(RhoCandidate *bc, const ParticleBase *mother)
Definition:
MissingParticle.cxx:28
vtxverbose
int vtxverbose
Definition:
ParticleBase.cxx:45
DecayTreeFitter::ParticleBase::parname
virtual std::string parname(int index) const
Definition:
ParticleBase.cxx:291
DecayTreeFitter::MissingParticle
Definition:
MissingParticle.h:17
MissingParticle.h
DecayTreeFitter::MissingParticle::~MissingParticle
virtual ~MissingParticle()
Definition:
MissingParticle.cxx:35
DecayTreeFitter::ParticleBase
Definition:
ParticleBase.h:25
DecayTreeFitter
Definition:
ChiSquare.h:13
DecayTreeFitter::FitParams
Definition:
FitParams.h:24
Generated on Sun Aug 18 2019 03:01:15 for FairRoot/PandaRoot by
1.8.8