  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   10 #define LAR_ALIGN "/LAR/Align" 
   12 using HepGeom::Translate3D;
 
   13 using HepGeom::Rotate3D;
 
   14 using CLHEP::Hep3Vector;
 
   20   m_regSvc(
"IOVRegistrationSvc",
name),
 
   21   m_streamer(
"AthenaOutputStreamTool")
 
   46   return StatusCode::SUCCESS;
 
   55   const EventContext& context = getContext();
 
   56   int nrun = context.eventID().run_number();
 
   57   int nevt = context.eventID().event_number();
 
   63     ATH_MSG_DEBUG( 
"Creating conditions objects for run " << nrun  );
 
   72   return StatusCode::SUCCESS;
 
   90   return StatusCode::SUCCESS;
 
  100     ATH_MSG_INFO( 
" DetCondKeyTrans already exists, do nothing "  );
 
  101     return StatusCode::SUCCESS;
 
  110     return StatusCode::FAILURE;
 
  113   auto transforms = std::make_unique<DetCondKeyTrans>();
 
  115   char commentSign = 
'#';
 
  116   std::string commentLine;
 
  122     if(
key.empty()) 
continue;
 
  123     if(
key[0]==commentSign)
 
  124       std::getline(
infile,commentLine);
 
  129       transforms->setTransform(
key,Translate3D(
x,
y,
z)*Rotate3D(rotationAngle,
axis));
 
  137   return StatusCode::SUCCESS;
 
  149   else if(
nullptr == align) 
 
  152     std::cout << 
" \n\n**************************************************** \n";
 
  153     std::cout << 
" ****                                            **** \n";
 
  154     std::cout << 
" ****         Printing Conditions Objects        **** \n";
 
  155     std::cout << 
" ****                                            **** \n";
 
  156     std::cout << 
" **************************************************** \n";
 
  160     std::cout << 
" ****  **** **** ****     END     **** **** **** **** \n\n\n";
 
  163   return StatusCode::SUCCESS;
 
  180   typeKeys[0] = std::move(align);
 
  185   return StatusCode::SUCCESS;
 
  195   std::string objname = 
"DetCondKeyTrans";
 
  199   return StatusCode::SUCCESS;
 
  
Scalar phi() const
phi method
 
Class to hold set of HepGeom::Transform3D keyed by string value for storage in the conditions DB typi...
 
Scalar theta() const
theta method
 
ToolHandle< IAthenaOutputStreamTool > m_streamer
 
StatusCode createCondObjects()
 
virtual StatusCode execute() override
 
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
 
ServiceHandle< IIOVRegistrationSvc > m_regSvc
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
StatusCode registerCondObjects()
 
StringProperty m_outpFile
 
LArAlignDbAlg(const std::string &name, ISvcLocator *pSvcLocator)
 
virtual StatusCode initialize() override
 
virtual StatusCode finalize() override
 
StatusCode printCondObjects()
 
StatusCode streamOutCondObjects()
 
#define ATH_MSG_WARNING(x)
 
BooleanProperty m_writeCondObjs