DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DDAlign
include
DDAlign
AlignmentUpdateCall.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation for LCD
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
#ifndef DD4HEP_ALIGMENTS_ALIGNMENTUPDATECALL_H
14
#define DD4HEP_ALIGMENTS_ALIGNMENTUPDATECALL_H
15
16
// Framework include files
17
#include "
DD4hep/ConditionDerived.h
"
18
#include "
DD4hep/AlignmentData.h
"
19
#include "
DD4hep/Alignments.h
"
20
22
namespace
DD4hep {
23
25
namespace
Alignments {
26
28
45
class
AlignmentUpdateCall
:
public
Conditions::ConditionUpdateCall
{
46
public
:
47
typedef
Conditions::Condition
Condition
;
48
typedef
Conditions::ConditionKey
ConditionKey
;
49
typedef
Conditions::ConditionUpdateContext
UpdateContext
;
50
typedef
Alignments::AlignmentData
Data
;
51
typedef
Alignments::AlignmentData::Delta
Delta
;
52
53
public
:
55
AlignmentUpdateCall
();
56
58
virtual
~AlignmentUpdateCall
();
59
61
virtual
Condition
operator()
(
const
ConditionKey
& key,
const
UpdateContext
& context) = 0;
62
64
75
virtual
Condition
handle
(
const
ConditionKey
& key,
const
UpdateContext
& context,
const
Delta
& delta);
76
78
virtual
Condition
invalidDataType
(
const
ConditionKey
& key,
const
UpdateContext
& context);
79
};
80
}
/* End namespace Aligments */
81
}
/* End namespace DD4hep */
82
#endif
/* DD4HEP_ALIGMENTS_ALIGNMENTUPDATECALL_H */
DD4hep::Alignments::AlignmentUpdateCall::UpdateContext
Conditions::ConditionUpdateContext UpdateContext
Definition:
AlignmentUpdateCall.h:49
DD4hep::Alignments::AlignmentUpdateCall::Data
Alignments::AlignmentData Data
Definition:
AlignmentUpdateCall.h:50
Alignments.h
DD4hep::Alignments::AlignmentUpdateCall::~AlignmentUpdateCall
virtual ~AlignmentUpdateCall()
Default destructor.
Definition:
AlignmentUpdateCall.cpp:30
DD4hep::Conditions::Condition
Main condition object handle.
Definition:
Conditions.h:70
DD4hep::Alignments::AlignmentUpdateCall
Specialized conditions update callback for alignment condition objects.
Definition:
AlignmentUpdateCall.h:45
DD4hep::Alignments::AlignmentUpdateCall::operator()
virtual Condition operator()(const ConditionKey &key, const UpdateContext &context)=0
Interface to client Callback in order to update the condition. To be overloaded by sub-class...
AlignmentData.h
ConditionDerived.h
DD4hep::Conditions::ConditionKey
Key definition to optimize ans simplyfy the access to conditions entities.
Definition:
Conditions.h:273
DD4hep::Alignments::AlignmentUpdateCall::Delta
Alignments::AlignmentData::Delta Delta
Definition:
AlignmentUpdateCall.h:51
DD4hep::Conditions::ConditionUpdateContext
ConditionUpdateContext class used by the derived conditions calculation mechanism.
Definition:
ConditionDerived.h:63
DD4hep::Conditions::ConditionUpdateCall
Callback interface.
Definition:
ConditionDerived.h:124
DD4hep::Alignments::Delta
Class describing an condition to re-adjust an alignment.
Definition:
AlignmentData.h:49
DD4hep::Alignments::AlignmentUpdateCall::handle
virtual Condition handle(const ConditionKey &key, const UpdateContext &context, const Delta &delta)
Callback to build the alignment conditions object and assign the delta.
Definition:
AlignmentUpdateCall.cpp:35
DD4hep::Alignments::AlignmentUpdateCall::invalidDataType
virtual Condition invalidDataType(const ConditionKey &key, const UpdateContext &context)
Handler to be called if the Alignment cannot be created due to a bad underlying data type...
Definition:
AlignmentUpdateCall.cpp:53
DD4hep::Alignments::AlignmentUpdateCall::ConditionKey
Conditions::ConditionKey ConditionKey
Definition:
AlignmentUpdateCall.h:48
DD4hep::Alignments::AlignmentUpdateCall::Condition
Conditions::Condition Condition
Definition:
AlignmentUpdateCall.h:47
DD4hep::Alignments::AlignmentUpdateCall::AlignmentUpdateCall
AlignmentUpdateCall()
Default constructor.
Definition:
AlignmentUpdateCall.cpp:24
DD4hep::Alignments::AlignmentData
Derived condition data-object definition.
Definition:
AlignmentData.h:107
Generated on Fri Dec 2 2016 12:31:06 for DD4hep by
1.8.6