Public Member Functions | Private Attributes | List of all members
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...
 

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 192 of file SimPhotons.h.

Member Typedef Documentation

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

Definition at line 212 of file SimPhotons.h.

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

Definition at line 206 of file SimPhotons.h.

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

Definition at line 208 of file SimPhotons.h.

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

Definition at line 210 of file SimPhotons.h.

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

Definition at line 205 of file SimPhotons.h.

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

Definition at line 211 of file SimPhotons.h.

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

Definition at line 202 of file SimPhotons.h.

Definition at line 201 of file SimPhotons.h.

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

Definition at line 203 of file SimPhotons.h.

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

Definition at line 207 of file SimPhotons.h.

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

Definition at line 209 of file SimPhotons.h.

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

Definition at line 204 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 265 of file SimPhotons.h.

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

Sets the name of the sensitive detector for this collection.

Definition at line 268 of file SimPhotons.h.

269  { fTheSDName = TheSDName; }
std::string fTheSDName
Sensitive detector name.
Definition: SimPhotons.h:194

Member Data Documentation

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

Sensitive detector name.

Definition at line 194 of file SimPhotons.h.


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