Project
Loading...
Searching...
No Matches
o2::aodproducer::AODProducerWorkflowDPL Class Reference

#include <AODProducerWorkflowSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 AODProducerWorkflowDPL (GID::mask_t src, std::shared_ptr< DataRequest > dataRequest, std::shared_ptr< o2::base::GRPGeomRequest > gr, bool enableSV, bool useMC=true, bool enableFITextra=false, bool enableTRDextra=false)
 
 ~AODProducerWorkflowDPL () override=default
 
void init (InitContext &ic) final
 
void run (ProcessingContext &pc) final
 
void finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) final
 
void endOfStream (framework::EndOfStreamContext &ec) final
 This is invoked whenever we have an EndOfStream event.
 
template<typename TracksCursorType , typename TracksCovCursorType , typename TracksExtraCursorType , typename TracksQACursorType , typename TRDsExtraCursor , typename AmbigTracksCursorType , typename MFTTracksCursorType , typename MFTTracksCovCursorType , typename AmbigMFTTracksCursorType , typename FwdTracksCursorType , typename FwdTracksCovCursorType , typename AmbigFwdTracksCursorType , typename FwdTrkClsCursorType >
void fillTrackTablesPerCollision (int collisionID, std::uint64_t collisionBC, const o2::dataformats::VtxTrackRef &trackRef, const gsl::span< const GIndex > &GIndices, const o2::globaltracking::RecoContainer &data, TracksCursorType &tracksCursor, TracksCovCursorType &tracksCovCursor, TracksExtraCursorType &tracksExtraCursor, TracksQACursorType &tracksQACursor, TRDsExtraCursor &trdsExtraCursor, AmbigTracksCursorType &ambigTracksCursor, MFTTracksCursorType &mftTracksCursor, MFTTracksCovCursorType &mftTracksCovCursor, AmbigMFTTracksCursorType &ambigMFTTracksCursor, FwdTracksCursorType &fwdTracksCursor, FwdTracksCovCursorType &fwdTracksCovCursor, AmbigFwdTracksCursorType &ambigFwdTracksCursor, FwdTrkClsCursorType &fwdTrkClsCursor, const std::map< uint64_t, int > &bcsMap)
 
template<typename FwdTracksCursorType , typename FwdTracksCovCursorType , typename AmbigFwdTracksCursorType , typename mftTracksCovCursorType >
void addToFwdTracksTable (FwdTracksCursorType &fwdTracksCursor, FwdTracksCovCursorType &fwdTracksCovCursor, AmbigFwdTracksCursorType &ambigFwdTracksCursor, mftTracksCovCursorType &mftTracksCovCursor, GIndex trackID, const o2::globaltracking::RecoContainer &data, int collisionID, std::uint64_t collisionBC, const std::map< uint64_t, int > &bcsMap)
 
template<typename V0CursorType , typename CascadeCursorType , typename Decay3BodyCursorType >
void fillSecondaryVertices (const o2::globaltracking::RecoContainer &recoData, V0CursorType &v0Cursor, CascadeCursorType &cascadeCursor, Decay3BodyCursorType &decay3BodyCursor)
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void stop ()
 This is invoked on stop.
 

Detailed Description

Definition at line 219 of file AODProducerWorkflowSpec.h.

Constructor & Destructor Documentation

◆ AODProducerWorkflowDPL()

o2::aodproducer::AODProducerWorkflowDPL::AODProducerWorkflowDPL ( GID::mask_t  src,
std::shared_ptr< DataRequest dataRequest,
std::shared_ptr< o2::base::GRPGeomRequest gr,
bool  enableSV,
bool  useMC = true,
bool  enableFITextra = false,
bool  enableTRDextra = false 
)
inline

Definition at line 222 of file AODProducerWorkflowSpec.h.

◆ ~AODProducerWorkflowDPL()

o2::aodproducer::AODProducerWorkflowDPL::~AODProducerWorkflowDPL ( )
overridedefault

Member Function Documentation

◆ addToFwdTracksTable()

template<typename FwdTracksCursorType , typename FwdTracksCovCursorType , typename AmbigFwdTracksCursorType , typename mftTracksCovCursorType >
void o2::aodproducer::AODProducerWorkflowDPL::addToFwdTracksTable ( FwdTracksCursorType &  fwdTracksCursor,
FwdTracksCovCursorType &  fwdTracksCovCursor,
AmbigFwdTracksCursorType &  ambigFwdTracksCursor,
mftTracksCovCursorType &  mftTracksCovCursor,
GIndex  trackID,
const o2::globaltracking::RecoContainer data,
int  collisionID,
std::uint64_t  collisionBC,
const std::map< uint64_t, int > &  bcsMap 
)

Definition at line 744 of file AODProducerWorkflowSpec.cxx.

◆ endOfStream()

void o2::aodproducer::AODProducerWorkflowDPL::endOfStream ( framework::EndOfStreamContext context)
finalvirtual

This is invoked whenever we have an EndOfStream event.

Reimplemented from o2::framework::Task.

Definition at line 3349 of file AODProducerWorkflowSpec.cxx.

◆ fillSecondaryVertices()

template<typename V0CursorType , typename CascadeCursorType , typename Decay3BodyCursorType >
void o2::aodproducer::AODProducerWorkflowDPL::fillSecondaryVertices ( const o2::globaltracking::RecoContainer recoData,
V0CursorType &  v0Cursor,
CascadeCursorType &  cascadeCursor,
Decay3BodyCursorType &  decay3BodyCursor 
)

Definition at line 1307 of file AODProducerWorkflowSpec.cxx.

◆ fillTrackTablesPerCollision()

template<typename TracksCursorType , typename TracksCovCursorType , typename TracksExtraCursorType , typename TracksQACursorType , typename TRDsExtraCursor , typename AmbigTracksCursorType , typename MFTTracksCursorType , typename MFTTracksCovCursorType , typename AmbigMFTTracksCursorType , typename FwdTracksCursorType , typename FwdTracksCovCursorType , typename AmbigFwdTracksCursorType , typename FwdTrkClsCursorType >
void o2::aodproducer::AODProducerWorkflowDPL::fillTrackTablesPerCollision ( int  collisionID,
std::uint64_t  collisionBC,
const o2::dataformats::VtxTrackRef trackRef,
const gsl::span< const GIndex > &  GIndices,
const o2::globaltracking::RecoContainer data,
TracksCursorType &  tracksCursor,
TracksCovCursorType &  tracksCovCursor,
TracksExtraCursorType &  tracksExtraCursor,
TracksQACursorType &  tracksQACursor,
TRDsExtraCursor &  trdsExtraCursor,
AmbigTracksCursorType &  ambigTracksCursor,
MFTTracksCursorType &  mftTracksCursor,
MFTTracksCovCursorType &  mftTracksCovCursor,
AmbigMFTTracksCursorType &  ambigMFTTracksCursor,
FwdTracksCursorType &  fwdTracksCursor,
FwdTracksCovCursorType &  fwdTracksCovCursor,
AmbigFwdTracksCursorType &  ambigFwdTracksCursor,
FwdTrkClsCursorType &  fwdTrkClsCursor,
const std::map< uint64_t, int > &  bcsMap 
)

Add strangeness tracks to the table

Definition at line 553 of file AODProducerWorkflowSpec.cxx.

◆ finaliseCCDB()

void o2::aodproducer::AODProducerWorkflowDPL::finaliseCCDB ( ConcreteDataMatcher matcher,
void obj 
)
finalvirtual

This is invoked whenever a new CCDB object associated to a given ConcreteDataMatcher is deserialised

Reimplemented from o2::framework::Task.

Definition at line 3153 of file AODProducerWorkflowSpec.cxx.

◆ init()

void o2::aodproducer::AODProducerWorkflowDPL::init ( InitContext context)
finalvirtual

The method which is called once to initialise the task. Derived classes can use this to save extra state.

Reimplemented from o2::framework::Task.

Definition at line 1812 of file AODProducerWorkflowSpec.cxx.

◆ run()

void o2::aodproducer::AODProducerWorkflowDPL::run ( ProcessingContext context)
finalvirtual

This is invoked whenever a new InputRecord is demeed to be complete.

Extra tables

Strangeness tracking requires its index LUTs to be filled before the tracks are filled

Implements o2::framework::Task.

Definition at line 1974 of file AODProducerWorkflowSpec.cxx.


The documentation for this class was generated from the following files: