EDM4eic
EIC data model
|
#include <MutableSimPulse.h>
Public Types | |
using | object_type = SimPulse |
using | collection_type = SimPulseCollection |
Public Member Functions | |
MutableSimPulse () | |
default constructor | |
MutableSimPulse (std::uint64_t cellID, float integral, edm4hep::Vector3f position, float time, float interval) | |
Constructor initializing all members. | |
MutableSimPulse (const MutableSimPulse &other)=default | |
copy constructor | |
MutableSimPulse & | operator= (MutableSimPulse other) |
copy-assignment operator | |
MutableSimPulse | clone (bool cloneRelations=true) const |
~MutableSimPulse ()=default | |
destructor | |
std::uint64_t | getCellID () const |
Access the ID of the readout cell for this pulse. | |
float | getIntegral () const |
Access the Total pulse integral in relevant units. | |
const edm4hep::Vector3f & | getPosition () const |
Access the Position the pulse is evaluated in world coordinates [mm]. | |
float | getTime () const |
Access the Start time for the pulse in [ns]. | |
float | getInterval () const |
Access the Time interval between amplitude values [ns]. | |
void | setCellID (std::uint64_t value) |
Set the ID of the readout cell for this pulse. | |
std::uint64_t & | getCellID () |
Get mutable reference to ID of the readout cell for this pulse. | |
std::uint64_t & | cellID () |
Get reference to ID of the readout cell for this pulse. | |
void | setIntegral (float value) |
Set the Total pulse integral in relevant units. | |
float & | getIntegral () |
Get mutable reference to Total pulse integral in relevant units. | |
float & | integral () |
Get reference to Total pulse integral in relevant units. | |
void | setPosition (edm4hep::Vector3f value) |
Set the Position the pulse is evaluated in world coordinates [mm]. | |
edm4hep::Vector3f & | getPosition () |
Get mutable reference to Position the pulse is evaluated in world coordinates [mm]. | |
edm4hep::Vector3f & | position () |
Get reference to Position the pulse is evaluated in world coordinates [mm]. | |
void | setTime (float value) |
Set the Start time for the pulse in [ns]. | |
float & | getTime () |
Get mutable reference to Start time for the pulse in [ns]. | |
float & | time () |
Get reference to Start time for the pulse in [ns]. | |
void | setInterval (float value) |
Set the Time interval between amplitude values [ns]. | |
float & | getInterval () |
Get mutable reference to Time interval between amplitude values [ns]. | |
float & | interval () |
Get reference to Time interval between amplitude values [ns]. | |
void | addToCalorimeterHits (const edm4hep::SimCalorimeterHit &) |
std::size_t | calorimeterHits_size () const |
edm4hep::SimCalorimeterHit | getCalorimeterHits (std::size_t) const |
std::vector< edm4hep::SimCalorimeterHit >::const_iterator | calorimeterHits_begin () const |
std::vector< edm4hep::SimCalorimeterHit >::const_iterator | calorimeterHits_end () const |
podio::RelationRange< edm4hep::SimCalorimeterHit > | getCalorimeterHits () const |
void | addToTrackerHits (const edm4hep::SimTrackerHit &) |
std::size_t | trackerHits_size () const |
edm4hep::SimTrackerHit | getTrackerHits (std::size_t) const |
std::vector< edm4hep::SimTrackerHit >::const_iterator | trackerHits_begin () const |
std::vector< edm4hep::SimTrackerHit >::const_iterator | trackerHits_end () const |
podio::RelationRange< edm4hep::SimTrackerHit > | getTrackerHits () const |
void | addToPulses (const edm4eic::SimPulse &) |
std::size_t | pulses_size () const |
edm4eic::SimPulse | getPulses (std::size_t) const |
std::vector< edm4eic::SimPulse >::const_iterator | pulses_begin () const |
std::vector< edm4eic::SimPulse >::const_iterator | pulses_end () const |
podio::RelationRange< edm4eic::SimPulse > | getPulses () const |
void | addToParticles (const edm4hep::MCParticle &) |
std::size_t | particles_size () const |
edm4hep::MCParticle | getParticles (std::size_t) const |
std::vector< edm4hep::MCParticle >::const_iterator | particles_begin () const |
std::vector< edm4hep::MCParticle >::const_iterator | particles_end () const |
podio::RelationRange< edm4hep::MCParticle > | getParticles () const |
void | addToAmplitude (const float &) |
std::size_t | amplitude_size () const |
float | getAmplitude (std::size_t) const |
std::vector< float >::const_iterator | amplitude_begin () const |
std::vector< float >::const_iterator | amplitude_end () const |
podio::RelationRange< float > | getAmplitude () const |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from SimPulseObj instance | |
bool | operator== (const MutableSimPulse &other) const |
bool | operator== (const SimPulse &other) const |
bool | operator!= (const MutableSimPulse &other) const |
bool | operator!= (const SimPulse &other) const |
bool | operator< (const MutableSimPulse &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | SimPulseCollection |
class | SimPulseMutableCollectionIterator |
class | SimPulse |
void | swap (MutableSimPulse &a, MutableSimPulse &b) |
Simulated pulse prior to digitization.
edm4eic::MutableSimPulse::MutableSimPulse | ( | ) |
default constructor
edm4eic::MutableSimPulse::MutableSimPulse | ( | std::uint64_t | cellID, |
float | integral, | ||
edm4hep::Vector3f | position, | ||
float | time, | ||
float | interval ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
void edm4eic::MutableSimPulse::addToAmplitude | ( | const float & | component | ) |
void edm4eic::MutableSimPulse::addToCalorimeterHits | ( | const edm4hep::SimCalorimeterHit & | component | ) |
void edm4eic::MutableSimPulse::addToParticles | ( | const edm4hep::MCParticle & | component | ) |
void edm4eic::MutableSimPulse::addToPulses | ( | const edm4eic::SimPulse & | component | ) |
void edm4eic::MutableSimPulse::addToTrackerHits | ( | const edm4hep::SimTrackerHit & | component | ) |
std::vector< float >::const_iterator edm4eic::MutableSimPulse::amplitude_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::MutableSimPulse::amplitude_end | ( | ) | const |
std::size_t edm4eic::MutableSimPulse::amplitude_size | ( | ) | const |
std::vector< edm4hep::SimCalorimeterHit >::const_iterator edm4eic::MutableSimPulse::calorimeterHits_begin | ( | ) | const |
std::vector< edm4hep::SimCalorimeterHit >::const_iterator edm4eic::MutableSimPulse::calorimeterHits_end | ( | ) | const |
std::size_t edm4eic::MutableSimPulse::calorimeterHits_size | ( | ) | const |
std::uint64_t & edm4eic::MutableSimPulse::cellID | ( | ) |
Get reference to ID of the readout cell for this pulse.
MutableSimPulse edm4eic::MutableSimPulse::clone | ( | bool | cloneRelations = true | ) | const |
create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty
podio::RelationRange< float > edm4eic::MutableSimPulse::getAmplitude | ( | ) | const |
float edm4eic::MutableSimPulse::getAmplitude | ( | std::size_t | index | ) | const |
podio::RelationRange< edm4hep::SimCalorimeterHit > edm4eic::MutableSimPulse::getCalorimeterHits | ( | ) | const |
edm4hep::SimCalorimeterHit edm4eic::MutableSimPulse::getCalorimeterHits | ( | std::size_t | index | ) | const |
std::uint64_t & edm4eic::MutableSimPulse::getCellID | ( | ) |
Get mutable reference to ID of the readout cell for this pulse.
std::uint64_t edm4eic::MutableSimPulse::getCellID | ( | ) | const |
Access the ID of the readout cell for this pulse.
float & edm4eic::MutableSimPulse::getIntegral | ( | ) |
Get mutable reference to Total pulse integral in relevant units.
float edm4eic::MutableSimPulse::getIntegral | ( | ) | const |
Access the Total pulse integral in relevant units.
float & edm4eic::MutableSimPulse::getInterval | ( | ) |
Get mutable reference to Time interval between amplitude values [ns].
float edm4eic::MutableSimPulse::getInterval | ( | ) | const |
Access the Time interval between amplitude values [ns].
const podio::ObjectID edm4eic::MutableSimPulse::getObjectID | ( | ) | const |
podio::RelationRange< edm4hep::MCParticle > edm4eic::MutableSimPulse::getParticles | ( | ) | const |
edm4hep::MCParticle edm4eic::MutableSimPulse::getParticles | ( | std::size_t | index | ) | const |
edm4hep::Vector3f & edm4eic::MutableSimPulse::getPosition | ( | ) |
Get mutable reference to Position the pulse is evaluated in world coordinates [mm].
const edm4hep::Vector3f & edm4eic::MutableSimPulse::getPosition | ( | ) | const |
Access the Position the pulse is evaluated in world coordinates [mm].
podio::RelationRange< edm4eic::SimPulse > edm4eic::MutableSimPulse::getPulses | ( | ) | const |
edm4eic::SimPulse edm4eic::MutableSimPulse::getPulses | ( | std::size_t | index | ) | const |
float & edm4eic::MutableSimPulse::getTime | ( | ) |
Get mutable reference to Start time for the pulse in [ns].
float edm4eic::MutableSimPulse::getTime | ( | ) | const |
Access the Start time for the pulse in [ns].
podio::RelationRange< edm4hep::SimTrackerHit > edm4eic::MutableSimPulse::getTrackerHits | ( | ) | const |
edm4hep::SimTrackerHit edm4eic::MutableSimPulse::getTrackerHits | ( | std::size_t | index | ) | const |
|
inline |
float & edm4eic::MutableSimPulse::integral | ( | ) |
Get reference to Total pulse integral in relevant units.
float & edm4eic::MutableSimPulse::interval | ( | ) |
Get reference to Time interval between amplitude values [ns].
bool edm4eic::MutableSimPulse::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
|
inline |
|
inline |
MutableSimPulse & edm4eic::MutableSimPulse::operator= | ( | MutableSimPulse | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::MutableSimPulse::operator== | ( | const SimPulse & | other | ) | const |
std::vector< edm4hep::MCParticle >::const_iterator edm4eic::MutableSimPulse::particles_begin | ( | ) | const |
std::vector< edm4hep::MCParticle >::const_iterator edm4eic::MutableSimPulse::particles_end | ( | ) | const |
std::size_t edm4eic::MutableSimPulse::particles_size | ( | ) | const |
edm4hep::Vector3f & edm4eic::MutableSimPulse::position | ( | ) |
Get reference to Position the pulse is evaluated in world coordinates [mm].
std::vector< edm4eic::SimPulse >::const_iterator edm4eic::MutableSimPulse::pulses_begin | ( | ) | const |
std::vector< edm4eic::SimPulse >::const_iterator edm4eic::MutableSimPulse::pulses_end | ( | ) | const |
std::size_t edm4eic::MutableSimPulse::pulses_size | ( | ) | const |
void edm4eic::MutableSimPulse::setCellID | ( | std::uint64_t | value | ) |
Set the ID of the readout cell for this pulse.
void edm4eic::MutableSimPulse::setIntegral | ( | float | value | ) |
Set the Total pulse integral in relevant units.
void edm4eic::MutableSimPulse::setInterval | ( | float | value | ) |
Set the Time interval between amplitude values [ns].
void edm4eic::MutableSimPulse::setPosition | ( | edm4hep::Vector3f | value | ) |
Set the Position the pulse is evaluated in world coordinates [mm].
void edm4eic::MutableSimPulse::setTime | ( | float | value | ) |
Set the Start time for the pulse in [ns].
float & edm4eic::MutableSimPulse::time | ( | ) |
Get reference to Start time for the pulse in [ns].
std::vector< edm4hep::SimTrackerHit >::const_iterator edm4eic::MutableSimPulse::trackerHits_begin | ( | ) | const |
std::vector< edm4hep::SimTrackerHit >::const_iterator edm4eic::MutableSimPulse::trackerHits_end | ( | ) | const |
std::size_t edm4eic::MutableSimPulse::trackerHits_size | ( | ) | const |
|
inline |
disconnect from SimPulseObj instance
|
friend |
|
friend |
|
friend |
|
friend |