11#include <framework/datastore/RelationsObject.h>
12#include <tracking/dataobjects/RecoTrack.h>
13#include <mdst/dataobjects/ECLCluster.h>
15#include <Math/Vector3D.h>
43 double clusterDistance,
double acceptanceFactor) :
double m_clusterDistance
Angle difference between the extrapolation and the bremCluster position.
ROOT::Math::XYZVector m_position
The radiation position.
BremHit()=default
Empty constructor for root.
double m_bremEnergy
The radiated energy.
double getEffAcceptanceFactor() const
Return the effective acceptance factor to find the BremHit.
BremHit(const RecoTrack *recoTrack, const ECLCluster *bremCluster, const ROOT::Math::XYZVector &position, double bremEnergy, double clusterDistance, double acceptanceFactor)
Create a BremHit, with information about the energy and position of the radiation Automatically adds ...
ClassDef(BremHit, 2)
Making this class a ROOT class.
double getClusterDistance() const
Return the angle difference between the extrapolation and the bremCluster position.
double getBremEnergy() const
Return the radiated energy.
double m_positionRadius
The radiation position radius.
double m_acceptanceFactor
The acceptance factor which is needed to find the BremHit.
void setPosition(const ROOT::Math::XYZVector &position)
Set the radiation position.
void setClusterDistance(const double distance)
Set the distance between the extrapolation and the bremCluster position.
ROOT::Math::XYZVector getPosition() const
Return the radiation position.
void setBremEnergy(const double bremEnergy)
Set the radiated energy.
This is the Reconstruction Event-Data Model Track.
void addRelationTo(const RelationsInterface< TObject > *object, float weight=1.0, const std::string &namedRelation="") const
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Abstract base class for different kinds of events.