#include <FSimVertex.h>
Public Member Functions | |
void | addDaughter (int i) |
const FSimTrack & | daughter (int i) const |
ith daughter More... | |
const std::vector< int > & | daughters () const |
The vector of daughter indices. More... | |
FSimVertex () | |
Default constructor. More... | |
FSimVertex (const math::XYZTLorentzVector &v, int im, int id, FBaseSimEvent *mom) | |
constructor from the embedded vertex index in the FBaseSimEvent More... | |
int | id () const |
the index in FBaseSimEvent More... | |
int | nDaughters () const |
The number of daughters. More... | |
bool | noDaughter () const |
no Daughters More... | |
const FSimTrack & | parent () const |
parent track More... | |
const math::XYZTLorentzVector & | position () const |
Temporary (until CMSSW moves to Mathcore) - No ! Actually very useful. More... | |
void | setPosition (const math::XYZTLorentzVector &newPosition) |
Reset the position (to be used with care) More... | |
const SimVertex & | simVertex () const |
Simply returns the SimVertex. More... | |
Public Member Functions inherited from SimVertex | |
bool | noParent () const |
int | parentIndex () const |
unsigned int | processType () const |
void | setProcessType (unsigned int ty) |
void | setVertexId (unsigned int n) |
SimVertex () | |
constructor More... | |
SimVertex (const CoreSimVertex &t, int it) | |
constructor from transient More... | |
SimVertex (const math::XYZVectorD &v, float tof) | |
SimVertex (const math::XYZVectorD &v, float tof, int it) | |
full constructor (position, time, index of parent in final vector) More... | |
SimVertex (const CoreSimVertex &t, int it, unsigned int vId) | |
constructor from transient More... | |
SimVertex (const math::XYZVectorD &v, float tof, unsigned int vId) | |
SimVertex (const math::XYZVectorD &v, float tof, int it, unsigned int vId) | |
full constructor (position, time, index of parent in final vector) More... | |
unsigned int | vertexId () const |
Public Member Functions inherited from CoreSimVertex | |
CoreSimVertex () | |
constructors More... | |
CoreSimVertex (const math::XYZVectorD &v, float tof) | |
CoreSimVertex (const math::XYZTLorentzVectorD &v) | |
EncodedEventId | eventId () const |
const math::XYZTLorentzVectorD & | position () const |
void | setEventId (EncodedEventId e) |
void | setTof (float tof) |
Private Attributes | |
std::vector< int > | daugh_ |
int | id_ |
const FBaseSimEvent * | mom_ |
math::XYZTLorentzVector | position_ |
Additional Inherited Members | |
Public Types inherited from SimVertex | |
typedef CoreSimVertex | Core |
A class that mimics SimVertex, with enhanced features. Essentially an interface to SimVertex.
Definition at line 19 of file FSimVertex.h.
FSimVertex::FSimVertex | ( | ) |
FSimVertex::FSimVertex | ( | const math::XYZTLorentzVector & | v, |
int | im, | ||
int | id, | ||
FBaseSimEvent * | mom | ||
) |
constructor from the embedded vertex index in the FBaseSimEvent
Definition at line 7 of file FSimVertex.cc.
|
inline |
Definition at line 46 of file FSimVertex.h.
References daugh_.
Referenced by FBaseSimEvent::addSimTrack().
|
inline |
ith daughter
Referenced by nDaughters().
|
inline |
|
inline |
the index in FBaseSimEvent
Definition at line 44 of file FSimVertex.h.
References id_.
Referenced by operator<<(), and TrajectoryManager::updateWithDaughters().
|
inline |
The number of daughters.
Definition at line 35 of file FSimVertex.h.
References daugh_, daughter(), and mps_fire::i.
Referenced by noDaughter().
|
inline |
|
inline |
parent track
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget::addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer::applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer::arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer::autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer::autosizeScrollArea(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Main.StartupScreen.StartupScreen::createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.DecayLine::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::delete(), Vispa.Views.LineDecayView.DecayNode::delete(), Vispa.Views.LineDecayView.DecayLine::delete(), Vispa.Gui.VispaWidget.VispaWidget::delete(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), Vispa.Views.LineDecayView.DecayLine::extendedSize(), Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.PortWidget.PortWidget::moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget::mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), Vispa.Views.LineDecayView.DecayNode::move(), Vispa.Views.LineDecayView.LineDecayContainer::noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer::operationId(), Vispa.Views.LineDecayView.DecayLine::paint(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Views.LineDecayView.DecayLine::qtLineStyle(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), Vispa.Views.WidgetView.WidgetView::select(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Views.LineDecayView.LineDecayContainer::sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer::tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer::toggleCollapsed(), Vispa.Views.LineDecayView.DecayNode::unite(), Vispa.Views.PropertyView.PropertyView::valueChanged(), Vispa.Views.BoxDecayView.BoxDecayContainer::widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDragged().
|
inline |
Temporary (until CMSSW moves to Mathcore) - No ! Actually very useful.
Definition at line 49 of file FSimVertex.h.
References position_.
Referenced by FBaseSimEvent::addParticles(), EcalHitMaker::buildSegments(), EcalHitMaker::cellLine(), FBaseSimEvent::fill(), MaterialEffects::interact(), TrajectoryManager::makeSinglePSimHit(), operator<<(), and PFSimParticleProducer::produce().
|
inline |
Reset the position (to be used with care)
Definition at line 52 of file FSimVertex.h.
References position_.
Referenced by TrajectoryManager::updateWithDaughters().
|
inline |
|
private |
Definition at line 61 of file FSimVertex.h.
Referenced by addDaughter(), daughters(), and nDaughters().
|
private |
Definition at line 60 of file FSimVertex.h.
Referenced by id().
|
private |
Definition at line 59 of file FSimVertex.h.
|
private |
Definition at line 63 of file FSimVertex.h.
Referenced by position(), and setPosition().