![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GaudiKernel/IService.h"
7 #include "GaudiKernel/ISvcLocator.h"
8 #include "GaudiKernel/MsgStream.h"
11 #include "GeoModelKernel/GeoFullPhysVol.h"
21 const std::string&
name,
24 m_pALFADetectorFactory(nullptr),
25 m_iovSvc(
"IOVDbSvc",
name )
136 log << MSG::INFO <<
"Building ALFA_ geometry" <<
endmsg;
146 log << MSG::ERROR <<
"Could not find GeoModelExperiment ATLAS" <<
endmsg;
147 return StatusCode::FAILURE;
161 return StatusCode::FAILURE;
200 log << MSG::ERROR <<
"Could not register ALFA_ detector manager" <<
endmsg;
201 return StatusCode::FAILURE;
203 return StatusCode::SUCCESS;
206 return StatusCode::FAILURE;
217 if(
sc!=StatusCode::SUCCESS){
224 msg(MSG::INFO) <<
"No callback registed" <<
endmsg;
225 sc=StatusCode::FAILURE;
243 sc=
detStore()->retrieve(pStPhysRPBox,
"StRPBox[03]");
245 const GeoFullPhysVol* pPhysRPBox=pStPhysRPBox->
getPhysVol();
248 msg(MSG::INFO) <<
"Translation of RPBOX: "<< xf.translation() <<
endmsg;
252 for(iterAttr=listAttrColl->
begin();iterAttr!=listAttrColl->
end();++iterAttr){
255 AlignParams.
fTheta[
nChannel]=((iterAttr->second)[1]).data<
float>();
262 sc=
detStore()->retrieve(pStPhysRPBox,
"StRPBox[03]");
264 const GeoFullPhysVol* pPhysRPBox=pStPhysRPBox->
getPhysVol();
266 msg(MSG::INFO) <<
"Translation of RPBOX after update: "<< xf.translation() <<
endmsg;
270 msg(MSG::ERROR) <<
"Folder '"<<
"/FWD/ALFA/position_calibration"<<
"' not found" <<
endmsg;
271 sc=StatusCode::FAILURE;
def retrieve(aClass, aKey=None)
GeoPhysVol * getPhysVol()
Destructor.
std::vector< double > vecTransformInDetectorA7L1U
const_iterator end() const
virtual void create(GeoPhysVol *pWorld)
std::vector< double > vecTransformInDetectorB7L1L
std::vector< double > pointTransformInDetectorA7L1L
std::vector< double > pointTransformInDetectorA7R1L
std::vector< double > vecTransformInStationB7R1U
std::vector< double > vecTransformInDetectorA7R1L
std::vector< double > vecTransformInStationB7L1L
std::vector< double > pointTransformInDetectorA7R1U
std::vector< bool > bIsTransformInDetector
const_iterator begin() const
Access to Chan/AttributeList pairs via iterators.
std::vector< double > pointTransformInDetectorB7L1L
std::vector< double > vecTransformInStationB7L1U
This class is a collection of AttributeLists where each one is associated with a channel number....
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
std::string strODConnString
std::string strMDConnString
std::vector< double > vecTransformInDetectorA7R1U
std::vector< bool > bIsTransformInStation
double fXOffset[RPOTSCNT]
GeoFullPhysVol * getPhysVol()
Destructor.
Definition of the abstract IRDBAccessSvc interface.
GEOMETRYCONFIGURATION GeometryConfig
msgSvc
Provide convenience handles for various services.
std::vector< double > vecTransformInStationA7R1L
void UpdateTransforms(PALIGNPARAMETERS pAlignParams)
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
::StatusCode StatusCode
StatusCode definition for legacy code.
double fYOffset[RPOTSCNT]
std::vector< double > vecTransformInStationA7L1U
Eigen::Affine3d Transform3D
std::vector< double > pointTransformInDetectorB7L1U
#define CHECK(...)
Evaluate an expression and check for errors.
CFGRPPOSPARAMS CfgRPosParams[RPOTSCNT]
std::vector< double > vecTransformInStationA7R1U
std::vector< double > vecTransformInDetectorB7R1U
std::vector< double > pointTransformInDetectorB7R1U
std::vector< double > pointTransformInDetectorA7L1U
void addManager(const GeoVDetectorManager *)
std::vector< double > vecTransformInDetectorB7L1U
ChanAttrListMap::const_iterator const_iterator
std::vector< double > pointTransformInDetectorB7R1L
std::vector< double > vecTransformInStationB7R1L
std::vector< double > vecTransformInDetectorB7R1L
virtual const ALFA_DetectorManager * getDetectorManager() const
std::vector< double > vecTransformInStationA7L1L
std::string strRPMetrologyConnString
std::vector< double > vecTransformInDetectorA7L1L