LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SimPhotons.h File Reference

Simulation objects for optical detectors. More...

#include "larcoreobj/SimpleTypesAndConstants/geo_optical_vectors.h"
#include "larcoreobj/SimpleTypesAndConstants/geo_vectors.h"
#include <limits>
#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  sim::OnePhoton
 All information of a photon entering the sensitive optical detector volume. More...
 
class  sim::SimPhotonsLite
 Compact representation of photons on a channel. More...
 
class  sim::SimPhotons
 Collection of photons which recorded on one channel. More...
 
class  sim::SimPhotonsCollection
 Collection of sim::SimPhotons, indexed by channel number. More...
 

Namespaces

 sim
 Monte Carlo Simulation.
 

Functions

bool sim::operator< (OnePhoton const &, OnePhoton const &)
 a is smaller than b if has earlier Time, or lower MotherTrackID. More...
 

Detailed Description

Simulation objects for optical detectors.

Author
Ben Jones
Date
06/04/2010
See also
lardataobj/Simulation/SimPhotons.cxx

This file contains the definitions of the classes which are stored in the event representing scintillation photons detected by the optical detectors.

A scintillation photon collection (sim::SimPhotons) stores data for each photon which steps inside the optical detector volume. Currently the quantities stored are position, time, 4-momentum and the ID of the GEANT4 track emitting it. A sim::SimPhotonsCollection is a set of sim::SimPhotonss, one per optical detector in the collection.

The sim::SimPhotons is filled in by the larg4::OpFastScintillation class in LegacyLArG4 module and will be used to generate the optical detector response later in the simulation chain.

sim::OnePhoton, sim::SimPhotons and sim::SimPhotonsCollection are all persistent under ROOT I/O.

The current implementation resembles that of an C++ STL container in some respects but needs more work before it is polished product.

Definition in file SimPhotons.h.