ATLAS Offline Software
List of all members
InDet::ISiSpacePointsSeedMaker Class Referenceabstract

#include <ISiSpacePointsSeedMaker.h>

Inheritance diagram for InDet::ISiSpacePointsSeedMaker:
Collaboration diagram for InDet::ISiSpacePointsSeedMaker:

Public Member Functions

InterfaceID
 DeclareInterfaceID (ISiSpacePointsSeedMaker, 1, 0)
 
Methods to initialize tool for new event or region
virtual void newEvent (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, int iteration=-1) const =0
 
virtual void newRegion (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, const std::vector< IdentifierHash > &vPixel, const std::vector< IdentifierHash > &vSCT) const =0
 
virtual void newRegion (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, const std::vector< IdentifierHash > &vPixel, const std::vector< IdentifierHash > &vSCT, const IRoiDescriptor &iRD) const =0
 
Methods to initilize different strategies of seeds production
virtual void find2Sp (SiSpacePointsSeedMakerEventData &data, const std::list< Trk::Vertex > &lv) const =0
 with two space points with or without vertex constraint More...
 
virtual void find3Sp (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, const std::list< Trk::Vertex > &lv) const =0
 with three space points with or without vertex constraint More...
 
virtual void find3Sp (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, const std::list< Trk::Vertex > &lv, const double *zVertex) const =0
 with three space points with or without vertex constraint with information about min and max Z of the vertex More...
 
virtual void findVSp (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data, const std::list< Trk::Vertex > &lv) const =0
 with variable number space points with or without vertex constraint Variable means (2,3,4,....) any number space points More...
 
Print internal tool parameters and status
virtual MsgStream & dump (SiSpacePointsSeedMakerEventData &data, MsgStream &out) const =0
 

Iterator through seeds pseudo collection

produced accordingly methods find

enum  seedType { StripSeed = 0, PixelSeed = 1, MixedSeed = 2 }
 
virtual const SiSpacePointsSeednext (const EventContext &ctx, SiSpacePointsSeedMakerEventData &data) const =0
 
virtual void writeNtuple (const SiSpacePointsSeed *seed, const Trk::Track *, int seedType, long eventNumber) const =0
 
virtual bool getWriteNtupleBoolProperty () const =0
 

Detailed Description

Base class for track candidates generation using space points information

In AthenaMT, event dependent cache inside ISiSpacePointsSeedMaker is not preferred. SiSpacePointsSeedMakerEventData class holds event dependent data for ISiSpacePointsSeedMaker and its object is instantiated in SiSPSeededTrackFinder::execute.

Example implementation

SiSpacePointsSeedMakerEventData seedEventData;
seedsmaker->newEvent(seedEventData, -1);
std::list<Trk::Vertex> vertices;
seedsmaker->find2Sp(seedEventData, vertices);
const InDet::SiSpacePointsSeed* seed = nullptr;
while ((seed=seedsmaker->next(seedEventData))) {
do some method with two space points seed;
}
seedsmaker->find3Sp();
while ((seed=seedsmaker->next(seedEventData))) {
do some method with three space points seed;
}
seedsmaker->findVSp();
while ((seed=seedsmaker->next(seedEventData))) {
do some method with variable number space points seed;
}

Definition at line 74 of file ISiSpacePointsSeedMaker.h.

Member Enumeration Documentation

◆ seedType

Enumerator
StripSeed 
PixelSeed 
MixedSeed 

Definition at line 136 of file ISiSpacePointsSeedMaker.h.

136 { StripSeed = 0, PixelSeed = 1, MixedSeed = 2 };

Member Function Documentation

◆ DeclareInterfaceID()

InDet::ISiSpacePointsSeedMaker::DeclareInterfaceID ( ISiSpacePointsSeedMaker  ,
,
 
)

◆ dump()

virtual MsgStream& InDet::ISiSpacePointsSeedMaker::dump ( SiSpacePointsSeedMakerEventData data,
MsgStream &  out 
) const
pure virtual

◆ find2Sp()

virtual void InDet::ISiSpacePointsSeedMaker::find2Sp ( SiSpacePointsSeedMakerEventData data,
const std::list< Trk::Vertex > &  lv 
) const
pure virtual

with two space points with or without vertex constraint

◆ find3Sp() [1/2]

virtual void InDet::ISiSpacePointsSeedMaker::find3Sp ( const EventContext &  ctx,
SiSpacePointsSeedMakerEventData data,
const std::list< Trk::Vertex > &  lv 
) const
pure virtual

with three space points with or without vertex constraint

◆ find3Sp() [2/2]

virtual void InDet::ISiSpacePointsSeedMaker::find3Sp ( const EventContext &  ctx,
SiSpacePointsSeedMakerEventData data,
const std::list< Trk::Vertex > &  lv,
const double *  zVertex 
) const
pure virtual

with three space points with or without vertex constraint with information about min and max Z of the vertex

◆ findVSp()

virtual void InDet::ISiSpacePointsSeedMaker::findVSp ( const EventContext &  ctx,
SiSpacePointsSeedMakerEventData data,
const std::list< Trk::Vertex > &  lv 
) const
pure virtual

with variable number space points with or without vertex constraint Variable means (2,3,4,....) any number space points

◆ getWriteNtupleBoolProperty()

virtual bool InDet::ISiSpacePointsSeedMaker::getWriteNtupleBoolProperty ( ) const
pure virtual

◆ newEvent()

virtual void InDet::ISiSpacePointsSeedMaker::newEvent ( const EventContext &  ctx,
SiSpacePointsSeedMakerEventData data,
int  iteration = -1 
) const
pure virtual

◆ newRegion() [1/2]

virtual void InDet::ISiSpacePointsSeedMaker::newRegion ( const EventContext &  ctx,
SiSpacePointsSeedMakerEventData data,
const std::vector< IdentifierHash > &  vPixel,
const std::vector< IdentifierHash > &  vSCT 
) const
pure virtual

◆ newRegion() [2/2]

virtual void InDet::ISiSpacePointsSeedMaker::newRegion ( const EventContext &  ctx,
SiSpacePointsSeedMakerEventData data,
const std::vector< IdentifierHash > &  vPixel,
const std::vector< IdentifierHash > &  vSCT,
const IRoiDescriptor iRD 
) const
pure virtual

◆ next()

virtual const SiSpacePointsSeed* InDet::ISiSpacePointsSeedMaker::next ( const EventContext &  ctx,
SiSpacePointsSeedMakerEventData data 
) const
pure virtual

◆ writeNtuple()

virtual void InDet::ISiSpacePointsSeedMaker::writeNtuple ( const SiSpacePointsSeed seed,
const Trk::Track ,
int  seedType,
long  eventNumber 
) const
pure virtual

The documentation for this class was generated from the following file:
RunTileTBRec.method
method
Definition: RunTileTBRec.py:73
InDet::ISiSpacePointsSeedMaker::PixelSeed
@ PixelSeed
Definition: ISiSpacePointsSeedMaker.h:136
Generate_dsid_ranseed.seed
seed
Definition: Generate_dsid_ranseed.py:10
Trk::two
@ two
Definition: TrkDetDescr/TrkSurfaces/TrkSurfaces/RealQuadraticEquation.h:23
InDet::SiSpacePointsSeed
Definition: SiSpacePointsSeed.h:30
python.selection.variable
variable
Definition: selection.py:33
InDet::ISiSpacePointsSeedMaker::StripSeed
@ StripSeed
Definition: ISiSpacePointsSeedMaker.h:136
python.selection.number
number
Definition: selection.py:20
InDet::ISiSpacePointsSeedMaker::MixedSeed
@ MixedSeed
Definition: ISiSpacePointsSeedMaker.h:136
jobOptions.points
points
Definition: jobOptions.GenevaPy8_Zmumu.py:97