larlight::ide Class Reference

LArSoft sim::IDE equivalent data product. More...

#include <simch.hh>

List of all members.

Public Member Functions

 ide ()
 Default ctor.
 ~ide ()
 Default dtor.
 ide (const ide &origin)
 Copy ctor.
void clear_data ()
 Initialize attributes.

Public Attributes

Int_t trackID
 Geant4 supplied track ID.
Double_t numElectrons
 total number of electrons for this track ID and time
Double_t energy
 total energy deposited for this track ID and time
Double_t x
 x position of ionization
Double_t y
 y position of ionization
Double_t z
 z position of ionization

Detailed Description

LArSoft sim::IDE equivalent data product.

Definition at line 26 of file simch.hh.


Constructor & Destructor Documentation

larlight::ide::ide (  )  [inline]

Default ctor.

Definition at line 31 of file simch.hh.

References clear_data().

00031 : TObject() {clear_data();}

larlight::ide::~ide (  )  [inline]

Default dtor.

Definition at line 34 of file simch.hh.

00034 {}

larlight::ide::ide ( const ide origin  )  [inline]

Copy ctor.

Definition at line 37 of file simch.hh.

00037                            : TObject(origin),
00038                  trackID(origin.trackID),
00039                  numElectrons(origin.numElectrons),
00040                  energy(origin.energy),
00041                  x(origin.x),
00042                  y(origin.y),
00043                  z(origin.z)
00044     {}


Member Function Documentation

void larlight::ide::clear_data (  ) 

Initialize attributes.

Definition at line 9 of file simch.cc.

References energy, larlight::DATA::INVALID_DOUBLE, larlight::DATA::INVALID_INT, numElectrons, trackID, x, y, and z.

Referenced by ide().

00011   {
00012     TObject::Clear();
00013     trackID      = DATA::INVALID_INT;
00014     numElectrons = DATA::INVALID_DOUBLE;
00015     energy       = DATA::INVALID_DOUBLE;
00016 
00017     x = DATA::INVALID_DOUBLE;
00018     y = DATA::INVALID_DOUBLE;
00019     z = DATA::INVALID_DOUBLE;
00020   }


Member Data Documentation

total energy deposited for this track ID and time

Definition at line 48 of file simch.hh.

Referenced by larlight::simch::add_ide(), and clear_data().

total number of electrons for this track ID and time

Definition at line 47 of file simch.hh.

Referenced by larlight::simch::add_ide(), and clear_data().

Geant4 supplied track ID.

Definition at line 46 of file simch.hh.

Referenced by larlight::simch::add_ide(), and clear_data().

Double_t larlight::ide::x

x position of ionization

Definition at line 49 of file simch.hh.

Referenced by larlight::simch::add_ide(), and clear_data().

Double_t larlight::ide::y

y position of ionization

Definition at line 50 of file simch.hh.

Referenced by larlight::simch::add_ide(), and clear_data().

Double_t larlight::ide::z

z position of ionization

Definition at line 51 of file simch.hh.

Referenced by larlight::simch::add_ide(), and clear_data().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator

Generated on 3 Jun 2014 for MyProject by  doxygen 1.6.1