ATLAS Offline Software
|
#include <TRT_SeededSpacePointFinder_ATL.h>
Classes | |
struct | bypass_struct |
class | EventData |
struct | invar_bypass_struct |
Public Member Functions | |
TRT_SeededSpacePointFinder_ATL (const std::string &, const std::string &, const IInterface *) | |
Standard tool methods More... | |
virtual | ~TRT_SeededSpacePointFinder_ATL () |
virtual StatusCode | initialize () |
virtual StatusCode | finalize () |
std::unique_ptr< InDet::ITRT_SeededSpacePointFinder::IEventData > | newEvent () const |
Method to initialize tool for new event More... | |
std::unique_ptr< InDet::ITRT_SeededSpacePointFinder::IEventData > | newRegion (const std::vector< IdentifierHash > &, const std::vector< IdentifierHash > &) const |
std::list< std::pair< const Trk::SpacePoint *, const Trk::SpacePoint * > > | find2Sp (const EventContext &ctx, const Trk::TrackParameters &, ITRT_SeededSpacePointFinder::IEventData &event_data) const |
Main method of seed production More... | |
const SiSpacePointsSeed * | next (ITRT_SeededSpacePointFinder::IEventData &event_data) const |
Iterator through seed collection.Not used in this implementation. More... | |
MsgStream & | dump (MsgStream &out) const |
Print internal tool parameters and status More... | |
std::ostream & | dump (std::ostream &out) const |
ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | evtStore () const |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More... | |
virtual StatusCode | sysInitialize () override |
Perform system initialization for an algorithm. More... | |
virtual StatusCode | sysStart () override |
Handle START transition. More... | |
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
Return this algorithm's input handles. More... | |
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
Return this algorithm's output handles. More... | |
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
Declare a new Gaudi property. More... | |
void | updateVHKA (Gaudi::Details::PropertyBase &) |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
Protected Member Functions | |
MsgStream & | dumpConditions (MsgStream &out) const |
Protected methods More... | |
MsgStream & | dumpEvent (MsgStream &out, InDet::TRT_SeededSpacePointFinder_ATL::EventData &event_data) const |
void | fillLists (std::vector< std::vector< const Trk::SpacePoint * > > &r_Sorted, InDet::TRT_SeededSpacePointFinder_ATL::EventData &event_data) const |
Fill the space point container lists at beginning of each event. More... | |
void | production2Spb (const EventContext &ctx, const Trk::TrackParameters &, int, std::list< std::pair< const Trk::SpacePoint *, const Trk::SpacePoint * > > &outputListBuffer, InDet::TRT_SeededSpacePointFinder_ATL::EventData &event_data) const |
Form possible space point combinations within allowed radial and pseudorapidity ranges. More... | |
void | geoInfo (const Trk::SpacePoint *, int &, int &) const |
Obtain geo model info for a specific space point More... | |
void | magneticFieldInit () |
Get magnetic field properties More... | |
bool | cutTPb (const invar_bypass_struct &invar_bypass, const std::vector< bypass_struct > &prod_bypass, long, long, double) const |
Cut on chi2 based on TRT segment qOverP, theta and phi track parameters. More... | |
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
remove all handles from I/O resolution More... | |
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
Add StoreName to extra input/output deps as needed. More... | |
Protected Attributes | |
StringProperty | m_fieldmode |
Protected data and methods More... | |
Trk::MagneticFieldProperties | m_fieldprop |
const SCT_ID * | m_sctId = nullptr |
Magnetic field properties More... | |
DoubleProperty | m_ptmin {this, "pTmin", 500., "Minimum pT cut"} |
Seed selection criteria More... | |
DoubleProperty | m_xiC {this, "Xi2C", 100., "qOverP based chi2 cut"} |
Max R-z direction cut More... | |
DoubleProperty | m_xiTC {this, "Xi2TC", 100., "theta based chi2 cut"} |
DoubleProperty | m_xiFC {this, "Xi2FC", 100., "phi based chi2 cut"} |
BooleanProperty | m_search {this, "NeighborSearch", true, "Do full neighbor search"} |
BooleanProperty | m_loadFull |
BooleanProperty | m_doCosmics |
SG::ReadHandleKey< SpacePointContainer > | m_spacepointsPixname {this,"SpacePointsPixelName","PixelSpacePoints","RHK to retrieve Pixel SpacePointContainer"} |
Space points containers More... | |
SG::ReadHandleKey< SpacePointContainer > | m_spacepointsSCTname {this,"SpacePointsSCTName","SCT_SpacePoints","RHK to retrieve SCT SpacePointContainer"} |
SG::ReadHandleKey< SpacePointOverlapCollection > | m_spacepointsOverlapname {this,"SpacePointsOverlapName","OverlapSpacePoints","RHK to retrieve OverlapCollection"} |
SG::ReadHandleKey< Trk::PRDtoTrackMap > | m_prdToTrackMap {this,"PRDtoTrackMap",""} |
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > | m_fieldCondObjInputKey |
Static Protected Attributes | |
static constexpr double | m_r_rmin = 0. |
static constexpr double | m_r_rmax = 600. |
Minimum SCT radius to be searched More... | |
static constexpr double | m_r_rstep = 10. |
Maximum STC radius to be searched More... | |
static constexpr double | m_r1max = 560. |
Step size for space point storage More... | |
static constexpr double | m_r12min = 400. |
Max radius of last SCT layer More... | |
static constexpr double | m_r2min = 340. |
Min radius of last SCT layer More... | |
static constexpr double | m_dzdrmin = -4. |
Min radius to search for SP pairs More... | |
static constexpr double | m_dzdrmax = 4. |
Min R-z direction cut More... | |
Private Types | |
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
specialization for handling Gaudi::Property<SG::VarHandleKey> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
specialization for handling Gaudi::Property<SG::VarHandleBase> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More... | |
Private Attributes | |
StoreGateSvc_t | m_evtStore |
Pointer to StoreGate (event store by default) More... | |
StoreGateSvc_t | m_detStore |
Pointer to StoreGate (detector store by default) More... | |
std::vector< SG::VarHandleKeyArray * > | m_vhka |
bool | m_varHandleArraysDeclared |
InDet::TRT_SeededSpacePointFinderATL is a tool which produces Si track seeds using pairs of space points in the last 3 layers of the SCT.
Definition at line 66 of file TRT_SeededSpacePointFinder_ATL.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
InDet::TRT_SeededSpacePointFinder_ATL::TRT_SeededSpacePointFinder_ATL | ( | const std::string & | t, |
const std::string & | n, | ||
const IInterface * | p | ||
) |
Standard tool methods
Definition at line 43 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
virtualdefault |
|
protected |
Cut on chi2 based on TRT segment qOverP, theta and phi track parameters.
Definition at line 891 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>
Definition at line 199 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 259 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore
Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 95 of file AthCommonDataStore.h.
|
virtual |
Print internal tool parameters and status
Implements InDet::ITRT_SeededSpacePointFinder.
Definition at line 482 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
virtual |
Implements InDet::ITRT_SeededSpacePointFinder.
Definition at line 487 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
protected |
|
protected |
Definition at line 436 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 85 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 90 of file AthCommonDataStore.h.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
protected |
Fill the space point container lists at beginning of each event.
Definition at line 523 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
virtual |
Implements InDet::ITRT_SeededSpacePointFinder.
Definition at line 92 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
virtual |
Main method of seed production
List of produced space point seeds
Get the phi segment index to use
Implements InDet::ITRT_SeededSpacePointFinder.
Definition at line 306 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
protected |
Obtain geo model info for a specific space point
Definition at line 1022 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
virtual |
Implements InDet::ITRT_SeededSpacePointFinder.
Definition at line 61 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlinestaticinherited |
Definition at line 108 of file ITRT_SeededSpacePointFinder.h.
|
protected |
Get magnetic field properties
Definition at line 1044 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
virtual |
Method to initialize tool for new event
Implements InDet::ITRT_SeededSpacePointFinder.
Definition at line 103 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
virtual |
Implements InDet::ITRT_SeededSpacePointFinder.
Definition at line 212 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
inlinevirtual |
Iterator through seed collection.Not used in this implementation.
Inline methods
Method to iterate through seeds.Not implemented
Implements InDet::ITRT_SeededSpacePointFinder.
Definition at line 267 of file TRT_SeededSpacePointFinder_ATL.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
protected |
Form possible space point combinations within allowed radial and pseudorapidity ranges.
Get the momentum information from the track parameters
Set up the azimuthal width to look for SPs
Fill a list with the SP in the azimuthal region indicated by the TRT track segment
Fill a list with the SP in the azimuthal region indicated by the TRT track segment
Definition at line 640 of file TRT_SeededSpacePointFinder_ATL.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
protected |
Definition at line 151 of file TRT_SeededSpacePointFinder_ATL.h.
|
staticconstexprprotected |
Min R-z direction cut
Definition at line 143 of file TRT_SeededSpacePointFinder_ATL.h.
|
staticconstexprprotected |
Min radius to search for SP pairs
Definition at line 142 of file TRT_SeededSpacePointFinder_ATL.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
protected |
Definition at line 206 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Protected data and methods
Definition at line 121 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Definition at line 124 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Definition at line 149 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Definition at line 202 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Seed selection criteria
Definition at line 134 of file TRT_SeededSpacePointFinder_ATL.h.
|
staticconstexprprotected |
Max radius of last SCT layer
Definition at line 140 of file TRT_SeededSpacePointFinder_ATL.h.
|
staticconstexprprotected |
Step size for space point storage
Definition at line 139 of file TRT_SeededSpacePointFinder_ATL.h.
|
staticconstexprprotected |
Min radius of last SCT layer
Definition at line 141 of file TRT_SeededSpacePointFinder_ATL.h.
|
staticconstexprprotected |
Minimum SCT radius to be searched
Definition at line 137 of file TRT_SeededSpacePointFinder_ATL.h.
|
staticconstexprprotected |
Definition at line 136 of file TRT_SeededSpacePointFinder_ATL.h.
|
staticconstexprprotected |
Maximum STC radius to be searched
Definition at line 138 of file TRT_SeededSpacePointFinder_ATL.h.
Magnetic field properties
ID SCT helper
Definition at line 128 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Definition at line 148 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Definition at line 201 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Space points containers
Definition at line 199 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Definition at line 200 of file TRT_SeededSpacePointFinder_ATL.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
protected |
Max R-z direction cut
Definition at line 145 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Definition at line 147 of file TRT_SeededSpacePointFinder_ATL.h.
|
protected |
Definition at line 146 of file TRT_SeededSpacePointFinder_ATL.h.