EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/CaloBase/RawTower.h>
Public Types | |
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 () override | |
void | Reset () override |
Clear Event. | |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
void | identify (std::ostream &=std::cout) const override |
virtual void | set_id (RawTowerDefs::keytype) |
virtual RawTowerDefs::keytype | get_id () const |
virtual void | set_key (RawTowerDefs::keytype id) |
virtual RawTowerDefs::keytype | get_key () const |
virtual int | get_bineta () const |
virtual int | get_bintheta () const |
virtual int | get_binphi () const |
virtual int | get_binl () const |
return layer ID assigned to tower | |
virtual int | get_column () const |
virtual int | get_row () const |
virtual double | get_energy () 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_energy (const double) |
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 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 float | get_time () const |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time. | |
virtual void | set_time (const float) |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time. | |
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 | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Static Public Member Functions | |
static const std::string | get_property_info (PROPERTY prop_id) |
Protected Member Functions | |
RawTower () | |
virtual unsigned int | get_property_nocheck (const PROPERTY) const |
virtual void | set_property_nocheck (const PROPERTY, const unsigned int) |
Definition at line 17 of file RawTower.h.
View newest version in sPHENIX GitHub at line 17 of file RawTower.h
typedef CellMap::const_iterator RawTower::CellConstIterator |
Definition at line 25 of file RawTower.h.
View newest version in sPHENIX GitHub at line 25 of file RawTower.h
typedef std::pair<CellConstIterator, CellConstIterator> RawTower::CellConstRange |
Definition at line 27 of file RawTower.h.
View newest version in sPHENIX GitHub at line 27 of file RawTower.h
typedef CellMap::iterator RawTower::CellIterator |
Definition at line 24 of file RawTower.h.
View newest version in sPHENIX GitHub at line 24 of file RawTower.h
typedef unsigned long long RawTower::CellKeyType |
key type for cell map which should be consistent with CellKeyType
Definition at line 21 of file RawTower.h.
View newest version in sPHENIX GitHub at line 21 of file RawTower.h
typedef std::map<CellKeyType, float> RawTower::CellMap |
Definition at line 23 of file RawTower.h.
View newest version in sPHENIX GitHub at line 23 of file RawTower.h
typedef std::pair<CellIterator, CellIterator> RawTower::CellRange |
Definition at line 26 of file RawTower.h.
View newest version in sPHENIX GitHub at line 26 of file RawTower.h
typedef ShowerMap::const_iterator RawTower::ShowerConstIterator |
Definition at line 31 of file RawTower.h.
View newest version in sPHENIX GitHub at line 31 of file RawTower.h
typedef std::pair<ShowerConstIterator, ShowerConstIterator> RawTower::ShowerConstRange |
Definition at line 33 of file RawTower.h.
View newest version in sPHENIX GitHub at line 33 of file RawTower.h
typedef ShowerMap::iterator RawTower::ShowerIterator |
Definition at line 30 of file RawTower.h.
View newest version in sPHENIX GitHub at line 30 of file RawTower.h
typedef std::map<int, float> RawTower::ShowerMap |
Definition at line 29 of file RawTower.h.
View newest version in sPHENIX GitHub at line 29 of file RawTower.h
typedef std::pair<ShowerIterator, ShowerIterator> RawTower::ShowerRange |
Definition at line 32 of file RawTower.h.
View newest version in sPHENIX GitHub at line 32 of file RawTower.h
enum RawTower::PROPERTY |
Procedure to add a new PROPERTY tag: 1.add new tag below with unique value, 2.add a short name to RawTower::get_property_info
prop_scint_gammas |
Scintillation photon count or energy. |
prop_cerenkov_gammas |
Cherenkov photon count or energy. |
prop_MAX_NUMBER |
max limit in order to fit into 8 bit unsigned number |
Definition at line 168 of file RawTower.h.
View newest version in sPHENIX GitHub at line 168 of file RawTower.h
|
inlineoverride |
Definition at line 35 of file RawTower.h.
View newest version in sPHENIX GitHub at line 35 of file RawTower.h
|
inlineprotected |
Definition at line 187 of file RawTower.h.
View newest version in sPHENIX GitHub at line 187 of file RawTower.h
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 146 of file RawTower.h.
View newest version in sPHENIX GitHub at line 146 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by RawTowerBuilder::process_event(), HcalRawTowerBuilder::process_event(), and RawTowerCombiner::process_event().
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 158 of file RawTower.h.
View newest version in sPHENIX GitHub at line 158 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by RawTowerBuilder::process_event(), HcalRawTowerBuilder::process_event(), and RawTowerCombiner::process_event().
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 151 of file RawTower.h.
View newest version in sPHENIX GitHub at line 151 of file RawTower.h
Referenced by PHG4DstCompressReco::process_event().
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 163 of file RawTower.h.
View newest version in sPHENIX GitHub at line 163 of file RawTower.h
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 141 of file RawTower.h.
View newest version in sPHENIX GitHub at line 141 of file RawTower.h
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 153 of file RawTower.h.
View newest version in sPHENIX GitHub at line 153 of file RawTower.h
|
virtual |
Reimplemented in RawTowerv1.
Definition at line 10 of file RawTower.cc.
View newest version in sPHENIX GitHub at line 10 of file RawTower.cc
References DummyCellMap.
|
virtual |
Reimplemented in RawTowerv1.
Definition at line 15 of file RawTower.cc.
View newest version in sPHENIX GitHub at line 15 of file RawTower.cc
References DummyCellMap.
|
virtual |
Reimplemented in RawTowerv1.
Definition at line 32 of file RawTower.cc.
View newest version in sPHENIX GitHub at line 32 of file RawTower.cc
References DummyShowerMap.
Referenced by CaloRawTowerEval::get_energy_contribution().
|
virtual |
Reimplemented in RawTowerv1.
Definition at line 37 of file RawTower.cc.
View newest version in sPHENIX GitHub at line 37 of file RawTower.cc
References DummyShowerMap.
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 55 of file RawTower.h.
View newest version in sPHENIX GitHub at line 55 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by CaloEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), get_bintheta(), RawClusterDeadAreaMask::process_event(), RawClusterPositionCorrection::process_event(), G4RawTowerTTree::process_event(), RawTowerCalibration::process_event(), SubtractTowersCS::process_event(), RawClusterBuilderHelper::process_event(), SubtractTowers::process_event(), CaloCalibEmc_Pi0::process_event(), LiteCaloEval::process_event(), RawTowerCombiner::process_event(), DumpRawTowerContainer::process_Node(), twrs::twrs(), and twrs_fwd::twrs_fwd().
|
inlinevirtual |
return layer ID assigned to tower
Reimplemented in RawTowerv1.
Definition at line 73 of file RawTower.h.
View newest version in sPHENIX GitHub at line 73 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by EventEvaluatorEIC::fillOutputNtuples(), RawTowerCalibration::process_event(), and RawClusterBuilderHelper::process_event().
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 66 of file RawTower.h.
View newest version in sPHENIX GitHub at line 66 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by CaloEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), RawClusterDeadAreaMask::process_event(), RawClusterPositionCorrection::process_event(), G4RawTowerTTree::process_event(), RawTowerCalibration::process_event(), SubtractTowers::process_event(), RawClusterBuilderHelper::process_event(), SubtractTowersCS::process_event(), CaloCalibEmc_Pi0::process_event(), LiteCaloEval::process_event(), RawTowerCombiner::process_event(), DumpRawTowerContainer::process_Node(), twrs::twrs(), and twrs_fwd::twrs_fwd().
|
inlinevirtual |
Definition at line 61 of file RawTower.h.
View newest version in sPHENIX GitHub at line 61 of file RawTower.h
References get_bineta().
|
inlinevirtual |
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 in RawTowerv2.
Definition at line 116 of file RawTower.h.
View newest version in sPHENIX GitHub at line 116 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by EventEvaluatorEIC::fillOutputNtuples().
|
inlinevirtual |
Definition at line 78 of file RawTower.h.
View newest version in sPHENIX GitHub at line 78 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
|
inlinevirtual |
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 in RawTowerv1.
Definition at line 90 of file RawTower.h.
View newest version in sPHENIX GitHub at line 90 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by RawTowerContainer::compress(), RawClusterBuilderFwd::CorrectPhi(), QAG4SimulationCalorimeterSum::eval_trk_proj(), QAG4SimulationEicCalorimeterSum::eval_trk_proj(), EvalTower::EvalTower(), CaloEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), JetRecoEval::get_energy_contribution(), TowerJetInput::get_input(), PHActsTrackProjection::getSquareTowerEnergies(), RawClusterBuilderGraph::process_event(), RawTowerBuilder::process_event(), RawClusterBuilderTemplate::process_event(), RawClusterDeadAreaMask::process_event(), RawClusterPositionCorrection::process_event(), RawClusterBuilderFwd::process_event(), G4RawTowerTTree::process_event(), G4ScintillatorTowerTTree::process_event(), HcalRawTowerBuilder::process_event(), RawTowerDeadTowerInterp::process_event(), RawTowerCalibration::process_event(), RawClusterBuilderTopo::process_event(), RawTowerDigitizer::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), RawClusterBuilderHelper::process_event(), ClusterIso::process_event(), CopyAndSubtractJets::process_event(), RetowerCEMC::process_event(), CaloTriggerSim::process_event(), DetermineTowerBackground::process_event(), EvalRootTTreeReco::process_event(), CaloCalibEmc_Pi0::process_event(), PHGenFitTrackProjection::process_event(), LiteCaloEval::process_event(), RawTowerCombiner::process_event(), QAG4SimulationEicCalorimeter::process_event_Tower(), QAG4SimulationCalorimeter::process_event_Tower(), DumpRawTowerContainer::process_Node(), RawTowerv1::RawTowerv1(), RawTowerDigitizer::simple_photon_digitization(), and RawTowerDigitizer::sipm_photon_digitization().
|
virtual |
Reimplemented in RawTowerv1.
Definition at line 20 of file RawTower.cc.
View newest version in sPHENIX GitHub at line 20 of file RawTower.cc
References DummyCellMap, and PHOOL_VIRTUAL_WARN.
Referenced by CaloRawTowerEval::all_truth_hits(), RawTowerCombiner::process_event(), DumpRawTowerContainer::process_Node(), and RawTowerv1::RawTowerv1().
|
virtual |
Reimplemented in RawTowerv1.
Definition at line 26 of file RawTower.cc.
View newest version in sPHENIX GitHub at line 26 of file RawTower.cc
References DummyShowerMap, and PHOOL_VIRTUAL_WARN.
Referenced by CaloRawTowerEval::all_truth_primary_showers(), CaloRawTowerEval::get_energy_contribution(), RawTowerCombiner::process_event(), DumpRawTowerContainer::process_Node(), and RawTowerv1::RawTowerv1().
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 46 of file RawTower.h.
View newest version in sPHENIX GitHub at line 46 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by RawClusterBuilderFwd::CorrectPhi(), CaloEvaluator::fillOutputNtuples(), TowerJetInput::get_input(), get_key(), RawClusterBuilderGraph::process_event(), RawClusterBuilderTemplate::process_event(), RawClusterBuilderFwd::process_event(), RawTowerDeadTowerInterp::process_event(), RawTowerCalibration::process_event(), LiteCaloEval::process_event(), and RawTowerv1::RawTowerv1().
|
inlinevirtual |
Definition at line 53 of file RawTower.h.
View newest version in sPHENIX GitHub at line 53 of file RawTower.h
References get_id().
Referenced by TowerJetInput::get_input(), RawClusterBuilderTopo::process_event(), ParticleFlowReco::process_event(), ClusterIso::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), CaloTriggerSim::process_event(), RetowerCEMC::process_event(), CopyAndSubtractJets::process_event(), DetermineTowerBackground::process_event(), and EvalRootTTreeReco::process_event().
|
inlinevirtual |
Reimplemented in RawTowerv2.
Definition at line 182 of file RawTower.h.
View newest version in sPHENIX GitHub at line 182 of file RawTower.h
Referenced by RawTowerv2::RawTowerv2().
|
static |
Definition at line 42 of file RawTower.cc.
View newest version in sPHENIX GitHub at line 42 of file RawTower.cc
References exit(), prop_cerenkov_gammas, and prop_scint_gammas.
Referenced by RawTowerv2::identify().
|
inlineprotectedvirtual |
Definition at line 189 of file RawTower.h.
View newest version in sPHENIX GitHub at line 189 of file RawTower.h
|
inlinevirtual |
Definition at line 83 of file RawTower.h.
View newest version in sPHENIX GitHub at line 83 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
|
inlinevirtual |
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 in RawTowerv2.
Definition at line 103 of file RawTower.h.
View newest version in sPHENIX GitHub at line 103 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by EventEvaluatorEIC::fillOutputNtuples().
|
inlinevirtual |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time.
Reimplemented in RawTowerv1.
Definition at line 129 of file RawTower.h.
View newest version in sPHENIX GitHub at line 129 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by EvalTower::EvalTower(), RawTowerCombiner::process_event(), and RawTowerv1::RawTowerv1().
|
inlinevirtual |
Reimplemented in RawTowerv2.
Definition at line 181 of file RawTower.h.
View newest version in sPHENIX GitHub at line 181 of file RawTower.h
Referenced by RawTowerv2::RawTowerv2().
|
inlineoverridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in RawTowerv1, and RawTowerv2.
Definition at line 43 of file RawTower.h.
View newest version in sPHENIX GitHub at line 43 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by CaloEvaluator::fillOutputNtuples(), RawTowerBuilder::process_event(), RawTowerDigitizer::process_event(), LiteCaloEval::process_event(), RawTowerCombiner::process_event(), RawTowerDigitizer::simple_photon_digitization(), and RawTowerDigitizer::sipm_photon_digitization().
|
inlineoverridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Reimplemented in RawTowerv1, and RawTowerv2.
Definition at line 38 of file RawTower.h.
View newest version in sPHENIX GitHub at line 38 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
|
inlineoverridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in RawTowerv1, and RawTowerv2.
Definition at line 37 of file RawTower.h.
View newest version in sPHENIX GitHub at line 37 of file RawTower.h
References PHOOL_VIRTUAL_WARNING.
|
inlinevirtual |
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
Reimplemented in RawTowerv2.
Definition at line 122 of file RawTower.h.
View newest version in sPHENIX GitHub at line 122 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
|
inlinevirtual |
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 in RawTowerv1.
Definition at line 96 of file RawTower.h.
View newest version in sPHENIX GitHub at line 96 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by RawTowerBuilder::process_event(), RawTowerDeadTowerInterp::process_event(), HcalRawTowerBuilder::process_event(), RawTowerCalibration::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), RetowerCEMC::process_event(), RawTowerCombiner::process_event(), RawTowerDigitizer::simple_photon_digitization(), and RawTowerDigitizer::sipm_photon_digitization().
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 45 of file RawTower.h.
View newest version in sPHENIX GitHub at line 45 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by RawTowerContainer::AddTower(), and set_key().
|
inlinevirtual |
Definition at line 52 of file RawTower.h.
View newest version in sPHENIX GitHub at line 52 of file RawTower.h
References set_id().
|
inlinevirtual |
Reimplemented in RawTowerv2.
Definition at line 183 of file RawTower.h.
View newest version in sPHENIX GitHub at line 183 of file RawTower.h
|
inlineprotectedvirtual |
Definition at line 190 of file RawTower.h.
View newest version in sPHENIX GitHub at line 190 of file RawTower.h
|
inlinevirtual |
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
Reimplemented in RawTowerv2.
Definition at line 109 of file RawTower.h.
View newest version in sPHENIX GitHub at line 109 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
|
inlinevirtual |
Time stamp assigned to the tower. Depending on the tower maker, it could be rise time or peak time.
Reimplemented in RawTowerv1.
Definition at line 135 of file RawTower.h.
View newest version in sPHENIX GitHub at line 135 of file RawTower.h
References PHOOL_VIRTUAL_WARN.
Referenced by RawTowerCombiner::process_event().
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 142 of file RawTower.h.
View newest version in sPHENIX GitHub at line 142 of file RawTower.h
|
inlinevirtual |
Reimplemented in RawTowerv1.
Definition at line 154 of file RawTower.h.
View newest version in sPHENIX GitHub at line 154 of file RawTower.h