EDM4eic
EIC data model
|
#include <SimPulse.h>
Public Types | |
using | mutable_type = MutableSimPulse |
using | collection_type = SimPulseCollection |
Public Member Functions | |
SimPulse () | |
default constructor | |
SimPulse (std::uint64_t cellID, float integral, edm4hep::Vector3f position, float time, float interval) | |
Constructor initializing all members. | |
SimPulse (const SimPulse &other)=default | |
copy constructor | |
SimPulse & | operator= (SimPulse other) |
copy-assignment operator | |
MutableSimPulse | clone (bool cloneRelations=true) const |
~SimPulse ()=default | |
destructor | |
SimPulse (const MutableSimPulse &other) | |
converting constructor from mutable object | |
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]. | |
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 |
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 |
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 |
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 |
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 SimPulse &other) const |
bool | operator== (const MutableSimPulse &other) const |
bool | operator!= (const SimPulse &other) const |
bool | operator!= (const MutableSimPulse &other) const |
bool | operator< (const SimPulse &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
static SimPulse | makeEmpty () |
Friends | |
class | MutableSimPulse |
class | SimPulseCollection |
class | edm4eic::SimPulseCollectionData |
class | SimPulseCollectionIterator |
void | swap (SimPulse &a, SimPulse &b) |
Simulated pulse prior to digitization.
edm4eic::SimPulse::SimPulse | ( | ) |
default constructor
edm4eic::SimPulse::SimPulse | ( | std::uint64_t | cellID, |
float | integral, | ||
edm4hep::Vector3f | position, | ||
float | time, | ||
float | interval ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
edm4eic::SimPulse::SimPulse | ( | const MutableSimPulse & | other | ) |
converting constructor from mutable object
std::vector< float >::const_iterator edm4eic::SimPulse::amplitude_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::SimPulse::amplitude_end | ( | ) | const |
std::size_t edm4eic::SimPulse::amplitude_size | ( | ) | const |
std::vector< edm4hep::SimCalorimeterHit >::const_iterator edm4eic::SimPulse::calorimeterHits_begin | ( | ) | const |
std::vector< edm4hep::SimCalorimeterHit >::const_iterator edm4eic::SimPulse::calorimeterHits_end | ( | ) | const |
std::size_t edm4eic::SimPulse::calorimeterHits_size | ( | ) | const |
MutableSimPulse edm4eic::SimPulse::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::SimPulse::getAmplitude | ( | ) | const |
float edm4eic::SimPulse::getAmplitude | ( | std::size_t | index | ) | const |
podio::RelationRange< edm4hep::SimCalorimeterHit > edm4eic::SimPulse::getCalorimeterHits | ( | ) | const |
edm4hep::SimCalorimeterHit edm4eic::SimPulse::getCalorimeterHits | ( | std::size_t | index | ) | const |
std::uint64_t edm4eic::SimPulse::getCellID | ( | ) | const |
Access the ID of the readout cell for this pulse.
float edm4eic::SimPulse::getIntegral | ( | ) | const |
Access the Total pulse integral in relevant units.
float edm4eic::SimPulse::getInterval | ( | ) | const |
Access the Time interval between amplitude values [ns].
const podio::ObjectID edm4eic::SimPulse::getObjectID | ( | ) | const |
podio::RelationRange< edm4hep::MCParticle > edm4eic::SimPulse::getParticles | ( | ) | const |
edm4hep::MCParticle edm4eic::SimPulse::getParticles | ( | std::size_t | index | ) | const |
const edm4hep::Vector3f & edm4eic::SimPulse::getPosition | ( | ) | const |
Access the Position the pulse is evaluated in world coordinates [mm].
podio::RelationRange< edm4eic::SimPulse > edm4eic::SimPulse::getPulses | ( | ) | const |
edm4eic::SimPulse edm4eic::SimPulse::getPulses | ( | std::size_t | index | ) | const |
float edm4eic::SimPulse::getTime | ( | ) | const |
Access the Start time for the pulse in [ns].
podio::RelationRange< edm4hep::SimTrackerHit > edm4eic::SimPulse::getTrackerHits | ( | ) | const |
edm4hep::SimTrackerHit edm4eic::SimPulse::getTrackerHits | ( | std::size_t | index | ) | const |
|
inline |
bool edm4eic::SimPulse::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
|
inline |
|
inline |
bool edm4eic::SimPulse::operator== | ( | const MutableSimPulse & | other | ) | const |
|
inline |
std::vector< edm4hep::MCParticle >::const_iterator edm4eic::SimPulse::particles_begin | ( | ) | const |
std::vector< edm4hep::MCParticle >::const_iterator edm4eic::SimPulse::particles_end | ( | ) | const |
std::size_t edm4eic::SimPulse::particles_size | ( | ) | const |
std::vector< edm4eic::SimPulse >::const_iterator edm4eic::SimPulse::pulses_begin | ( | ) | const |
std::vector< edm4eic::SimPulse >::const_iterator edm4eic::SimPulse::pulses_end | ( | ) | const |
std::size_t edm4eic::SimPulse::pulses_size | ( | ) | const |
std::vector< edm4hep::SimTrackerHit >::const_iterator edm4eic::SimPulse::trackerHits_begin | ( | ) | const |
std::vector< edm4hep::SimTrackerHit >::const_iterator edm4eic::SimPulse::trackerHits_end | ( | ) | const |
std::size_t edm4eic::SimPulse::trackerHits_size | ( | ) | const |
|
inline |
disconnect from SimPulseObj instance
|
friend |
|
friend |
|
friend |
|
friend |