|
PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
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.
Definition at line 28 of file DetectorSummary.hpp.
| DetectorSummary::DetectorSummary | ( | ) |
Default Constructor
Definition at line 15 of file DetectorSummary.cpp.
| 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 |
Definition at line 19 of file DetectorSummary.cpp.

| void DetectorSummary::AddEvent | ( | ChanEvent * | ev | ) |
Add an event to the summary
| [in] | ev | : the event to add |
Definition at line 55 of file DetectorSummary.cpp.


|
inline |
Definition at line 63 of file DetectorSummary.hpp.

|
inline |
Definition at line 50 of file DetectorSummary.hpp.

|
inline |
| [in] | fake | : a bool to allow overloading the function name |
Definition at line 54 of file DetectorSummary.hpp.
|
inline |
Definition at line 57 of file DetectorSummary.hpp.

|
inline |
Definition at line 60 of file DetectorSummary.hpp.

|
inline |
Set the detector name
| [in] | a | : the name of the detector |
Definition at line 47 of file DetectorSummary.hpp.

| void DetectorSummary::Zero | ( | ) |
Zero the summary
Definition at line 10 of file DetectorSummary.cpp.

|
private |
list of events associated with this detector group
Definition at line 69 of file DetectorSummary.hpp.
|
private |
event with maximum energy deposition
Definition at line 70 of file DetectorSummary.hpp.
|
private |
name associated with this summary
Definition at line 63 of file DetectorSummary.hpp.
|
private |
detector subtype associated with this summary
Definition at line 67 of file DetectorSummary.hpp.
|
private |
detector tag associated with this summary
Definition at line 68 of file DetectorSummary.hpp.
|
private |
detector type associated with this summary
Definition at line 66 of file DetectorSummary.hpp.