PAASS
Software suite to Acquire and Analyze Data from Pixie16
SheEvent Class Reference

A class to define information for a super-heavy element event. More...

#include <SheCorrelator.hpp>

Public Member Functions

 SheEvent ()
 
 SheEvent (double energy, double time, int mwpc, bool has_beam, bool has_veto, bool has_escape, SheEventType type=unknown)
 
 ~SheEvent ()
 
bool get_beam () const
 
bool get_veto () const
 
bool get_escape () const
 
double get_energy () const
 
double get_time () const
 
int get_mwpc () const
 
SheEventType get_type () const
 
void set_beam (bool has_beam)
 
void set_energy (double energy)
 
void set_time (double time)
 
void set_mwpc (int mwpc)
 
void set_veto (bool has_veto)
 
void set_escape (bool has_escape)
 
void set_type (SheEventType type)
 

Private Attributes

double energy_
 
double time_
 
int mwpc_
 
bool has_veto_
 
bool has_beam_
 
bool has_escape_
 
SheEventType type_
 

Detailed Description

A class to define information for a super-heavy element event.

Definition at line 22 of file SheCorrelator.hpp.

Constructor & Destructor Documentation

§ SheEvent() [1/2]

SheEvent::SheEvent ( )

Default Constructor

Definition at line 20 of file SheCorrelator.cpp.

§ SheEvent() [2/2]

SheEvent::SheEvent ( double  energy,
double  time,
int  mwpc,
bool  has_beam,
bool  has_veto,
bool  has_escape,
SheEventType  type = unknown 
)

Constructor taking arguments

Definition at line 30 of file SheCorrelator.cpp.

§ ~SheEvent()

SheEvent::~SheEvent ( )
inline

Default destructor

Definition at line 31 of file SheCorrelator.hpp.

Member Function Documentation

§ get_beam()

bool SheEvent::get_beam ( ) const
inline
Returns
true if we had beam

Definition at line 34 of file SheCorrelator.hpp.

Here is the caller graph for this function:

§ get_energy()

double SheEvent::get_energy ( ) const
inline
Returns
the energy

Definition at line 41 of file SheCorrelator.hpp.

§ get_escape()

bool SheEvent::get_escape ( ) const
inline
Returns
true if we had an escape

Definition at line 38 of file SheCorrelator.hpp.

§ get_mwpc()

int SheEvent::get_mwpc ( ) const
inline
Returns
the mwpc

Definition at line 46 of file SheCorrelator.hpp.

Here is the caller graph for this function:

§ get_time()

double SheEvent::get_time ( ) const
inline
Returns
the time

Definition at line 43 of file SheCorrelator.hpp.

Here is the caller graph for this function:

§ get_type()

SheEventType SheEvent::get_type ( ) const
inline
Returns
The type of event we had

Definition at line 49 of file SheCorrelator.hpp.

Here is the caller graph for this function:

§ get_veto()

bool SheEvent::get_veto ( ) const
inline
Returns
true if we had a veto

Definition at line 36 of file SheCorrelator.hpp.

Here is the caller graph for this function:

§ set_beam()

void SheEvent::set_beam ( bool  has_beam)
inline
Parameters
[in]has_beam: sets if we had beam

Definition at line 52 of file SheCorrelator.hpp.

§ set_energy()

void SheEvent::set_energy ( double  energy)
inline
Parameters
[in]energy: sets the energy

Definition at line 54 of file SheCorrelator.hpp.

§ set_escape()

void SheEvent::set_escape ( bool  has_escape)
inline
Parameters
[in]has_escape: sets if we had an escape

Definition at line 62 of file SheCorrelator.hpp.

§ set_mwpc()

void SheEvent::set_mwpc ( int  mwpc)
inline
Parameters
[in]mwpc: sets if we had an mwpc

Definition at line 58 of file SheCorrelator.hpp.

§ set_time()

void SheEvent::set_time ( double  time)
inline
Parameters
[in]time: sets the time

Definition at line 56 of file SheCorrelator.hpp.

§ set_type()

void SheEvent::set_type ( SheEventType  type)
inline
Parameters
[in]type: sets the type of event we had

Definition at line 64 of file SheCorrelator.hpp.

§ set_veto()

void SheEvent::set_veto ( bool  has_veto)
inline
Parameters
[in]has_veto: sets if we had a veto

Definition at line 60 of file SheCorrelator.hpp.

Field Documentation

§ energy_

double SheEvent::energy_
private

Total (reconstructed) energy, may include escape

Definition at line 68 of file SheCorrelator.hpp.

§ has_beam_

bool SheEvent::has_beam_
private

Beam on flag

Definition at line 76 of file SheCorrelator.hpp.

§ has_escape_

bool SheEvent::has_escape_
private

If reconstructed energy includes escape

Definition at line 78 of file SheCorrelator.hpp.

§ has_veto_

bool SheEvent::has_veto_
private

Veto hit flag

Definition at line 74 of file SheCorrelator.hpp.

§ mwpc_

int SheEvent::mwpc_
private

Number of MWPC chambers hits

Definition at line 72 of file SheCorrelator.hpp.

§ time_

double SheEvent::time_
private

Shortest time of all subevents (e.g. back and front)

Definition at line 70 of file SheCorrelator.hpp.

§ type_

SheEventType SheEvent::type_
private

Type of event decided by Correlator

Definition at line 80 of file SheCorrelator.hpp.


The documentation for this class was generated from the following files: