Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/intt/InttCombinedRawDataDecoder.h>
Public Member Functions | |
InttCombinedRawDataDecoder (std::string const &name="InttCombinedRawDataDecoder") | |
int | InitRun (PHCompositeNode *) override |
int | process_event (PHCompositeNode *) override |
int | LoadHotChannelMapLocal (std::string const &="INTT_HotChannelMap.root") |
int | LoadHotChannelMapRemote (std::string const &="INTT_HotChannelMap") |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Types | |
typedef std::set < InttNameSpace::RawData_s, InttNameSpace::RawDataComparator > | Set_t |
Private Attributes | |
std::string | m_InttRawNodeName = "INTTRAWHIT" |
Set_t | m_HotChannelSet |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 15 of file InttCombinedRawDataDecoder.h.
View newest version in sPHENIX GitHub at line 15 of file InttCombinedRawDataDecoder.h
|
private |
Definition at line 28 of file InttCombinedRawDataDecoder.h.
View newest version in sPHENIX GitHub at line 28 of file InttCombinedRawDataDecoder.h
InttCombinedRawDataDecoder::InttCombinedRawDataDecoder | ( | std::string const & | name = "InttCombinedRawDataDecoder" | ) |
Definition at line 30 of file InttCombinedRawDataDecoder.cc.
View newest version in sPHENIX GitHub at line 30 of file InttCombinedRawDataDecoder.cc
|
overridevirtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 37 of file InttCombinedRawDataDecoder.cc.
View newest version in sPHENIX GitHub at line 37 of file InttCombinedRawDataDecoder.cc
References PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), and Fun4AllBase::Verbosity().
int InttCombinedRawDataDecoder::LoadHotChannelMapLocal | ( | std::string const & | filename = "INTT_HotChannelMap.root" | ) |
Definition at line 180 of file InttCombinedRawDataDecoder.cc.
View newest version in sPHENIX GitHub at line 180 of file InttCombinedRawDataDecoder.cc
References CDBTTree::GetIntValue(), CDBTTree::GetSingleIntValue(), CDBTTree::LoadCalibrations(), m_HotChannelSet, n, and N.
int InttCombinedRawDataDecoder::LoadHotChannelMapRemote | ( | std::string const & | name = "INTT_HotChannelMap" | ) |
Definition at line 216 of file InttCombinedRawDataDecoder.cc.
View newest version in sPHENIX GitHub at line 216 of file InttCombinedRawDataDecoder.cc
References CDBTTree::GetIntValue(), CDBTTree::GetSingleIntValue(), CDBInterface::getUrl(), CDBInterface::instance(), CDBTTree::LoadCalibrations(), m_HotChannelSet, n, and N.
Referenced by Fun4All_TrkrClusteringSeeding(), and Fun4All_TrkrHitSet_Unpacker().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 95 of file InttCombinedRawDataDecoder.cc.
View newest version in sPHENIX GitHub at line 95 of file InttCombinedRawDataDecoder.cc
References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::DISCARDEVENT, Fun4AllReturnCodes::EVENT_OK, TrkrHitSetContainer::findOrAddHitSet(), InttDefs::genHitKey(), InttDefs::genHitSetKey(), InttRawHit::get_adc(), InttRawHit::get_bco(), InttRawHitContainer::get_hit(), InttRawHitContainer::get_nhits(), i, InttNameSpace::Offline_s::ladder_phi, InttNameSpace::Offline_s::ladder_z, InttNameSpace::Offline_s::layer, m_HotChannelSet, m_InttRawNodeName, PHWHERE, InttNameSpace::RawFromHit(), TrkrHit::setAdc(), InttNameSpace::Offline_s::strip_x, InttNameSpace::Offline_s::strip_y, and InttNameSpace::ToOffline().
|
private |
Definition at line 29 of file InttCombinedRawDataDecoder.h.
View newest version in sPHENIX GitHub at line 29 of file InttCombinedRawDataDecoder.h
Referenced by LoadHotChannelMapLocal(), LoadHotChannelMapRemote(), and process_event().
|
private |
Definition at line 27 of file InttCombinedRawDataDecoder.h.
View newest version in sPHENIX GitHub at line 27 of file InttCombinedRawDataDecoder.h
Referenced by process_event().