15#ifndef IPARTICLEHANDLE_TRACKPARTICLE_H
16#define IPARTICLEHANDLE_TRACKPARTICLE_H
35 virtual SoNode*
nodes();
44 void fillLineFromSplineFit( const std::vector<Amg::Vector3D>& positions,
45 const std::vector<Amg::Vector3D>& momenta);
50 virtual QStringList
clicked()
const;
54 virtual double charge()
const ;
65 virtual QString
type()
const {
return QString(
"TrackParticle"); }
75 virtual void dumpToJSON( std::ofstream& )
const ;
Base class for collections holding AOD objects of iParticle type Handles pt etc cuts Local data:
IParticleHandleBase(IParticleCollHandleBase *)
virtual unsigned summaryValue(xAOD::SummaryType type) const
virtual Amg::Vector3D position() const
virtual ~IParticleHandle_TrackParticle()
virtual unsigned getNSCTHits() const
virtual void clear3DObjects()
Delete objects.
virtual double charge() const
Returns unknown() in case of trouble.
virtual void dumpToJSON(std::ofstream &) const
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
virtual unsigned getNMuonPhiHoleLayers() const
QString shortInfo() const
This returns the information shown about the object in the object browser.
virtual SoNode * nodes()
Returns the 3Dobjects.
const QList< std::pair< xAOD::ParameterPosition, Amg::Vector3D > > & parametersAndPositions() const
virtual unsigned getNMuonPrecisionHoleLayers() const
void fillObjectBrowser(QList< QTreeWidgetItem * > &listOfItems)
Create and fill the object browser QTreeWidgetItem.
void addLine_FromTrackParticle()
Make the line, but only using information on the track (a spline fit will be done from the parameters...
virtual QString type() const
return very short word with type (maybe link with collection type?)
void ensureInitSubSysHitInfo() const
virtual unsigned getNPixelHits() const
virtual Amg::Vector3D momentum() const
virtual unsigned getNMuonPrecisionLayers() const
IParticleHandle_TrackParticle(IParticleCollHandleBase *, const xAOD::TrackParticle *)
void addParameterShapes()
void bezier(Amg::Vector3D &output, Amg::Vector3D &a, Amg::Vector3D &b, Amg::Vector3D &c, Amg::Vector3D &d, float t)
void linear(Amg::Vector3D &output, Amg::Vector3D &a, Amg::Vector3D &b, float t)
virtual QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
void addLine_Extrapolated()
Extrapolate the initial track parameters to get the line (a spline fit is done between the extrapolat...
virtual unsigned getNMuonPhiLayers() const
const xAOD::IParticle & iParticle() const
virtual unsigned getNTRTHits() const
Class providing the definition of the 4-vector interface.
Eigen::Matrix< double, 3, 1 > Vector3D
TrackParticle_v1 TrackParticle
Reference the current persistent version:
SummaryType
Enumerates the different types of information stored in Summary.