Collection of particles crossing one auxiliary detector cell. More...
#include <AuxDetSimChannel.h>
Public Member Functions | |
AuxDetSimChannel () | |
Default constructor (invalid, empty data) More... | |
AuxDetSimChannel (uint32_t inputAuxDetID, uint32_t inputAuxDetSensitiveID) | |
AuxDetSimChannel (uint32_t inputAuxDetID, const std::vector< sdp::AuxDetIDE > &inputAuxDetIDEs, uint32_t inputAuxDetSensitiveID=0) | |
Constructor: copies from the specified IDE vector. More... | |
AuxDetSimChannel (uint32_t inputAuxDetID, std::vector< sdp::AuxDetIDE > &&inputAuxDetIDEs, uint32_t inputAuxDetSensitiveID=0) | |
Constructor: moves data from the specified IDE vector. More... | |
std::pair< int, int > | MergeAuxDetSimChannel (const AuxDetSimChannel &, int) |
Getters | |
uint32_t | AuxDetID () const |
uint32_t | AuxDetSensitiveID () const |
bool | operator< (const AuxDetSimChannel &other) const |
bool | operator== (const AuxDetSimChannel &other) const |
std::vector< sdp::AuxDetIDE > const & | AuxDetIDEs () const |
Private Attributes | |
uint32_t | fAuxDetID |
geo->AuxDet(auxDetID), integer used to retrieve AuxDetGeo objec More... | |
uint32_t | fAuxDetSensitiveID |
integer used to retrieve AuxDetSensitiveGeo object More... | |
std::vector< sdp::AuxDetIDE > | fAuxDetIDEs |
one sdp::AuxDetIDE for each G4 track id More... | |
Collection of particles crossing one auxiliary detector cell.
This structure collects information (as sdp::AuxDetIDE) from all the MC particles crossing a single auxiliary detector cell (channel).
Definition at line 62 of file AuxDetSimChannel.h.
gar::sdp::AuxDetSimChannel::AuxDetSimChannel | ( | ) |
Default constructor (invalid, empty data)
Definition at line 57 of file AuxDetSimChannel.cxx.
gar::sdp::AuxDetSimChannel::AuxDetSimChannel | ( | uint32_t | inputAuxDetID, |
uint32_t | inputAuxDetSensitiveID | ||
) |
Definition at line 64 of file AuxDetSimChannel.cxx.
gar::sdp::AuxDetSimChannel::AuxDetSimChannel | ( | uint32_t | inputAuxDetID, |
const std::vector< sdp::AuxDetIDE > & | inputAuxDetIDEs, | ||
uint32_t | inputAuxDetSensitiveID = 0 |
||
) |
Constructor: copies from the specified IDE vector.
gar::sdp::AuxDetSimChannel::AuxDetSimChannel | ( | uint32_t | inputAuxDetID, |
std::vector< sdp::AuxDetIDE > && | inputAuxDetIDEs, | ||
uint32_t | inputAuxDetSensitiveID = 0 |
||
) |
Constructor: moves data from the specified IDE vector.
Definition at line 80 of file AuxDetSimChannel.cxx.
|
inline |
Definition at line 115 of file AuxDetSimChannel.h.
|
inline |
Definition at line 117 of file AuxDetSimChannel.h.
|
inline |
Definition at line 116 of file AuxDetSimChannel.h.
std::pair< int, int > gar::sdp::AuxDetSimChannel::MergeAuxDetSimChannel | ( | const AuxDetSimChannel & | chan, |
int | offset | ||
) |
Definition at line 89 of file AuxDetSimChannel.cxx.
bool gar::sdp::AuxDetSimChannel::operator< | ( | const AuxDetSimChannel & | other | ) | const |
Definition at line 110 of file AuxDetSimChannel.cxx.
bool gar::sdp::AuxDetSimChannel::operator== | ( | const AuxDetSimChannel & | other | ) | const |
Definition at line 118 of file AuxDetSimChannel.cxx.
|
private |
geo->AuxDet(auxDetID), integer used to retrieve AuxDetGeo objec
Definition at line 70 of file AuxDetSimChannel.h.
|
private |
one sdp::AuxDetIDE for each G4 track id
Definition at line 72 of file AuxDetSimChannel.h.
|
private |
integer used to retrieve AuxDetSensitiveGeo object
Definition at line 71 of file AuxDetSimChannel.h.