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

mvtx raw data decoder More...

#include <coresoftware/blob/master/offline/packages/mvtx/MvtxCombinedRawDataDecoder.h>

+ Inheritance diagram for MvtxCombinedRawDataDecoder:
+ Collaboration diagram for MvtxCombinedRawDataDecoder:

Public Member Functions

 MvtxCombinedRawDataDecoder (const std::string &name="MvtxCombinedRawDataDecoder")
 constructor
 
int Init (PHCompositeNode *) override
 global initialization
 
int InitRun (PHCompositeNode *) override
 run initialization
 
int process_event (PHCompositeNode *) override
 event processing
 
int End (PHCompositeNode *) override
 end of processing
 
void useRawHitNodeName (const std::string &name)
 
void useRawEvtHeaderNodeName (const std::string &name)
 
void writeMvtxEventHeader (bool write)
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
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 Member Functions

void removeDuplicates (std::vector< std::pair< uint64_t, uint32_t >> &v)
 

Private Attributes

TrkrHitSetContainerhit_set_container = nullptr
 
MvtxEventInfomvtx_event_header = nullptr
 
MvtxRawEvtHeadermvtx_raw_event_header = nullptr
 
MvtxRawHitContainermvtx_hit_container = nullptr
 
MvtxRawHitmvtx_hit = nullptr
 
std::string m_MvtxRawHitNodeName = "MVTXRAWHIT"
 
std::string m_MvtxRawEvtHeaderNodeName = "MVTXRAWEVTHEADER"
 
float m_strobeWidth = 89.
 
bool m_writeMvtxEventHeader = true
 microseconds
 
std::vector< std::pair
< TrkrDefs::hitsetkey,
TrkrDefs::hitkey > > 
m_hotPixelMap
 

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

mvtx raw data decoder

Definition at line 27 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 27 of file MvtxCombinedRawDataDecoder.h

Constructor & Destructor Documentation

MvtxCombinedRawDataDecoder::MvtxCombinedRawDataDecoder ( const std::string &  name = "MvtxCombinedRawDataDecoder")

constructor

Definition at line 32 of file MvtxCombinedRawDataDecoder.cc.

View newest version in sPHENIX GitHub at line 32 of file MvtxCombinedRawDataDecoder.cc

Member Function Documentation

int MvtxCombinedRawDataDecoder::End ( PHCompositeNode )
overridevirtual

end of processing

Reimplemented from SubsysReco.

Definition at line 232 of file MvtxCombinedRawDataDecoder.cc.

View newest version in sPHENIX GitHub at line 232 of file MvtxCombinedRawDataDecoder.cc

References Fun4AllReturnCodes::EVENT_OK.

int MvtxCombinedRawDataDecoder::Init ( PHCompositeNode )
overridevirtual

global initialization

Reimplemented from SubsysReco.

Definition at line 38 of file MvtxCombinedRawDataDecoder.cc.

View newest version in sPHENIX GitHub at line 38 of file MvtxCombinedRawDataDecoder.cc

References Fun4AllReturnCodes::EVENT_OK.

int MvtxCombinedRawDataDecoder::InitRun ( PHCompositeNode topNode)
overridevirtual

run initialization

Reimplemented from SubsysReco.

Definition at line 44 of file MvtxCombinedRawDataDecoder.cc.

View newest version in sPHENIX GitHub at line 44 of file MvtxCombinedRawDataDecoder.cc

References PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), MvtxDefs::genHitKey(), MvtxDefs::genHitSetKey(), CDBTTree::GetIntValue(), CDBTTree::GetSingleIntValue(), CDBInterface::getUrl(), hit_set_container, i, CDBInterface::instance(), m_hotPixelMap, m_MvtxRawEvtHeaderNodeName, m_writeMvtxEventHeader, mvtx_event_header, mvtx_raw_event_header, and PHWHERE.

+ Here is the call graph for this function:

void MvtxCombinedRawDataDecoder::removeDuplicates ( std::vector< std::pair< uint64_t, uint32_t >> &  v)
private

Definition at line 237 of file MvtxCombinedRawDataDecoder.cc.

View newest version in sPHENIX GitHub at line 237 of file MvtxCombinedRawDataDecoder.cc

References end, it, and testSigmaEff::v.

void MvtxCombinedRawDataDecoder::useRawEvtHeaderNodeName ( const std::string &  name)
inline

Definition at line 47 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 47 of file MvtxCombinedRawDataDecoder.h

References m_MvtxRawEvtHeaderNodeName, and perf_headwind::name.

void MvtxCombinedRawDataDecoder::useRawHitNodeName ( const std::string &  name)
inline

Definition at line 45 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 45 of file MvtxCombinedRawDataDecoder.h

References m_MvtxRawHitNodeName, and perf_headwind::name.

void MvtxCombinedRawDataDecoder::writeMvtxEventHeader ( bool  write)
inline

Definition at line 49 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 49 of file MvtxCombinedRawDataDecoder.h

References m_writeMvtxEventHeader, and write().

+ Here is the call graph for this function:

Member Data Documentation

TrkrHitSetContainer* MvtxCombinedRawDataDecoder::hit_set_container = nullptr
private

Definition at line 53 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 53 of file MvtxCombinedRawDataDecoder.h

Referenced by InitRun(), and process_event().

std::vector<std::pair<TrkrDefs::hitsetkey, TrkrDefs::hitkey> > MvtxCombinedRawDataDecoder::m_hotPixelMap
private

Definition at line 63 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 63 of file MvtxCombinedRawDataDecoder.h

Referenced by InitRun(), and process_event().

std::string MvtxCombinedRawDataDecoder::m_MvtxRawEvtHeaderNodeName = "MVTXRAWEVTHEADER"
private

Definition at line 60 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 60 of file MvtxCombinedRawDataDecoder.h

Referenced by InitRun(), process_event(), and useRawEvtHeaderNodeName().

std::string MvtxCombinedRawDataDecoder::m_MvtxRawHitNodeName = "MVTXRAWHIT"
private

Definition at line 59 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 59 of file MvtxCombinedRawDataDecoder.h

Referenced by process_event(), and useRawHitNodeName().

float MvtxCombinedRawDataDecoder::m_strobeWidth = 89.
private

Definition at line 61 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 61 of file MvtxCombinedRawDataDecoder.h

Referenced by process_event().

bool MvtxCombinedRawDataDecoder::m_writeMvtxEventHeader = true
private

microseconds

Definition at line 62 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 62 of file MvtxCombinedRawDataDecoder.h

Referenced by InitRun(), process_event(), and writeMvtxEventHeader().

MvtxEventInfo* MvtxCombinedRawDataDecoder::mvtx_event_header = nullptr
private

Definition at line 54 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 54 of file MvtxCombinedRawDataDecoder.h

Referenced by InitRun(), and process_event().

MvtxRawHit* MvtxCombinedRawDataDecoder::mvtx_hit = nullptr
private

Definition at line 57 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 57 of file MvtxCombinedRawDataDecoder.h

Referenced by process_event().

MvtxRawHitContainer* MvtxCombinedRawDataDecoder::mvtx_hit_container = nullptr
private

Definition at line 56 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 56 of file MvtxCombinedRawDataDecoder.h

Referenced by process_event().

MvtxRawEvtHeader* MvtxCombinedRawDataDecoder::mvtx_raw_event_header = nullptr
private

Definition at line 55 of file MvtxCombinedRawDataDecoder.h.

View newest version in sPHENIX GitHub at line 55 of file MvtxCombinedRawDataDecoder.h

Referenced by InitRun(), and process_event().


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