ATLAS Offline Software
Loading...
Searching...
No Matches
IInDetBeamSpotWriterTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INDET_IINDETBEAMPSPOTWRITERTOOL_H
6#define INDET_IINDETBEAMPSPOTWRITERTOOL_H
8// Author James Walder : jwalder@cern.ch
9// AlgTool to handle main Beamspot writing functions
10//
11// Principle expectation is a croncrete implementation
12// to write to a database
14
15#include "GaudiKernel/IAlgTool.h"
16#include <vector>
18// #include "BeamSpotID.h"
19
20static const InterfaceID IID_IInDetBeamSpotWriterTool("IInDetBeamSpotWriterTool", 1 , 0);
21
22namespace BeamSpot {
39
40class ID;
41}
42
43
44namespace InDet {
47 class IInDetBeamSpotWriterTool : virtual public IAlgTool {
48 public:
50 static const InterfaceID& interfaceID() {
52 }
53 // Actual operator function
54
55 //General methods for all beamspot determination methods
56 virtual StatusCode initialize() = 0;
57 virtual StatusCode finalize() = 0;
58
63 virtual StatusCode write(std::map<BeamSpot::ID, BeamSpot::BeamSpotDB> &) = 0;
64
65 virtual void setLBfromAcceptedEvents(bool ) = 0;
66 virtual void setLBfromViewedEvents(bool ) = 0;
67
68
69 };
70
71
72} // namespace
73#endif
74
75
static const InterfaceID IID_IInDetBeamSpotWriterTool("IInDetBeamSpotWriterTool", 1, 0)
Abstract class to control the outputing of beamspot information.
virtual StatusCode write(std::map< BeamSpot::ID, BeamSpot::BeamSpotDB > &)=0
Principle method to output the beamspot information.
virtual StatusCode finalize()=0
virtual void setLBfromViewedEvents(bool)=0
static const InterfaceID & interfaceID()
Retrieve interface ID.
virtual StatusCode initialize()=0
virtual void setLBfromAcceptedEvents(bool)=0
Primary Vertex Finder.