  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
#include <InDetAlignWrt.h>
 | 
|   | InDetAlignWrt (const std::string &name, ISvcLocator *pSvcLocator) | 
|   | 
|   | ~InDetAlignWrt (void) | 
|   | 
| StatusCode  | initialize (void) | 
|   | 
| StatusCode  | execute (void) | 
|   | 
| StatusCode  | finalize (void) | 
|   | 
| virtual StatusCode  | sysInitialize () override | 
|   | Override sysInitialize.  More...
  | 
|   | 
| virtual const DataObjIDColl &  | extraOutputDeps () const override | 
|   | Return the list of extra output dependencies.  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  | 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, V, H > &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 | 
|   | 
 | 
| void  | DispDB () | 
|   | 
| void  | dispFile () | 
|   | 
| void  | doOutput () | 
|   | 
| void  | genTopTrans () | 
|   | 
| void  | doMigration () | 
|   | 
| Gaudi::Details::PropertyBase &  | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) | 
|   | specialization for handling Gaudi::Property<SG::VarHandleKey>  More...
  | 
|   | 
| Gaudi::Details::PropertyBase &  | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) | 
|   | specialization for handling Gaudi::Property<SG::VarHandleKeyArray>  More...
  | 
|   | 
| Gaudi::Details::PropertyBase &  | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) | 
|   | specialization for handling Gaudi::Property<SG::VarHandleBase>  More...
  | 
|   | 
| Gaudi::Details::PropertyBase &  | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) | 
|   | specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>  More...
  | 
|   | 
Definition at line 15 of file InDetAlignWrt.h.
 
◆ StoreGateSvc_t
◆ InDetAlignWrt()
      
        
          | InDetAlignWrt::InDetAlignWrt  | 
          ( | 
          const std::string &  | 
          name,  | 
        
        
           | 
           | 
          ISvcLocator *  | 
          pSvcLocator  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~InDetAlignWrt()
      
        
          | InDetAlignWrt::~InDetAlignWrt  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ 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()
◆ DispDB()
  
  
      
        
          | void InDetAlignWrt::DispDB  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ dispFile()
  
  
      
        
          | void InDetAlignWrt::dispFile  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 202 of file AlignWrt.cxx.
  204     "::dispFile() : Initialise AlignableTransforms from parameters file " 
  218        isyst << 
" to [det,bec,layer] [" << dettype << 
"," << 
bec << 
"," << 
 
  219        layer << 
"] {rphi,r,z} {" << rpd << 
"," << rd << 
"," << zd << 
"}" );
 
  224      " displacement recipe lines" );
 
 
 
 
◆ doMigration()
  
  
      
        
          | void InDetAlignWrt::doMigration  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 275 of file AlignWrt.cxx.
  276   ATH_MSG_DEBUG( 
"Convert Pixel/SCT alignment from old to new format");
 
  285     msg(MSG::ERROR) << 
"Write of AlignableTransform fails" << 
endmsg;
 
 
 
 
◆ doOutput()
  
  
      
        
          | void InDetAlignWrt::doOutput  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 227 of file AlignWrt.cxx.
  234       if (StatusCode::SUCCESS!=
p_iddbtool->outputObjs()) 
 
  235         msg(MSG::ERROR) << 
"Write of AlignableTransforms fails" << 
endmsg;
 
 
 
 
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
      
        
          | StatusCode InDetAlignWrt::execute  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Definition at line 143 of file AlignWrt.cxx.
  149         "Creating null alignment database from geometry information in GeoModel");
 
  166   if (
evtStore()->contains< xAOD::EventInfo >( 
"EventInfo" ) && 
 
  178   return StatusCode::SUCCESS;
 
 
 
 
◆ 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 
 
 
◆ extraOutputDeps()
  
  
      
        
          | const DataObjIDColl & AthAlgorithm::extraOutputDeps  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
overridevirtualinherited   | 
  
 
Return the list of extra output dependencies. 
This list is extended to include symlinks implied by inheritance relations. 
Definition at line 50 of file AthAlgorithm.cxx.
   57   return Algorithm::extraOutputDeps();
 
 
 
 
◆ finalize()
      
        
          | StatusCode InDetAlignWrt::finalize  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Definition at line 182 of file AlignWrt.cxx.
  185   return StatusCode::SUCCESS;
 
 
 
 
◆ genTopTrans()
  
  
      
        
          | void InDetAlignWrt::genTopTrans  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 247 of file AlignWrt.cxx.
  249   ATH_MSG_DEBUG( 
"Initialise TOPTRANS from parameters file: " <<
 
  256   std::string cline,
key;
 
  261        "," << zd << 
" phi/theta/psi " << 
phi << 
"," << 
theta << 
"," << psi );
 
  263              CLHEP::Hep3Vector(
xd,yd,zd));
 
  266   ATH_MSG_DEBUG( 
"Read " << nline << 
" lines from recipe file" );
 
  268   if (StatusCode::SUCCESS==
detStore()->record(dkp,
"/GLOBAL/GEOM/TOPTRANS")) {
 
 
 
 
◆ initialize()
      
        
          | StatusCode InDetAlignWrt::initialize  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Definition at line 103 of file AlignWrt.cxx.
  109     return StatusCode::FAILURE;
 
  124       else msg() << 
"Alignment constants will be initialised from text file" << 
m_par_rfile << 
endmsg;
 
  129       msg() << 
"ID Alignment database structures will be written on run "  
  137     msg() << 
"IOV writing will be suppressed - only output stream" << 
endmsg;
 
  140   return StatusCode::SUCCESS;
 
 
 
 
◆ 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()
  
  
      
        
          | StatusCode AthAlgorithm::sysInitialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtualinherited   | 
  
 
 
◆ 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_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
  
  
      
        
          | DataObjIDColl AthAlgorithm::m_extendedExtraObjects | 
         
       
   | 
  
privateinherited   | 
  
 
 
◆ m_par_bec
  
  
      
        
          | int InDetAlignWrt::m_par_bec | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_create
  
  
      
        
          | bool InDetAlignWrt::m_par_create | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_dbtoolinst
  
  
      
        
          | std::string InDetAlignWrt::m_par_dbtoolinst | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_dettype
  
  
      
        
          | int InDetAlignWrt::m_par_dettype | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_dispcsc
  
  
      
        
          | int InDetAlignWrt::m_par_dispcsc | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_dispfile
  
  
      
        
          | std::string InDetAlignWrt::m_par_dispfile | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_dispmode
  
  
      
        
          | int InDetAlignWrt::m_par_dispmode | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_evt1
  
  
      
        
          | unsigned int InDetAlignWrt::m_par_evt1 | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_evt2
  
  
      
        
          | unsigned int InDetAlignWrt::m_par_evt2 | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_iovtag
  
  
      
        
          | std::string InDetAlignWrt::m_par_iovtag | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_irskip
  
  
      
        
          | int InDetAlignWrt::m_par_irskip | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_layer
  
  
      
        
          | int InDetAlignWrt::m_par_layer | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_migrate
  
  
      
        
          | bool InDetAlignWrt::m_par_migrate | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_ntuple
  
  
      
        
          | bool InDetAlignWrt::m_par_ntuple | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_print
  
  
      
        
          | bool InDetAlignWrt::m_par_print | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_rdisp
  
  
      
        
          | float InDetAlignWrt::m_par_rdisp | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_rfile
  
  
      
        
          | std::string InDetAlignWrt::m_par_rfile | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_ring
  
  
      
        
          | int InDetAlignWrt::m_par_ring | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_rphidisp
  
  
      
        
          | float InDetAlignWrt::m_par_rphidisp | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_run1
  
  
      
        
          | unsigned int InDetAlignWrt::m_par_run1 | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_run2
  
  
      
        
          | unsigned int InDetAlignWrt::m_par_run2 | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_sector
  
  
      
        
          | int InDetAlignWrt::m_par_sector | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_systdisp
  
  
      
        
          | int InDetAlignWrt::m_par_systdisp | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_topname
  
  
      
        
          | std::string InDetAlignWrt::m_par_topname | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_wfile
  
  
      
        
          | std::string InDetAlignWrt::m_par_wfile | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_writetop
  
  
      
        
          | bool InDetAlignWrt::m_par_writetop | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_wrt
  
  
      
        
          | bool InDetAlignWrt::m_par_wrt | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_wrtevent
  
  
      
        
          | int InDetAlignWrt::m_par_wrtevent | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_wrtiov
  
  
      
        
          | bool InDetAlignWrt::m_par_wrtiov | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_wrtrun
  
  
      
        
          | int InDetAlignWrt::m_par_wrtrun | 
         
       
   | 
  
private   | 
  
 
 
◆ m_par_zdisp
  
  
      
        
          | float InDetAlignWrt::m_par_zdisp | 
         
       
   | 
  
private   | 
  
 
 
◆ m_setup
  
  
      
        
          | bool InDetAlignWrt::m_setup | 
         
       
   | 
  
private   | 
  
 
 
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ p_eventinfo
◆ p_iddbtool
◆ p_migratetool
The documentation for this class was generated from the following files:
 
def retrieve(aClass, aKey=None)
 
static constexpr uint32_t MAXRUN
 
Scalar phi() const
phi method
 
Class to hold set of HepGeom::Transform3D keyed by string value for storage in the conditions DB typi...
 
uint64_t eventNumber() const
The current event's event number.
 
Scalar theta() const
theta method
 
std::string m_par_dispfile
 
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool msgLvl(const MSG::Level lvl) const
 
std::string m_par_dbtoolinst
 
#define ATH_MSG_VERBOSE(x)
 
uint32_t runNumber() const
The current event's run number.
 
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
 
virtual void setOwner(IDataHandleHolder *o)=0
 
static constexpr uint32_t MINRUN
 
ToolHandle< IInDetAlignDBTool > p_iddbtool
 
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
 
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
 
virtual StatusCode sysInitialize() override
Override sysInitialize.
 
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
 
ToolHandle< IInDetAlignDBTool > p_migratetool
 
Eigen::Affine3d Transform3D
 
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
 
std::string m_par_topname
 
virtual void renounce()=0
 
static constexpr uint32_t MAXEVENT
 
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
 
static constexpr uint32_t MINEVENT
 
DataObjIDColl m_extendedExtraObjects
 
#define ATH_MSG_WARNING(x)
 
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
 
const xAOD::EventInfo * p_eventinfo
 
AthAlgorithm()
Default constructor:
 
void setTransform(const std::string &key, const HepGeom::Transform3D &trans)