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

#include <coresoftware/blob/master/simulation/g4simulation/g4micromegas/PHG4MicromegasSurvey.h>

+ Collaboration diagram for PHG4MicromegasSurvey:

Classes

struct  tile_id_hash_t
 
struct  tile_id_t
 internal detector definition (tile number, detector) More...
 
struct  transformation_t
 

Public Member Functions

 PHG4MicromegasSurvey ()
 constructor
 
std::string get_module_name (int layer, uint tile) const
 get module name from tile and layer
 
G4Transform3D get_transformation (int layer, uint tile) const
 get transformation from tile and layer
 

Private Types

using tile_map_t = std::unordered_map< tile_id_t, std::string, tile_id_hash_t >
 map tile_id to module name
 
using rotation_t = std::array< double, 3 >
 internal G4Transformation format
 
using translation_t = std::array< double, 3 >
 
using transformation_map_t = std::unordered_map< std::string, transformation_t >
 map module name to transformation
 

Private Attributes

tile_map_t m_tile_map
 
transformation_map_t m_transformation_map
 

Detailed Description

survey data are provided in the form of a G4Transform3D object for each TPOT detector it is to be applied on top of the default GEANT tranformation as defined in PHG4MicromegasDetector to move the strips from their "ideal" to their surveyed position

Definition at line 22 of file PHG4MicromegasSurvey.h.

View newest version in sPHENIX GitHub at line 22 of file PHG4MicromegasSurvey.h

Member Typedef Documentation

using PHG4MicromegasSurvey::rotation_t = std::array<double, 3>
private

internal G4Transformation format

Definition at line 65 of file PHG4MicromegasSurvey.h.

View newest version in sPHENIX GitHub at line 65 of file PHG4MicromegasSurvey.h

using PHG4MicromegasSurvey::tile_map_t = std::unordered_map<tile_id_t, std::string, tile_id_hash_t>
private

map tile_id to module name

Definition at line 61 of file PHG4MicromegasSurvey.h.

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

using PHG4MicromegasSurvey::transformation_map_t = std::unordered_map<std::string, transformation_t>
private

map module name to transformation

Definition at line 83 of file PHG4MicromegasSurvey.h.

View newest version in sPHENIX GitHub at line 83 of file PHG4MicromegasSurvey.h

using PHG4MicromegasSurvey::translation_t = std::array<double, 3>
private

Definition at line 66 of file PHG4MicromegasSurvey.h.

View newest version in sPHENIX GitHub at line 66 of file PHG4MicromegasSurvey.h

Constructor & Destructor Documentation

PHG4MicromegasSurvey::PHG4MicromegasSurvey ( )

constructor

Definition at line 14 of file PHG4MicromegasSurvey.cc.

View newest version in sPHENIX GitHub at line 14 of file PHG4MicromegasSurvey.cc

Member Function Documentation

std::string PHG4MicromegasSurvey::get_module_name ( int  layer,
uint  tile 
) const

get module name from tile and layer

G4Transform3D PHG4MicromegasSurvey::get_transformation ( int  layer,
uint  tile 
) const

get transformation from tile and layer

Referenced by PHG4MicromegasDetector::construct_micromegas().

+ Here is the caller graph for this function:

Member Data Documentation

tile_map_t PHG4MicromegasSurvey::m_tile_map
private

Definition at line 62 of file PHG4MicromegasSurvey.h.

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

transformation_map_t PHG4MicromegasSurvey::m_transformation_map
private

Definition at line 84 of file PHG4MicromegasSurvey.h.

View newest version in sPHENIX GitHub at line 84 of file PHG4MicromegasSurvey.h


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