Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <BeamPipeBuilderImpl.h>
|
virtual | ~BeamPipeBuilderImpl ()=default |
| Destructor. More...
|
|
virtual StatusCode | initialize () override |
| AlgTool initialize method. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
BooleanProperty | m_beamPipeFromDb {this, "BeamPipeFromGeoModel", true} |
| steer beam pipe parameters from DataBase More...
|
|
const BeamPipeDetectorManager * | m_beamPipeMgr {} |
| the beam pipe manager More...
|
|
StringProperty | m_beamPipeMgrName {this, "BeamPipeManager", "BeamPipe"} |
| the name of the beam pipe manager to be configured More...
|
|
DoubleProperty | m_beamPipeEnvelope {this, "BeamPipeEnvelope", 1.*Gaudi::Units::mm} |
| radial envelope when taking the Top volume radius More...
|
|
DoubleProperty | m_beamPipeOffsetX {this, "BeamPipeOffsetX", 0.*Gaudi::Units::mm} |
| beam pipe offset in x More...
|
|
DoubleProperty | m_beamPipeOffsetY {this, "BeamPipeOffsetY", 0.*Gaudi::Units::mm} |
| beam pipe offset in y More...
|
|
DoubleProperty | m_beamPipeRadius {this, "BeamPipeRadius", 33.1*Gaudi::Units::mm} |
| radius of the beam pipe More...
|
|
DoubleProperty | m_beamPipeHalflength {this, "BeamPipeHalflength", 2.7*Gaudi::Units::m} |
| halflength of the beampipe More...
|
|
DoubleProperty | m_beamPipeThickness {this, "BeamPipeThickness", 1.*Gaudi::Units::mm} |
| thickness of the beam pipe More...
|
|
DoubleProperty | m_beamPipeX0 {this, "BeamPipeX0", 352.8*Gaudi::Units::mm} |
| X0 of the beam pipe. More...
|
|
double | m_beamPipeL0 {407.*Gaudi::Units::mm} |
| X0 of the beam pipe. More...
|
|
DoubleProperty | m_beamPipeA {this, "BeamPipeAverageA", 9.012} |
| averageA of the beam pipe More...
|
|
DoubleProperty | m_beamPipeZ {this, "BeamPipeAverageZ", 4.} |
| averageZ of the beam pipe More...
|
|
DoubleProperty | m_beamPipeRho {this, "BeamPipeAverageRho", 1.848e-3} |
| averageRho of the beam pipe More...
|
|
UnsignedIntegerProperty | m_beamPipeBinsZ {this, "BeamPipeMaterialBinsZ", 1} |
| number of bins in the beam pipe More...
|
|
StringProperty | m_identification {this, "Identification", "BeamPipe"} |
| string identification More...
|
|
Base LayerBuilder for the BeamPipe, can be configured through jobOptions:
- radius
- halflength
- thickness
- MaterialProperties
later on the slight shift/rotation of the BeamPipe can be implemented
- make a binding to the database afterwards
Used by derived classes BeamPipeBuilder and BeamPipeBuilderCond.
- Author
- Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Definition at line 39 of file BeamPipeBuilderImpl.h.
◆ StoreGateSvc_t
◆ ~BeamPipeBuilderImpl()
virtual InDet::BeamPipeBuilderImpl::~BeamPipeBuilderImpl |
( |
| ) |
|
|
virtualdefault |
◆ BeamPipeBuilderImpl()
InDet::BeamPipeBuilderImpl::BeamPipeBuilderImpl |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
|
inlineprotected |
◆ cylindricalLayersImpl()
std::unique_ptr< const std::vector< Trk::CylinderLayer * > > InDet::BeamPipeBuilderImpl::cylindricalLayersImpl |
( |
| ) |
const |
|
protected |
Definition at line 35 of file BeamPipeBuilderImpl.cxx.
37 auto beamPipe = std::make_unique<std::vector<Trk::CylinderLayer*> >();
41 beamPipeTransform.setIdentity();
54 beamPipeTopVolume->getX().translation().y(),
55 beamPipeTopVolume->getX().translation().z());
56 const GeoLogVol* beamPipeLogVolume = beamPipeTopVolume->getLogVol();
57 const GeoTube* beamPipeTube =
nullptr;
58 if (beamPipeLogVolume) {
61 beamPipeTube =
dynamic_cast<const GeoTube*
>(beamPipeLogVolume->getShape());
63 for(
unsigned int i=0;
i<beamPipeTopVolume->getNChildVols();
i++) {
64 if(beamPipeTopVolume->getNameOfChildVol(
i)==
"SectionC03"){
65 PVConstLink childTopVolume = beamPipeTopVolume->getChildVol(
i);
66 const GeoLogVol* childLogVolume = childTopVolume->getLogVol();
67 const GeoTube* childTube =
nullptr;
69 childTube =
dynamic_cast<const GeoTube*
>(childLogVolume->getShape());
71 beamPipeRadius = 0.5 * (childTube->getRMax()+childTube->getRMin());
79 ATH_MSG_VERBOSE(
"BeamPipe constructed from Database: translation (yes) - radius "<< ( beamPipeTube ?
"(yes)" :
"(no)") <<
" - r = " << beamPipeRadius );
85 << beamPipeTransform.translation().x() <<
", "
86 << beamPipeTransform.translation().y() <<
","
87 << beamPipeTransform.translation().y());
90 ATH_MSG_VERBOSE(
"BeamPipe bounds constructed as : " << (*beamPipeBounds) );
106 beamPipeLayerMaterial,
114 beamPipeLayerMaterial,
117 beamPipe->push_back(pThisCylinderLayer);
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ initialize()
StatusCode InDet::BeamPipeBuilderImpl::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_beamPipeA
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeA {this, "BeamPipeAverageA", 9.012} |
|
protected |
◆ m_beamPipeBinsZ
UnsignedIntegerProperty InDet::BeamPipeBuilderImpl::m_beamPipeBinsZ {this, "BeamPipeMaterialBinsZ", 1} |
|
protected |
◆ m_beamPipeEnvelope
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeEnvelope {this, "BeamPipeEnvelope", 1.*Gaudi::Units::mm} |
|
protected |
◆ m_beamPipeFromDb
BooleanProperty InDet::BeamPipeBuilderImpl::m_beamPipeFromDb {this, "BeamPipeFromGeoModel", true} |
|
protected |
◆ m_beamPipeHalflength
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeHalflength {this, "BeamPipeHalflength", 2.7*Gaudi::Units::m} |
|
protected |
◆ m_beamPipeL0
double InDet::BeamPipeBuilderImpl::m_beamPipeL0 {407.*Gaudi::Units::mm} |
|
protected |
◆ m_beamPipeMgr
◆ m_beamPipeMgrName
StringProperty InDet::BeamPipeBuilderImpl::m_beamPipeMgrName {this, "BeamPipeManager", "BeamPipe"} |
|
protected |
◆ m_beamPipeOffsetX
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeOffsetX {this, "BeamPipeOffsetX", 0.*Gaudi::Units::mm} |
|
protected |
◆ m_beamPipeOffsetY
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeOffsetY {this, "BeamPipeOffsetY", 0.*Gaudi::Units::mm} |
|
protected |
◆ m_beamPipeRadius
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeRadius {this, "BeamPipeRadius", 33.1*Gaudi::Units::mm} |
|
protected |
◆ m_beamPipeRho
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeRho {this, "BeamPipeAverageRho", 1.848e-3} |
|
protected |
◆ m_beamPipeThickness
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeThickness {this, "BeamPipeThickness", 1.*Gaudi::Units::mm} |
|
protected |
◆ m_beamPipeX0
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeX0 {this, "BeamPipeX0", 352.8*Gaudi::Units::mm} |
|
protected |
◆ m_beamPipeZ
DoubleProperty InDet::BeamPipeBuilderImpl::m_beamPipeZ {this, "BeamPipeAverageZ", 4.} |
|
protected |
◆ m_detStore
◆ m_evtStore
◆ m_identification
StringProperty InDet::BeamPipeBuilderImpl::m_identification {this, "Identification", "BeamPipe"} |
|
protected |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
StringProperty m_beamPipeMgrName
the name of the beam pipe manager to be configured
DoubleProperty m_beamPipeRho
averageRho of the beam pipe
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual unsigned int getNumTreeTops() const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
DoubleProperty m_beamPipeThickness
thickness of the beam pipe
double m_beamPipeL0
X0 of the beam pipe.
DoubleProperty m_beamPipeX0
X0 of the beam pipe.
#define ATH_MSG_VERBOSE(x)
const BeamPipeDetectorManager * m_beamPipeMgr
the beam pipe manager
DoubleProperty m_beamPipeHalflength
halflength of the beampipe
virtual PVConstLink getTreeTop(unsigned int i) const
@ u
Enums for curvilinear frames.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
DoubleProperty m_beamPipeOffsetY
beam pipe offset in y
DoubleProperty m_beamPipeRadius
radius of the beam pipe
Eigen::Affine3d Transform3D
DoubleProperty m_beamPipeOffsetX
beam pipe offset in x
DoubleProperty m_beamPipeZ
averageZ of the beam pipe
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
BooleanProperty m_beamPipeFromDb
steer beam pipe parameters from DataBase
DoubleProperty m_beamPipeA
averageA of the beam pipe
Eigen::Translation< double, 3 > Translation3D
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
UnsignedIntegerProperty m_beamPipeBinsZ
number of bins in the beam pipe