![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
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< sim::AuxDetIDE > &inputAuxDetIDEs, uint32_t inputAuxDetSensitiveID=0) | |
| Constructor: copies from the specified IDE vector. More... | |
| AuxDetSimChannel (uint32_t inputAuxDetID, std::vector< sim::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< sim::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< sim::AuxDetIDE > | fAuxDetIDEs |
| one sim::AuxDetIDE for each G4 track id More... | |
Collection of particles crossing one auxiliary detector cell.
This structure collects information (as sim::AuxDetIDE) from all the MC particles crossing a single auxiliary detector cell (channel).
Definition at line 63 of file AuxDetSimChannel.h.
| sim::AuxDetSimChannel::AuxDetSimChannel | ( | ) |
Default constructor (invalid, empty data)
Definition at line 59 of file AuxDetSimChannel.cxx.
| sim::AuxDetSimChannel::AuxDetSimChannel | ( | uint32_t | inputAuxDetID, |
| uint32_t | inputAuxDetSensitiveID | ||
| ) |
Definition at line 66 of file AuxDetSimChannel.cxx.
| sim::AuxDetSimChannel::AuxDetSimChannel | ( | uint32_t | inputAuxDetID, |
| const std::vector< sim::AuxDetIDE > & | inputAuxDetIDEs, | ||
| uint32_t | inputAuxDetSensitiveID = 0 |
||
| ) |
Constructor: copies from the specified IDE vector.
Definition at line 73 of file AuxDetSimChannel.cxx.
| sim::AuxDetSimChannel::AuxDetSimChannel | ( | uint32_t | inputAuxDetID, |
| std::vector< sim::AuxDetIDE > && | inputAuxDetIDEs, | ||
| uint32_t | inputAuxDetSensitiveID = 0 |
||
| ) |
Constructor: moves data from the specified IDE vector.
Definition at line 82 of file AuxDetSimChannel.cxx.
|
inline |
Definition at line 113 of file AuxDetSimChannel.h.
Referenced by MergeAuxDetSimChannel(), operator<(), and operator==().
|
inline |
Definition at line 115 of file AuxDetSimChannel.h.
Referenced by MergeAuxDetSimChannel().
|
inline |
Definition at line 114 of file AuxDetSimChannel.h.
Referenced by MergeAuxDetSimChannel(), operator<(), and operator==().
| std::pair< int, int > sim::AuxDetSimChannel::MergeAuxDetSimChannel | ( | const AuxDetSimChannel & | chan, |
| int | offset | ||
| ) |
Definition at line 91 of file AuxDetSimChannel.cxx.
References AuxDetID(), AuxDetIDEs(), AuxDetSensitiveID(), fAuxDetID, fAuxDetIDEs, fAuxDetSensitiveID, max, and min.
| bool sim::AuxDetSimChannel::operator< | ( | const AuxDetSimChannel & | other | ) | const |
Definition at line 113 of file AuxDetSimChannel.cxx.
References AuxDetID(), AuxDetSensitiveID(), fAuxDetID, and fAuxDetSensitiveID.
| bool sim::AuxDetSimChannel::operator== | ( | const AuxDetSimChannel & | other | ) | const |
Definition at line 121 of file AuxDetSimChannel.cxx.
References AuxDetID(), AuxDetSensitiveID(), fAuxDetID, and fAuxDetSensitiveID.
|
private |
geo->AuxDet(auxDetID), integer used to retrieve AuxDetGeo objec
Definition at line 70 of file AuxDetSimChannel.h.
Referenced by MergeAuxDetSimChannel(), operator<(), and operator==().
|
private |
one sim::AuxDetIDE for each G4 track id
Definition at line 72 of file AuxDetSimChannel.h.
Referenced by MergeAuxDetSimChannel().
|
private |
integer used to retrieve AuxDetSensitiveGeo object
Definition at line 71 of file AuxDetSimChannel.h.
Referenced by MergeAuxDetSimChannel(), operator<(), and operator==().