LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
sim::MCEdep Struct Reference

#include "MCRecoEdep.h"

Classes

struct  deposit
 

Public Member Functions

 MCEdep ()=default
 
 MCEdep (sim::UniquePosition p, geo::PlaneID pi, size_t num_planes, float e, float c, size_t id)
 

Public Attributes

sim::UniquePosition pos {}
 
geo::PlaneID pid {}
 
std::vector< depositdeps {}
 

Detailed Description

Definition at line 72 of file MCRecoEdep.h.

Constructor & Destructor Documentation

sim::MCEdep::MCEdep ( )
default
sim::MCEdep::MCEdep ( sim::UniquePosition  p,
geo::PlaneID  pi,
size_t  num_planes,
float  e,
float  c,
size_t  id 
)
inline

Definition at line 86 of file MCRecoEdep.h.

References e.

87  : pos(p), pid(pi), deps(num_planes)
88  {
89  deps[id].energy = e;
90  deps[id].charge = c;
91  }
geo::PlaneID pid
Definition: MCRecoEdep.h:81
sim::UniquePosition pos
Definition: MCRecoEdep.h:80
std::vector< deposit > deps
Definition: MCRecoEdep.h:82
Float_t e
Definition: plot.C:35

Member Data Documentation

std::vector<deposit> sim::MCEdep::deps {}

Definition at line 82 of file MCRecoEdep.h.

Referenced by sim::MCRecoEdep::MakeMCEdep().

geo::PlaneID sim::MCEdep::pid {}

Definition at line 81 of file MCRecoEdep.h.

sim::UniquePosition sim::MCEdep::pos {}

Definition at line 80 of file MCRecoEdep.h.


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