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

#include <coresoftware/blob/master/offline/packages/rawtodst/TPCMap.h>

+ Collaboration diagram for TPCMap:

Classes

struct  tpc_map
 

Public Member Functions

 TPCMap ()=default
 
virtual ~TPCMap ()=default
 
virtual unsigned int getLayer (const unsigned int FEE, const unsigned int FEEChannel, const unsigned int packetid=0) const
 
virtual unsigned int getPad (const unsigned int FEE, const unsigned int FEEChannel, const unsigned int packetid=0) const
 
virtual double getR (const unsigned int FEE, const unsigned int FEEChannel, const unsigned int packetid=0) const
 
virtual double getPhi (const unsigned int FEE, const unsigned int FEEChannel, const unsigned int packetid=0) const
 
virtual void setMapNames (const std::string &r1, const std::string &r2, const std::string &r3)
 

Private Member Functions

int digest_map (const std::string &fileName, const unsigned int section_offset)
 

Private Attributes

int _broken = 0
 
std::map< unsigned int, struct
tpc_map
tmap
 

Detailed Description

Definition at line 7 of file TPCMap.h.

View newest version in sPHENIX GitHub at line 7 of file TPCMap.h

Constructor & Destructor Documentation

TPCMap::TPCMap ( )
default
virtual TPCMap::~TPCMap ( )
virtualdefault

Member Function Documentation

int TPCMap::digest_map ( const std::string &  fileName,
const unsigned int  section_offset 
)
private

Definition at line 43 of file TPCMap.cc.

View newest version in sPHENIX GitHub at line 43 of file TPCMap.cc

References _broken, TPCMap::tpc_map::FEE, TPCMap::tpc_map::FEEChannel, in, index, infile, TPCMap::tpc_map::layer, line, next, TPCMap::tpc_map::padnr, TPCMap::tpc_map::PadPhi, TPCMap::tpc_map::PadR, tmap, and ambiguity_solver_full_chain::x.

Referenced by setMapNames().

+ Here is the caller graph for this function:

unsigned int TPCMap::getLayer ( const unsigned int  FEE,
const unsigned int  FEEChannel,
const unsigned int  packetid = 0 
) const
virtual

Definition at line 161 of file TPCMap.cc.

View newest version in sPHENIX GitHub at line 161 of file TPCMap.cc

References tmap.

Referenced by tpc_hits::process_event().

+ Here is the caller graph for this function:

unsigned int TPCMap::getPad ( const unsigned int  FEE,
const unsigned int  FEEChannel,
const unsigned int  packetid = 0 
) const
virtual

Definition at line 177 of file TPCMap.cc.

View newest version in sPHENIX GitHub at line 177 of file TPCMap.cc

References tmap.

Referenced by tpc_hits::process_event().

+ Here is the caller graph for this function:

double TPCMap::getPhi ( const unsigned int  FEE,
const unsigned int  FEEChannel,
const unsigned int  packetid = 0 
) const
virtual

Definition at line 209 of file TPCMap.cc.

View newest version in sPHENIX GitHub at line 209 of file TPCMap.cc

References tmap.

Referenced by tpc_hits::process_event().

+ Here is the caller graph for this function:

double TPCMap::getR ( const unsigned int  FEE,
const unsigned int  FEEChannel,
const unsigned int  packetid = 0 
) const
virtual

Definition at line 193 of file TPCMap.cc.

View newest version in sPHENIX GitHub at line 193 of file TPCMap.cc

References tmap.

Referenced by tpc_hits::process_event().

+ Here is the caller graph for this function:

void TPCMap::setMapNames ( const std::string &  r1,
const std::string &  r2,
const std::string &  r3 
)
virtual

Definition at line 10 of file TPCMap.cc.

View newest version in sPHENIX GitHub at line 10 of file TPCMap.cc

References digest_map(), r1, r2, r3, and utils::status.

Referenced by tpc_hits::tpc_hits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

int TPCMap::_broken = 0
private

Definition at line 23 of file TPCMap.h.

View newest version in sPHENIX GitHub at line 23 of file TPCMap.h

Referenced by digest_map().

std::map<unsigned int, struct tpc_map> TPCMap::tmap
private

Definition at line 34 of file TPCMap.h.

View newest version in sPHENIX GitHub at line 34 of file TPCMap.h

Referenced by digest_map(), getLayer(), getPad(), getPhi(), and getR().


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