StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StPmdGeom Class Reference

#include <StPmdGeom.h>

Public Member Functions

 StPmdGeom ()
 A constructor.
 
virtual ~StPmdGeom ()
 A constructor.
 
Int_t NModule (Int_t, Int_t, Int_t &)
 A destructor. More...
 
void Cell_xy (Int_t, Int_t, Int_t, Float_t &, Float_t &, Float_t &, Float_t &)
 function for converting supermodule,row,col to x,y position,eta and phi values of the cell More...
 
void DetCell_xy (Int_t, Float_t, Float_t, Float_t &, Float_t &, Float_t &, Float_t &)
 function for converting supermodule,row,col to x,y,eta,phi after conversionfrom 17 to 12 supermodule used in clustering
 
void IntDetCell_xy (Int_t, Int_t, Int_t, Float_t &, Float_t &, Float_t &, Float_t &)
 function for converting supermodule,row,col to x,y,eta,phi after conversionfrom 17 to 12 supermodule
 
void Sim2Detmap (Int_t &, Int_t &, Int_t &)
 function for convering supermodule,row,col (from GEANT) to supermodule,row,col as in hardware.
 
void Cell_eta_phi (Float_t, Float_t, Float_t &, Float_t &)
 function for calculating eta,phi from x, y
 
void readBoardDetail ()
 
void readBoardDetail (Int_t runno1)
 
void GetRunYear (Int_t, Int_t &, Int_t &)
 
Int_t GetNBoardsChain (Int_t)
 
void GetNBoardsSM (Int_t, Int_t *)
 
void drawPMD (Int_t, Int_t, Int_t)
 
void DrawRhombus (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t &, Float_t *, Float_t *)
 
void drawPMDXY (Int_t, Int_t, Int_t)
 
void drawPMDetaphi (Int_t, Int_t, Int_t)
 
Int_t ChainMapping (Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &)
 
Int_t ChainMapping (Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain1 (int &, int &, int &, int &)
 
void chain2 (int &, int &, int &, int &)
 
void chain3 (int &, int &, int &, int &)
 
void chain5 (int &, int &, int &, int &)
 
void chain9 (int &, int &, int &, int &)
 
void chain10 (int &, int &, int &, int &)
 
void chain12 (int &, int &, int &, int &)
 
void chain15 (int &, int &, int &, int &)
 
void chain17 (int &, int &, int &, int &)
 
void chain21 (int &, int &, int &, int &)
 
void chain22 (int &, int &, int &, int &)
 
void chain23 (int &, int &, int &, int &)
 
void chain34 (int &, int &, int &, int &)
 
void chain39 (int &, int &, int &, int &)
 
void chain41 (int &, int &, int &, int &)
 
void chain45 (int &, int &, int &, int &)
 
void chain46 (int &, int &, int &, int &)
 
void chain1 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain2 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain3 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain4 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain5 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain6 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain7 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain8 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain9 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain10 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain11 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain12 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain13 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain14 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain15 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain16 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain17 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain18 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain19 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain20 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain21 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain22 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain23 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain24 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain25 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain26 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain27 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain28 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain29 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain30 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain31 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain32 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain33 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain34 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain35 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain36 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain37 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain38 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain39 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain40 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain41 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain42 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain43 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain44 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain45 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain46 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain47 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void chain48 (Int_t &, Int_t &, Int_t &, Int_t &, Int_t)
 
void ADC2Edep (Int_t, Float_t &)
 
Float_t GetPmdZ ()
 To convert the ADC value to Edep. More...
 

Detailed Description

Author

Definition at line 63 of file StPmdGeom.h.

Member Function Documentation

void StPmdGeom::Cell_xy ( Int_t  nmod,
Int_t  row,
Int_t  col,
Float_t &  xreal,
Float_t &  yreal,
Float_t &  eta,
Float_t &  phi 
)

function for converting supermodule,row,col to x,y position,eta and phi values of the cell

for first sector

for second sector

for third sector

Definition at line 205 of file StPmdGeom.cxx.

References Cell_eta_phi().

void StPmdGeom::drawPMD ( Int_t  firstchain,
Int_t  lastchain,
Int_t  runno 
)

cout<<" I am drawing the PMD"<<endl;

Definition at line 6980 of file StPmdGeom.cxx.

References kStOk.

void StPmdGeom::drawPMDetaphi ( Int_t  firstchain,
Int_t  lastchain,
Int_t  runno 
)

cout<<" I am drawing the PMD etaphi"<<endl;

Definition at line 6921 of file StPmdGeom.cxx.

References IntDetCell_xy(), and kStOK.

void StPmdGeom::drawPMDXY ( Int_t  firstchain,
Int_t  lastchain,
Int_t  runno 
)

cout<<" I am drawing the PMD XY"<<endl;

Definition at line 6862 of file StPmdGeom.cxx.

References IntDetCell_xy(), and kStOK.

Float_t StPmdGeom::GetPmdZ ( )
inline

To convert the ADC value to Edep.

for defining constants

Definition at line 183 of file StPmdGeom.h.

Int_t StPmdGeom::NModule ( Int_t  sector,
Int_t  super,
Int_t &  nmod 
)

A destructor.

conversion from sector,supermodule inside the sector to global supermodule 17

Definition at line 199 of file StPmdGeom.cxx.

Referenced by StPmdSimulatorMaker::makePmdHits().


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