SND@LHC Software
Loading...
Searching...
No Matches
ShipFieldMaker::fieldInfo Struct Reference

Structure to hold volume name, field name and field scaling factor. More...

#include <ShipFieldMaker.h>

Public Member Functions

 fieldInfo ()
 Default constructor.
 
 fieldInfo (const TString &volName, const TString &fieldName, Double_t scale=1.0)
 Constructor.
 

Public Attributes

TString volName_
 The name of the volume.
 
TString fieldName_
 The name of the field.
 
Double_t scale_
 The field scaling factor.
 

Detailed Description

Structure to hold volume name, field name and field scaling factor.

Definition at line 53 of file ShipFieldMaker.h.

Constructor & Destructor Documentation

◆ fieldInfo() [1/2]

ShipFieldMaker::fieldInfo::fieldInfo ( )
inline

Default constructor.

Definition at line 63 of file ShipFieldMaker.h.

63: volName_(""), fieldName_(""), scale_(1.0) {};
TString fieldName_
The name of the field.
Double_t scale_
The field scaling factor.
TString volName_
The name of the volume.

◆ fieldInfo() [2/2]

ShipFieldMaker::fieldInfo::fieldInfo ( const TString &  volName,
const TString &  fieldName,
Double_t  scale = 1.0 
)
inline

Constructor.

Definition at line 66 of file ShipFieldMaker.h.

66 :
67 volName_(volName), fieldName_(fieldName), scale_(scale) {};

Member Data Documentation

◆ fieldName_

TString ShipFieldMaker::fieldInfo::fieldName_

The name of the field.

Definition at line 58 of file ShipFieldMaker.h.

◆ scale_

Double_t ShipFieldMaker::fieldInfo::scale_

The field scaling factor.

Definition at line 60 of file ShipFieldMaker.h.

◆ volName_

TString ShipFieldMaker::fieldInfo::volName_

The name of the volume.

Definition at line 56 of file ShipFieldMaker.h.


The documentation for this struct was generated from the following file: