Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8310513
KinematicParticleFactoryFromTransientTrack.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
KinematicParticleFactoryFromTransientTrack.h
View Options
#ifndef KinematicParticleFactoryFromTransientTrack_h
#define KinematicParticleFactoryFromTransientTrack_h
#include
"TrackingTools/TransientTrack/interface/TransientTrack.h"
#include
"RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicParticle.h"
#include
"RecoVertex/KinematicFitPrimitives/interface/ParticleMass.h"
#include
"RecoVertex/KinematicFitPrimitives/interface/TrackKinematicStatePropagator.h"
#include
"RecoVertex/KinematicFitPrimitives/interface/TransientTrackKinematicStateBuilder.h"
#include
"RecoVertex/KinematicFitPrimitives/interface/TransientTrackKinematicParticle.h"
#include
"RecoVertex/KinematicFitPrimitives/interface/KinematicConstraint.h"
/**
*.Factory for KinematicParticle RefCountedPointers
*/
class
KinematicParticleFactoryFromTransientTrack
{
public
:
/**
* Default constructoru sing a TrackKinematicStatePropagator
*/
KinematicParticleFactoryFromTransientTrack
();
/**
* Factory constructor taking a KinematicStatePropagator
*/
KinematicParticleFactoryFromTransientTrack
(
KinematicStatePropagator
*
pr
);
/**
* Default destructor
*/
~
KinematicParticleFactoryFromTransientTrack
()
{
delete
propagator
;}
/**
* Particle constructed out of corresponding TransientTrack,
* mass guess and sigma, chi2 and ndf. KinematicState
* is created at the point where TransientTrack is defined.
*/
RefCountedKinematicParticle
particle
(
const
reco
::
TransientTrack
&
initialTrack
,
const
ParticleMass
&
massGuess
,
float
chiSquared
,
float
degreesOfFr
,
float
&
m_sigma
)
const
;
/**
* Particle is constructed out of corresponding TransientTrack,
* mass_guess and sigma, chi2 and ndf. KinematicState is
* then propagated to the given point
*/
RefCountedKinematicParticle
particle
(
const
reco
::
TransientTrack
&
initialTrack
,
const
ParticleMass
&
massGuess
,
float
chiSquared
,
float
degreesOfFr
,
const
GlobalPoint
&
expPoint
,
float
m_sigma
)
const
;
/**
* Particle is consructed directly from its KinematicState,
* chi2 and related information. If no previous provided,
* initial and currnt kinemtic states of the particle will match,
* othereise, initial state will be taken from previous particle.
*/
RefCountedKinematicParticle
particle
(
const
KinematicState
&
kineState
,
float
&
chiSquared
,
float
&
ndf
,
ReferenceCountingPointer
<
KinematicParticle
>
previousParticle
,
KinematicConstraint
*
lastConstraint
=
0
)
const
;
private
:
KinematicStatePropagator
*
propagator
;
TransientTrackKinematicStateBuilder
builder
;
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Dec 21, 6:42 PM (17 m, 30 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4023852
Default Alt Text
KinematicParticleFactoryFromTransientTrack.h (2 KB)
Attached To
rRAVESVN ravesvn
Event Timeline
Log In to Comment