LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
sim::SimPhotonsCollection Class Reference

Collection of sim::SimPhotons, indexed by channel number. More...

#include "SimPhotons.h"

Inheritance diagram for sim::SimPhotonsCollection:

Public Types

Vector types
typedef std::map< int, SimPhotonslist_type
 
typedef list_type::key_type key_type
 
typedef list_type::mapped_type mapped_type
 
typedef list_type::value_type value_type
 
typedef list_type::iterator iterator
 
typedef list_type::const_iterator const_iterator
 
typedef list_type::reverse_iterator reverse_iterator
 
typedef list_type::const_reverse_iterator const_reverse_iterator
 
typedef list_type::size_type size_type
 
typedef list_type::difference_type difference_type
 
typedef list_type::key_compare key_compare
 
typedef list_type::allocator_type allocator_type
 

Public Member Functions

 SimPhotonsCollection ()=default
 Constructor: an empty collection and no sensitive detector name. More...
 
std::string const & GetSDName () const
 Returns the name of the sensitive detector for this collection. More...
 
void SetSDName (std::string const &TheSDName)
 Sets the name of the sensitive detector for this collection. More...
 

Public Attributes

keys
 STL member. More...
 
elements
 STL member. More...
 

Private Attributes

std::string fTheSDName
 Sensitive detector name. More...
 

Detailed Description

Collection of sim::SimPhotons, indexed by channel number.

The collection owns the photon data.

Definition at line 178 of file SimPhotons.h.

Member Typedef Documentation

typedef list_type::allocator_type sim::SimPhotonsCollection::allocator_type

Definition at line 197 of file SimPhotons.h.

typedef list_type::const_iterator sim::SimPhotonsCollection::const_iterator

Definition at line 191 of file SimPhotons.h.

typedef list_type::const_reverse_iterator sim::SimPhotonsCollection::const_reverse_iterator

Definition at line 193 of file SimPhotons.h.

typedef list_type::difference_type sim::SimPhotonsCollection::difference_type

Definition at line 195 of file SimPhotons.h.

typedef list_type::iterator sim::SimPhotonsCollection::iterator

Definition at line 190 of file SimPhotons.h.

typedef list_type::key_compare sim::SimPhotonsCollection::key_compare

Definition at line 196 of file SimPhotons.h.

typedef list_type::key_type sim::SimPhotonsCollection::key_type

Definition at line 187 of file SimPhotons.h.

Definition at line 186 of file SimPhotons.h.

typedef list_type::mapped_type sim::SimPhotonsCollection::mapped_type

Definition at line 188 of file SimPhotons.h.

typedef list_type::reverse_iterator sim::SimPhotonsCollection::reverse_iterator

Definition at line 192 of file SimPhotons.h.

typedef list_type::size_type sim::SimPhotonsCollection::size_type

Definition at line 194 of file SimPhotons.h.

typedef list_type::value_type sim::SimPhotonsCollection::value_type

Definition at line 189 of file SimPhotons.h.

Constructor & Destructor Documentation

sim::SimPhotonsCollection::SimPhotonsCollection ( )
default

Constructor: an empty collection and no sensitive detector name.

Member Function Documentation

std::string const & sim::SimPhotonsCollection::GetSDName ( ) const
inline

Returns the name of the sensitive detector for this collection.

Definition at line 258 of file SimPhotons.h.

259 {
260  return fTheSDName;
261 }
std::string fTheSDName
Sensitive detector name.
Definition: SimPhotons.h:180
void sim::SimPhotonsCollection::SetSDName ( std::string const &  TheSDName)
inline

Sets the name of the sensitive detector for this collection.

Definition at line 263 of file SimPhotons.h.

264 {
265  fTheSDName = TheSDName;
266 }
std::string fTheSDName
Sensitive detector name.
Definition: SimPhotons.h:180

Member Data Documentation

T std::map< K, T >::elements
inherited

STL member.

std::string sim::SimPhotonsCollection::fTheSDName
private

Sensitive detector name.

Definition at line 180 of file SimPhotons.h.

K std::map< K, T >::keys
inherited

STL member.


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