Project
Loading...
Searching...
No Matches
o2::trk::ClusterReader< DetID > Class Template Reference

#include <ClusterReaderSpec.h>

Inherits o2::framework::Task.

Public Member Functions

 ClusterReader (bool useMC)
 
void init (framework::InitContext &ic) final
 
void run (framework::ProcessingContext &pc) final
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void endOfStream (EndOfStreamContext &context)
 This is invoked whenever we have an EndOfStream event.
 
virtual void finaliseCCDB (ConcreteDataMatcher &matcher, void *obj)
 
virtual void stop ()
 This is invoked on stop.
 

Static Public Attributes

static constexpr int NLayers = DetID == o2::detectors::DetID::TRK ? static_cast<int>(o2::trk::AlmiraParam::kNLayers) : o2::trk::constants::MLOTDisks::nLayers
 

Detailed Description

template<int DetID>
class o2::trk::ClusterReader< DetID >

Definition at line 36 of file ClusterReaderSpec.h.

Constructor & Destructor Documentation

◆ ClusterReader()

template<int DetID>
o2::trk::ClusterReader< DetID >::ClusterReader ( bool  useMC)
explicit

Definition at line 55 of file ClusterReaderSpec.cxx.

Member Function Documentation

◆ init()

template<int DetID>
void o2::trk::ClusterReader< DetID >::init ( framework::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 61 of file ClusterReaderSpec.cxx.

◆ run()

template<int DetID>
void o2::trk::ClusterReader< DetID >::run ( framework::ProcessingContext &  context)
finalvirtual

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

Implements o2::framework::Task.

Definition at line 67 of file ClusterReaderSpec.cxx.

Member Data Documentation

◆ NLayers

template<int DetID>
constexpr int o2::trk::ClusterReader< DetID >::NLayers = DetID == o2::detectors::DetID::TRK ? static_cast<int>(o2::trk::AlmiraParam::kNLayers) : o2::trk::constants::MLOTDisks::nLayers
staticconstexpr

Definition at line 43 of file ClusterReaderSpec.h.


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