Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
|
Summary of all channels of one detector type. More...
#include <DetectorSummary.hpp>
Public Member Functions | |
DetectorSummary () | |
DetectorSummary (const std::string &str, const std::vector< ChanEvent * > &fullList) | |
void | Zero () |
void | AddEvent (ChanEvent *ev) |
void | SetName (const std::string &a) |
const ChanEvent * | GetMaxEvent (void) const |
ChanEvent * | GetMaxEvent (bool fake) |
int | GetMult () const |
const std::string & | GetName () const |
const std::vector< ChanEvent * > & | GetList () const |
Private Attributes | |
std::string | name |
std::string | type |
std::string | subtype |
std::string | tag |
std::vector< ChanEvent * > | eventList |
ChanEvent * | maxEvent |
Summary of all channels of one detector type.
For each group of detectors that exists in the analysis, a detector summary is created. The detector summary includes the multiplicity, maximum deposited energy, and physical location (strip number, detector number ...) where the maximum energy was deposited for a type of detectors. Also pointers to all channels of this type are stored in a vector, as well as the channel event where the maximum energy was deposited. Lastly, the detector summary records the detector name to which it applies.
DetectorSummary::DetectorSummary | ( | ) |
Default Constructor
DetectorSummary::DetectorSummary | ( | const std::string & | str, |
const std::vector< ChanEvent * > & | fullList | ||
) |
Constructor taking a string and the full channel list
[in] | str | : the type to make the summary for |
[in] | fullList | : the full list of channels in the event |
void DetectorSummary::AddEvent | ( | ChanEvent * | ev | ) |
Add an event to the summary
[in] | ev | : the event to add |
|
inline |
|
inline |
|
inline |
[in] | fake | : a bool to allow overloading the function name |
|
inline |
|
inline |
|
inline |
Set the detector name
[in] | a | : the name of the detector |
void DetectorSummary::Zero | ( | ) |
Zero the summary
|
private |
list of events associated with this detector group
|
private |
event with maximum energy deposition
|
private |
name associated with this summary
|
private |
detector subtype associated with this summary
|
private |
detector tag associated with this summary
|
private |
detector type associated with this summary