ATLAS Offline Software
|
#include <BPhysVertexTrackBase.h>
Classes | |
class | BaseItem |
class | TrackTypeCounter |
Public Types | |
enum | track_type { ASSOCPV, PVTYPE0, PVTYPE1, PVTYPE2, PVTYPE3, NONE, NULLVP, CAPVRFN3U0, CAPVNRN3U0, CAPVRF3DU0, CAPVNR3DU0, CAPVRFN3U1, CAPVNRN3U1, CAPVRF3DU1, CAPVNR3DU1, CAPVRFN3U2, CAPVNRN3U2, CAPVRF3DU2, CAPVNR3DU2, CAPVRFNNU3, CAPVNRNNU3, CAPVRFNNU4, CAPVNRNNU4, CAPVRFNNU5, CAPVNRNNU5, CAPVRFNNU6, CAPVNRNNU6, CAPVRFNNU7, CAPVNRNNU7, CAPVRFNNU8, CAPVNRNNU8, CAPVRFNNU9, CAPVNRNNU9 } |
Public Member Functions | |
BPhysVertexTrackBase (const std::string &t, const std::string &n, const IInterface *p) | |
virtual StatusCode | initialize () override |
virtual StatusCode | finalize () override |
virtual StatusCode | addBranches () const override |
Pass the thinning service More... | |
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 std::string | tts (track_type type) |
static uint64_t | ttb (track_type type) |
static uint64_t | ttall () |
static uint64_t | ttallMin () |
static uint64_t | rttor (const std::vector< uint64_t > &vtypes) |
static std::string | wrapLines (const std::string &lines, const std::string &prefix) |
static std::string | trackToString (const xAOD::TrackParticle *track) |
static const InterfaceID & | interfaceID () |
AlgTool interface methods. More... | |
Static Public Attributes | |
static const int | n_track_types = 33 |
static const std::string | track_type_str [] |
static const uint64_t | track_type_bit [] |
Protected Types | |
typedef std::map< std::string, int > | StringIntMap_t |
Protected Member Functions | |
virtual StatusCode | initializeHook () |
virtual StatusCode | finalizeHook () |
virtual StatusCode | addBranchesHook () const |
virtual StatusCode | addBranchesVCSetupHook (size_t ivc) const |
virtual StatusCode | addBranchesSVLoopHook (const xAOD::Vertex *vtx) const |
virtual StatusCode | calcValuesHook (const xAOD::Vertex *vtx, const unsigned int ipv, const unsigned int its, const unsigned int itt) const |
virtual bool | fastFillHook (const xAOD::Vertex *vtx, const int ipv) const |
StatusCode | calculateValues (const xAOD::Vertex *vtx) const |
virtual std::string | buildPvAssocCacheName (const xAOD::Vertex *vtx, const int ipv) const |
virtual void | initPvAssocTypeVec () |
TrackBag | findAllTracksInDecay (xAOD::BPhysHelper &vtx) const |
void | findAllTracksInDecay (xAOD::BPhysHelper &vtx, TrackBag &tracks) const |
MuonBag | findAllMuonsInDecay (xAOD::BPhysHelper &vtx) const |
void | findAllMuonsInDecay (xAOD::BPhysHelper &vtx, MuonBag &muons) const |
TrackBag | findAllMuonIdTracksInDecay (xAOD::BPhysHelper &vtx, MuonBag &muons) const |
std::vector< TVector3 > | findMuonRefTrackMomenta (xAOD::BPhysHelper &vtx, MuonBag &muons) const |
TrackBag | selectTracks (const xAOD::TrackParticleContainer *inpTracks, xAOD::BPhysHelper &cand, const unsigned int ipv, const unsigned int its, const unsigned int itt) const |
TrackBag | selectTracks (const xAOD::TrackParticleContainer *inpTracks, const TrackBag &exclTracks, xAOD::BPhysHelper &cand, const unsigned int ipv, const unsigned int its, const unsigned int itt) const |
uint64_t | detTrackTypes (const xAOD::TrackParticle *track, const xAOD::Vertex *candPV, const xAOD::Vertex *candRefPV) const |
double | getTrackCandPVLogChi2 (const xAOD::TrackParticle *track, const xAOD::Vertex *vtx, bool doDCAin3D=false, int chi2DefToUse=0) const |
std::vector< double > | getTrackLogChi2DCA (const xAOD::TrackParticle *track, const xAOD::Vertex *vtx, bool doDCAin3D=false, int chi2DefToUse=0) const |
std::string | buildBranchBaseName (unsigned int its, unsigned int ipv, unsigned int itt, const std::string &preSuffix="") const |
std::pair< const xAOD::Vertex *, double > | findMinChi2PV (const xAOD::TrackParticle *track, const xAOD::Vertex *candPV, const xAOD::Vertex *candRefPV, const std::vector< uint64_t > &pvtypes, const int minNTracksInPV, const bool useRefittedPvs, const bool doDCAin3D, const int chi2DefToUse) const |
const xAOD::Vertex * | findAssocPV (const xAOD::TrackParticle *track, const xAOD::Vertex *candPV, const xAOD::Vertex *candRefPV, const std::vector< uint64_t > &pvtypes, const int minNTracksInPV, const bool useRefittedPvs) const |
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... | |
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 |
Static Private Attributes | |
static uint64_t | s_track_type_all_cached = 0x0 |
Definition at line 56 of file BPhysVertexTrackBase.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
protected |
Definition at line 288 of file BPhysVertexTrackBase.h.
Definition at line 114 of file BPhysVertexTrackBase.h.
DerivationFramework::BPhysVertexTrackBase::BPhysVertexTrackBase | ( | const std::string & | t, |
const std::string & | n, | ||
const IInterface * | p | ||
) |
Definition at line 367 of file BPhysVertexTrackBase.cxx.
|
overridevirtual |
Pass the thinning service
Implements DerivationFramework::IAugmentationTool.
Definition at line 477 of file BPhysVertexTrackBase.cxx.
|
protectedvirtual |
Definition at line 574 of file BPhysVertexTrackBase.cxx.
|
protectedvirtual |
Reimplemented in DerivationFramework::BMuonTrackIsoTool, DerivationFramework::BVertexClosestTrackTool, and DerivationFramework::BVertexTrackIsoTool.
Definition at line 595 of file BPhysVertexTrackBase.cxx.
|
protectedvirtual |
Reimplemented in DerivationFramework::BMuonTrackIsoTool, DerivationFramework::BVertexClosestTrackTool, and DerivationFramework::BVertexTrackIsoTool.
Definition at line 582 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1311 of file BPhysVertexTrackBase.cxx.
|
protectedvirtual |
Definition at line 672 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 638 of file BPhysVertexTrackBase.cxx.
|
protectedvirtual |
Reimplemented in DerivationFramework::BMuonTrackIsoTool, DerivationFramework::BVertexClosestTrackTool, and DerivationFramework::BVertexTrackIsoTool.
Definition at line 607 of file BPhysVertexTrackBase.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.
|
protected |
Definition at line 1001 of file BPhysVertexTrackBase.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
|
protectedvirtual |
Reimplemented in DerivationFramework::BMuonTrackIsoTool, DerivationFramework::BVertexClosestTrackTool, and DerivationFramework::BVertexTrackIsoTool.
Definition at line 622 of file BPhysVertexTrackBase.cxx.
|
overridevirtual |
Definition at line 464 of file BPhysVertexTrackBase.cxx.
|
protectedvirtual |
Reimplemented in DerivationFramework::BMuonTrackIsoTool, DerivationFramework::BVertexClosestTrackTool, and DerivationFramework::BVertexTrackIsoTool.
Definition at line 567 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1131 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1093 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1107 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1057 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1071 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1411 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1359 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1152 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 684 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 722 of file BPhysVertexTrackBase.cxx.
|
overridevirtual |
Definition at line 402 of file BPhysVertexTrackBase.cxx.
|
protectedvirtual |
Reimplemented in DerivationFramework::BMuonTrackIsoTool, DerivationFramework::BVertexClosestTrackTool, and DerivationFramework::BVertexTrackIsoTool.
Definition at line 560 of file BPhysVertexTrackBase.cxx.
|
protectedvirtual |
Definition at line 1340 of file BPhysVertexTrackBase.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 |
AlgTool interface methods.
Definition at line 31 of file IAugmentationTool.h.
|
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.
|
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.
|
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.
|
static |
|
protected |
Definition at line 1241 of file BPhysVertexTrackBase.cxx.
|
protected |
Definition at line 1225 of file BPhysVertexTrackBase.cxx.
|
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.
|
static |
Definition at line 338 of file BPhysVertexTrackBase.cxx.
|
static |
Definition at line 318 of file BPhysVertexTrackBase.cxx.
|
static |
Definition at line 313 of file BPhysVertexTrackBase.cxx.
|
static |
Definition at line 309 of file BPhysVertexTrackBase.cxx.
|
static |
Definition at line 305 of file BPhysVertexTrackBase.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
protected |
Definition at line 246 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 245 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 247 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 265 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 302 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 264 of file BPhysVertexTrackBase.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
protected |
Definition at line 259 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 285 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 299 of file BPhysVertexTrackBase.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
protected |
Definition at line 261 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 262 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 295 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 282 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 289 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 280 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 256 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 273 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 263 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 277 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 276 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 257 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 298 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 275 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 274 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 249 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 271 of file BPhysVertexTrackBase.h.
|
mutableprotected |
Definition at line 272 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 250 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 252 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 292 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 254 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 268 of file BPhysVertexTrackBase.h.
|
protected |
Definition at line 260 of file BPhysVertexTrackBase.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
protected |
Definition at line 248 of file BPhysVertexTrackBase.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
static |
Definition at line 123 of file BPhysVertexTrackBase.h.
|
staticprivate |
Definition at line 127 of file BPhysVertexTrackBase.h.
|
static |
Definition at line 125 of file BPhysVertexTrackBase.h.
|
static |
Definition at line 124 of file BPhysVertexTrackBase.h.