AnalysisTree
Loading...
Searching...
No Matches
AnalysisTree::Hit Class Reference
Inheritance diagram for AnalysisTree::Hit:
Inheritance graph
Collaboration diagram for AnalysisTree::Hit:
Collaboration graph

Public Member Functions

 Hit (const Container &cont)
 
 Hit (const Hit &otherHit)=default
 
 Hit (Hit &&otherHit)=default
 
Hitoperator= (Hit &&)=default
 
Hitoperator= (const Hit &part)=default
 
 Hit (size_t id)
 
 Hit (size_t id, const BranchConfig &branch) noexcept
 
void SetPosition (const TVector3 &position)
 
void SetPosition (Double_t x, Double_t y, Double_t z)
 
void SetSignal (Double_t signal)
 
ANALYSISTREE_ATTR_NODISCARD TVector3 GetPosition () const
 
ANALYSISTREE_ATTR_NODISCARD Floating_t GetSignal () const
 
ANALYSISTREE_ATTR_NODISCARD Floating_t GetX () const
 
ANALYSISTREE_ATTR_NODISCARD Floating_t GetY () const
 
ANALYSISTREE_ATTR_NODISCARD Floating_t GetZ () const
 
ANALYSISTREE_ATTR_NODISCARD Floating_t GetPhi () const
 
template<typename T >
ANALYSISTREE_ATTR_NODISCARD T GetField (Integer_t iField) const
 
template<typename T >
void SetField (T value, Int_t field_id)
 
void Print () const noexcept override
 
- Public Member Functions inherited from AnalysisTree::Container
 Container (size_t id)
 
 Container (size_t id, const BranchConfig &branch)
 
 Container (const Container &container)=default
 
 Container (Container &&container)=default
 
Containeroperator= (Container &&)=default
 
Containeroperator= (const Container &part)=default
 
template<class T >
std::vector< T > & Vector ()
 
template<class T >
const std::vector< T > & GetVector () const
 
template<typename T >
void SetField (T value, Integer_t field_id)
 
template<typename T >
ANALYSISTREE_ATTR_NODISCARD T GetField (Integer_t field_id) const
 
template<typename T >
ANALYSISTREE_ATTR_NODISCARD size_t GetSize () const
 
void Init (const BranchConfig &branch)
 
template<>
std::vector< int > & Vector ()
 
template<>
std::vector< float > & Vector ()
 
template<>
std::vector< bool > & Vector ()
 
template<>
const std::vector< int > & GetVector () const
 
template<>
const std::vector< float > & GetVector () const
 
template<>
const std::vector< bool > & GetVector () const
 
- Public Member Functions inherited from AnalysisTree::IndexedObject
 IndexedObject (size_t id)
 
 IndexedObject (const IndexedObject &indexedObject)=default
 
 IndexedObject (IndexedObject &&indexedObject)=default
 
IndexedObjectoperator= (IndexedObject &&)=default
 
IndexedObjectoperator= (const IndexedObject &indexedObject)=default
 
ANALYSISTREE_ATTR_NODISCARD size_t GetId () const
 

Protected Attributes

Floating_t x_ {UndefValueFloat}
 
Floating_t y_ {UndefValueFloat}
 
Floating_t z_ {UndefValueFloat}
 
Floating_t signal_ {UndefValueFloat}
 
- Protected Attributes inherited from AnalysisTree::Container
std::vector< float > floats_ {}
 
std::vector< int > ints_ {}
 
std::vector< bool > bools_ {}
 

Friends

bool operator== (const Hit &that, const Hit &other)
 

Additional Inherited Members

- Protected Member Functions inherited from AnalysisTree::Container
 ClassDefOverride (Container, 2)
 

Member Function Documentation

◆ Print()

void AnalysisTree::Hit::Print ( ) const
overridevirtualnoexcept

Reimplemented from AnalysisTree::Container.


The documentation for this class was generated from the following files: