er  dev
Static Public Member Functions | Static Protected Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
ERBeamDetSetup Class Reference
Collaboration diagram for ERBeamDetSetup:
Collaboration graph
[legend]

Static Public Member Functions

static ERBeamDetSetupInstance ()
 
static Double_t GetWireGlobX (const TString &digi_branch_name, ERChannel channel)
 
static Double_t GetWireGlobY (const TString &digi_branch_name, ERChannel channel)
 
static Double_t GetWireGlobZ (const TString &digi_branch_name, ERChannel channel)
 
static Bool_t CheckIfTargetIsSet (void)
 
static Double_t DistanceBetweenMWPC ()
 
static Double_t TargetR ()
 
static void PrintDetectorParameters (void)
 
static void PrintDetectorParametersToFile (TString fileName)
 
static TString GetToFType (Int_t number)
 
static std::pair< unsigned short, unsigned short > GetMwpcAndPlaneNumbers (const TString &digi_branch_name)
 Returns mwpc and plane indexies by branch name.
 
static void SetXmlParametersFile (TString xmlFileName)
 
static void SetSensitiveTarget (void)
 
static void AddMWPC (TString type, Double_t position)
 
static void AddToF (TString type, Double_t position)
 
static void SetMWPCnumberingInvOrderX ()
 Sets the inverse order of wires numbering in an X plane. The inverse order of numbering it is the order when wire number increase while coordinate of wires decrease.
 
static void SetMWPCnumberingInvOrderY ()
 Sets the inverse order of wires numbering in an Y plane. The inverse order of numbering it is the order when wire number increase while coordinate of wires decrease.
 
static Int_t GetToFCount ()
 
static Double_t GetToFThickness (Int_t tofInd)
 
static void GetGeoParamsFromParContainer ()
 
static Double_t GetDistanceBetweenToF (Int_t tof1Ind, Int_t tof2Ind)
 
static void ConstructGeometry ()
 
static Int_t SetParContainers ()
 

Static Protected Member Functions

static void GetTransInMotherNode (TGeoNode const *node, Double_t trans[3])
 Returns translation \((X,Y,Z)\) of the certain node in a mother node frame. More...
 

Static Private Member Functions

static void ParseXmlParameters ()
 
static void GetToFParameters (TXMLNode *node)
 
static void GetMWPCParameters (TXMLNode *node)
 
static Double_t GetWireGlobCoord (const TString &digi_branch_name, ERChannel channel, float ERBeamDetWire::*coord)
 

Static Private Attributes

static ERBeamDetSetupfInstance = NULL
 
static Bool_t fIsGettingGeoPar
 
static Int_t fMWPCCount = 0
 
static Int_t fToFCount = 0
 
static Double_t fTargetR = 0
 
static Double_t fDistanceBetweenMWPC = 0
 
static Double_t fDistanceBetweenToF = 0
 
static map< Int_t, map< Int_t, map< Int_t, ERBeamDetWire * > > > fWires
 
static vector< Double_t > fPlasticX
 
static vector< Double_t > fPlasticY
 
static vector< Double_t > fPlasticZ
 
static vector< TString > fPlasticMedia
 
static vector< Double_t > fGasVolX
 
static vector< Double_t > fGasVolY
 
static vector< Double_t > fGasVolZ
 
static vector< Double_t > fGasStripX
 
static vector< Double_t > fGasStripY
 
static vector< Double_t > fGasStripZ
 
static vector< Double_t > fGasPlaneXOffset
 
static vector< Double_t > fGasPlaneYOffset
 
static vector< Double_t > fDistBetweenXandY
 
static vector< Double_t > fCathodeThickness
 
static vector< Double_t > fKaptonWindowThickness
 
static vector< Double_t > fAnodeWireDiameter
 
static vector< TString > fKaptonWindowMedia
 
static vector< TString > fCathodeMedia
 
static vector< TString > fAnodeWireMedia
 
static vector< TString > fGasMedia
 
static vector< Bool_t > fMWPCInvNumberingOrderX
 
static vector< Bool_t > fMWPCInvNumberingOrderY
 
static vector< Double_t > fPositionToF
 
static vector< Double_t > fPositionMWPC
 
static Double_t fTargetH2R = 3.
 
static Double_t fTargetH2Z = 1e-3
 
static Double_t fTargetShellThicknessSide = 1e-5
 
static Double_t fTargetShellThicknessZ = 1e-5
 
static Bool_t fSensitiveTargetIsSet = false
 
static TString fParamsXmlFileName = ""
 
static vector< TString > fToFType
 
static vector< TString > fMWPCType
 
static Bool_t fGeoFromContainerIsRead = kFALSE
 

Detailed Description

Definition at line 33 of file ERBeamDetSetup.h.

Member Function Documentation

void ERBeamDetSetup::GetTransInMotherNode ( TGeoNode const *  node,
Double_t  trans[3] 
)
staticprotected

Returns translation \((X,Y,Z)\) of the certain node in a mother node frame.

Parameters
nodenode for which translation is obtained
trans[3]translation

Definition at line 122 of file ERBeamDetSetup.cxx.


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