10 const std::string& name,
11 const IInterface* parent)
40 std::string folder =
m_folder.value();
46 std::make_unique< ActsTrk::PixelClusterValidationPlots >(
nullptr,
47 Form(
"%s/%s/", folder.c_str(), subdir.c_str()));
55 std::make_unique< ActsTrk::StripClusterValidationPlots >(
nullptr,
56 Form(
"%s/%s/", folder.c_str(), subdir.c_str()));
64 std::make_unique< ActsTrk::PixelSpacePointValidationPlots >(
nullptr,
65 Form(
"%s/%s/", folder.c_str(), subdir.c_str()));
73 std::make_unique< ActsTrk::StripSpacePointValidationPlots >(
nullptr,
74 Form(
"%s/%s/", folder.c_str(), subdir.c_str()),
83 std::make_unique< ActsTrk::StripSpacePointValidationPlots >(
nullptr,
84 Form(
"%s/%s/", folder.c_str(), subdir.c_str()),
94 std::make_unique< ActsTrk::HgtdClusterValidationPlots >(
nullptr,
95 Form(
"%s/%s/", folder.c_str(), subdir.c_str()));
105 return StatusCode::SUCCESS;
110 ATH_MSG_DEBUG(
"Booking histograms for " << name() <<
" ... " );
120 return StatusCode::SUCCESS;
124 float beamSpotWeight) {
127 if (not inputHgtdClusterContainer.
isValid()) {
129 return StatusCode::FAILURE;
135 if (not hgtdDetEleHandle.
isValid() or hgtdElements==
nullptr) {
137 return StatusCode::FAILURE;
145 return StatusCode::SUCCESS;
149 float beamSpotWeight) {
152 if (not inputPixelClusterContainer.
isValid()) {
154 return StatusCode::FAILURE;
162 return StatusCode::SUCCESS;
166 float beamSpotWeight) {
169 if (not inputStripClusterContainer.
isValid()) {
171 return StatusCode::FAILURE;
179 return StatusCode::SUCCESS;
184 float beamSpotWeight) {
187 if (not inputPixelSpacePointContainer.
isValid()) {
189 return StatusCode::FAILURE;
197 return StatusCode::SUCCESS;
201 float beamSpotWeight) {
204 if (not inputStripSpacePointContainer.
isValid()) {
206 return StatusCode::FAILURE;
214 return StatusCode::SUCCESS;
218 float beamSpotWeight) {
221 if (not inputStripOverlapSpacePointContainer.
isValid()) {
223 return StatusCode::FAILURE;
227 for(
const xAOD::SpacePoint* spacePoint : *stripOverlapSpacePointContainer) {
231 return StatusCode::SUCCESS;
237 ATH_MSG_DEBUG(
"Filling histograms for " << name() <<
" ... ");
239 const EventContext& ctx = Gaudi::Hive::currentContext();
243 if (not eventInfoHandle.
isValid()) {
245 return StatusCode::FAILURE;
258 return StatusCode::SUCCESS;
270 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
const ServiceHandle< StoreGateSvc > & detStore() const
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
float beamSpotWeight() const
Weight for beam spot size reweighting.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
DataVector< HGTD_DetectorElement > HGTD_DetectorElementCollection
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
PixelClusterContainer_v1 PixelClusterContainer
Define the version of the pixel cluster container.
HGTDClusterContainer_v1 HGTDClusterContainer
Define the version of the HGTD cluster container.
EventInfo_v1 EventInfo
Definition of the latest event info version.
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
SpacePointContainer_v1 SpacePointContainer
Define the version of the space point container.
StripClusterContainer_v1 StripClusterContainer
Define the version of the strip cluster container.
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
HGTDCluster_v1 HGTDCluster
Define the version of the pixel cluster class.