Analysis Software
Documentation for sPHENIX simulation software
|
#include <prototype/blob/master/offline/packages/Prototype3/RawTower_Prototype3.h>
Public Types | |
enum | { NSAMPLES = PROTOTYPE3_FEM::NSAMPLES } |
typedef float | signal_type |
Public Types inherited from RawTower | |
enum | PROPERTY { prop_scint_gammas = 1, prop_cerenkov_gammas = 2, prop_MAX_NUMBER = UCHAR_MAX } |
typedef unsigned long long | CellKeyType |
key type for cell map which should be consistent with CellKeyType | |
typedef std::map< CellKeyType, float > | CellMap |
typedef CellMap::iterator | CellIterator |
typedef CellMap::const_iterator | CellConstIterator |
typedef std::pair < CellIterator, CellIterator > | CellRange |
typedef std::pair < CellConstIterator, CellConstIterator > | CellConstRange |
typedef std::map< int, float > | ShowerMap |
typedef ShowerMap::iterator | ShowerIterator |
typedef ShowerMap::const_iterator | ShowerConstIterator |
typedef std::pair < ShowerIterator, ShowerIterator > | ShowerRange |
typedef std::pair < ShowerConstIterator, ShowerConstIterator > | ShowerConstRange |
Public Member Functions | |
RawTower_Prototype3 () | |
RawTower_Prototype3 (RawTowerDefs::keytype id) | |
RawTower_Prototype3 (const unsigned int icol, const unsigned int irow) | |
RawTower_Prototype3 (const RawTowerDefs::CalorimeterId caloid, const unsigned int ieta, const unsigned int iphi) | |
virtual | ~RawTower_Prototype3 () |
void | Reset () override |
Clear Event. | |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
void | identify (std::ostream &os=std::cout) const override |
void | set_id (RawTowerDefs::keytype id) override |
RawTowerDefs::keytype | get_id () const override |
int | get_bineta () const override |
int | get_binphi () const override |
int | get_column () const override |
int | get_row () const override |
double | get_energy () const override |
energy assigned to the tower. Depending on stage of process and DST node name, it could be energy deposition, light yield or calibrated energies | |
void | set_energy (const double e) override |
energy assigned to the tower. Depending on stage of process and DST node name, it could be energy deposition, light yield or calibrated energies | |
float | get_time () const override |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time. | |
void | set_time (const float t) override |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time. | |
void | set_signal_samples (int i, signal_type sig) |
signal_type | get_signal_samples (int i) const |
void | set_HBD_channel_number (int i) |
int | get_HBD_channel_number () const |
double | get_energy_power_law_exp (int verbosity=0) |
Public Member Functions inherited from RawTower | |
~RawTower () override | |
virtual void | set_key (RawTowerDefs::keytype id) |
virtual RawTowerDefs::keytype | get_key () const |
virtual int | get_bintheta () const |
virtual int | get_binl () const |
return layer ID assigned to tower | |
virtual double | get_scint_gammas () const |
energy assigned to the tower. Depending on stage of process and DST node name, it could be energy deposition, light yield or calibrated energies | |
virtual void | set_scint_gammas (const double) |
scint_gammas assigned to the tower. Depending on stage of process and DST node name, it could be scint_gammas deposition, light yield or calibrated energies | |
virtual double | get_cerenkov_gammas () const |
energy assigned to the tower. Depending on stage of process and DST node name, it could be energy deposition, light yield or calibrated energies | |
virtual void | set_cerenkov_gammas (const double) |
cerenkov_gammas assigned to the tower. Depending on stage of process and DST node name, it could be cerenkov_gammas deposition, light yield or calibrated energies | |
virtual bool | empty_g4cells () const |
virtual size_t | size_g4cells () const |
virtual CellConstRange | get_g4cells () const |
virtual CellIterator | find_g4cell (CellKeyType id) |
virtual CellConstIterator | find_g4cell (CellKeyType id) const |
virtual void | add_ecell (const CellKeyType, const float) |
virtual void | clear_g4cells () |
virtual bool | empty_g4showers () const |
virtual size_t | size_g4showers () const |
virtual ShowerConstRange | get_g4showers () const |
virtual ShowerIterator | find_g4shower (int) |
virtual ShowerConstIterator | find_g4shower (int) const |
virtual void | add_eshower (const int, const float) |
virtual void | clear_g4showers () |
virtual bool | has_property (const PROPERTY) const |
virtual double | get_property (const PROPERTY) const |
virtual void | set_property (const PROPERTY, const double) |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Attributes | |
RawTowerDefs::keytype | towerid |
double | energy |
float | time |
signal_type | signal_samples [NSAMPLES] |
int | HBD_channel |
Additional Inherited Members | |
Static Public Member Functions inherited from RawTower | |
static const std::string | get_property_info (PROPERTY prop_id) |
Protected Member Functions inherited from RawTower | |
RawTower () | |
virtual unsigned int | get_property_nocheck (const PROPERTY) const |
virtual void | set_property_nocheck (const PROPERTY, const unsigned int) |
Definition at line 14 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 14 of file RawTower_Prototype3.h
typedef float RawTower_Prototype3::signal_type |
Definition at line 47 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 47 of file RawTower_Prototype3.h
anonymous enum |
Definition at line 43 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 43 of file RawTower_Prototype3.h
RawTower_Prototype3::RawTower_Prototype3 | ( | ) |
Definition at line 15 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 15 of file RawTower_Prototype3.cc
References NSAMPLES, and signal_samples.
RawTower_Prototype3::RawTower_Prototype3 | ( | RawTowerDefs::keytype | id | ) |
Definition at line 25 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 25 of file RawTower_Prototype3.cc
References NSAMPLES, and signal_samples.
RawTower_Prototype3::RawTower_Prototype3 | ( | const unsigned int | icol, |
const unsigned int | irow | ||
) |
Definition at line 34 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 34 of file RawTower_Prototype3.cc
References RawTowerDefs::encode_towerid(), RawTowerDefs::NONE, NSAMPLES, and signal_samples.
RawTower_Prototype3::RawTower_Prototype3 | ( | const RawTowerDefs::CalorimeterId | caloid, |
const unsigned int | ieta, | ||
const unsigned int | iphi | ||
) |
Definition at line 45 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 45 of file RawTower_Prototype3.cc
References RawTowerDefs::encode_towerid(), NSAMPLES, and signal_samples.
|
inlinevirtual |
Definition at line 23 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 23 of file RawTower_Prototype3.h
|
inlineoverridevirtual |
Reimplemented from RawTower.
Definition at line 31 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 31 of file RawTower_Prototype3.h
References RawTowerDefs::decode_index1().
Referenced by identify().
|
inlineoverridevirtual |
Reimplemented from RawTower.
Definition at line 32 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 32 of file RawTower_Prototype3.h
References RawTowerDefs::decode_index2().
Referenced by identify().
|
inlineoverridevirtual |
Reimplemented from RawTower.
Definition at line 33 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 33 of file RawTower_Prototype3.h
References RawTowerDefs::decode_index1().
|
inlineoverridevirtual |
energy assigned to the tower. Depending on stage of process and DST node name, it could be energy deposition, light yield or calibrated energies
Reimplemented from RawTower.
Definition at line 35 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 35 of file RawTower_Prototype3.h
References energy.
Referenced by identify(), isValid(), and Prototype3DSTReader::process_event().
double RawTower_Prototype3::get_energy_power_law_exp | ( | int | verbosity = 0 | ) |
Definition at line 88 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 88 of file RawTower_Prototype3.cc
References i, NSAMPLES, PROTOTYPE3_FEM::SampleFit_PowerLawExp(), and signal_samples.
|
inline |
Definition at line 52 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 52 of file RawTower_Prototype3.h
References HBD_channel.
|
inlineoverridevirtual |
Reimplemented from RawTower.
Definition at line 30 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 30 of file RawTower_Prototype3.h
References towerid.
|
inlineoverridevirtual |
Reimplemented from RawTower.
Definition at line 34 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 34 of file RawTower_Prototype3.h
References RawTowerDefs::decode_index2().
RawTower_Prototype3::signal_type RawTower_Prototype3::get_signal_samples | ( | int | i | ) | const |
Definition at line 81 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 81 of file RawTower_Prototype3.cc
References assert, i, NSAMPLES, and signal_samples.
|
inlineoverridevirtual |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time.
Reimplemented from RawTower.
Definition at line 37 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 37 of file RawTower_Prototype3.h
References time.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from RawTower.
Definition at line 66 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 66 of file RawTower_Prototype3.cc
References get_bineta(), get_binphi(), and get_energy().
|
overridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from RawTower.
Definition at line 64 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 64 of file RawTower_Prototype3.cc
References get_energy().
|
overridevirtual |
Clear Event.
Reimplemented from RawTower.
Definition at line 57 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 57 of file RawTower_Prototype3.cc
References energy, NSAMPLES, signal_samples, and time.
|
inlineoverridevirtual |
energy assigned to the tower. Depending on stage of process and DST node name, it could be energy deposition, light yield or calibrated energies
Reimplemented from RawTower.
Definition at line 36 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 36 of file RawTower_Prototype3.h
References Acts::UnitConstants::e, and energy.
|
inline |
Definition at line 51 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 51 of file RawTower_Prototype3.h
References HBD_channel, and i.
|
inlineoverridevirtual |
Reimplemented from RawTower.
Definition at line 29 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 29 of file RawTower_Prototype3.h
References train_ambiguity_solver::id.
void RawTower_Prototype3::set_signal_samples | ( | int | i, |
RawTower_Prototype3::signal_type | sig | ||
) |
Definition at line 72 of file RawTower_Prototype3.cc.
View newest version in sPHENIX GitHub at line 72 of file RawTower_Prototype3.cc
References assert, i, NSAMPLES, and signal_samples.
|
inlineoverridevirtual |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time.
Reimplemented from RawTower.
Definition at line 38 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 38 of file RawTower_Prototype3.h
|
protected |
energy assigned to the tower. Depending on stage of process and DST node name, it could be energy deposition, light yield or calibrated energies
Definition at line 63 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 63 of file RawTower_Prototype3.h
Referenced by get_energy(), Reset(), and set_energy().
|
protected |
Definition at line 70 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 70 of file RawTower_Prototype3.h
Referenced by get_HBD_channel_number(), and set_HBD_channel_number().
|
protected |
Definition at line 69 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 69 of file RawTower_Prototype3.h
Referenced by get_energy_power_law_exp(), get_signal_samples(), RawTower_Prototype3(), Reset(), and set_signal_samples().
|
protected |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time.
Definition at line 66 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 66 of file RawTower_Prototype3.h
Referenced by get_time(), Reset(), and set_time().
|
protected |
Definition at line 59 of file RawTower_Prototype3.h.
View newest version in sPHENIX GitHub at line 59 of file RawTower_Prototype3.h
Referenced by get_id().