Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InttCombinedRawDataDecoder Class Reference

#include <coresoftware/blob/master/offline/packages/intt/InttCombinedRawDataDecoder.h>

+ Inheritance diagram for InttCombinedRawDataDecoder:
+ Collaboration diagram for InttCombinedRawDataDecoder:

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")
 

Detailed Description

Definition at line 15 of file InttCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 15 of file InttCombinedRawDataDecoder.h

Member Typedef Documentation

Definition at line 28 of file InttCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 28 of file InttCombinedRawDataDecoder.h

Constructor & Destructor Documentation

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

Member Function Documentation

int InttCombinedRawDataDecoder::InitRun ( PHCompositeNode )
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().

+ Here is the call graph for this function:

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.

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int InttCombinedRawDataDecoder::process_event ( PHCompositeNode )
overridevirtual

Member Data Documentation

Set_t InttCombinedRawDataDecoder::m_HotChannelSet
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().

std::string InttCombinedRawDataDecoder::m_InttRawNodeName = "INTTRAWHIT"
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().


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