ATLAS Offline Software
ICollectionProcessor.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 INDETALIGNMENT_COLLECTIONPROCESSOR_IH
6 #define INDETALIGNMENT_COLLECTIONPROCESSOR_IH
7 
9 // ================================================
10 // CollectionProcessor
11 // ================================================
12 //
13 // ICollectionProcessor.h
14 // Generic interface for alignment algtools which process a track
15 // collection and return another one (e.g. refits, with or without vertexing,
16 // track selection ...)
17 //
18 // Namespace InDetAlignment
19 
20 #include "GaudiKernel/IAlgTool.h"
22 
23 namespace Trk {
24  class Track;
25 }
26 
27 namespace InDetAlignment {
28 
29  //static const InterfaceID IID_InDetAlignment_ICollectionProcessor("ICollectionProcessor",1,0);
30 
31  class ICollectionProcessor: virtual public IAlgTool {
32  public:
33  static const InterfaceID& interfaceID();
34 
36  //virtual void configure() = 0;
37  virtual StatusCode configure() = 0;
38 
43 
44  };
45 
46  inline const InterfaceID& ICollectionProcessor::interfaceID()
47  {
48  static const InterfaceID s_myID("ICollectionProcessor", 1 , 0);
49  return s_myID;
50  //return IID_InDetAlignment_ICollectionProcessor;
51  }
52 
53 } //namespace
54 
55 #endif // INDETALIGNMENT_COLLECTIONPROCESSOR_IH
InDetAlignment::ICollectionProcessor::interfaceID
static const InterfaceID & interfaceID()
Definition: ICollectionProcessor.h:46
InDetAlignment
Definition: CreateMisalignAlg.cxx:68
InDetAlignment::ICollectionProcessor::configure
virtual StatusCode configure()=0
does necessary configuration to the tool
InDetAlignment::ICollectionProcessor::processTrackCollection
virtual const DataVector< Trk::Track > * processTrackCollection(const DataVector< Trk::Track > *trks)=0
main processing of track collection current policy: if a track cannot be processed (e....
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector< Trk::Track >
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
InDetAlignment::ICollectionProcessor
Definition: ICollectionProcessor.h:31
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21