|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GaudiKernel/ServiceHandle.h"
14 const std::string&
name, ISvcLocator* loc):
20 return StatusCode::SUCCESS;
24 return StatusCode::SUCCESS;
31 size_t indexPV_tmp = 0;
35 for (; vtx_itr != vtx_end; ++vtx_itr) {
37 if ((*vtx_itr)->nTrackParticles() >= 2) {
39 if ((*vtx_itr)->vertexType() == 1) {
44 std::unique_ptr<int> pv_index_ptr(
new int(indexPV_tmp));
45 CHECK(
evtStore()->record(std::move(pv_index_ptr),
"BTaggingVertexIndex"));
46 std::unique_ptr<int> npv_ptr(
new int(npv));
48 "BTaggingNumberOfPrimaryVertices"));
49 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual StatusCode initialize()
Const iterator class for DataVector/DataList.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode finalize()
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
BTagVertexAugmenter(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute()
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.