Project
Loading...
Searching...
No Matches
CMVGeneratorDevice Class Reference

Inherits o2::framework::Task.

Public Member Functions

 CMVGeneratorDevice (const std::vector< uint32_t > &crus, const std::unordered_set< uint32_t > &delayCRUs, unsigned int maxTFs, bool delay, int delayTime, int delayEveryN, int delayTimeCRUs, int dropTFsRandom, const std::vector< int > &rangeTFsDrop, float tfLength, float amplitude, float noise, int seed, const std::string &inputFile, long long inputEntry)
 
void init (o2::framework::InitContext &ic) final
 
void run (o2::framework::ProcessingContext &ctx) final
 
void endOfStream (o2::framework::EndOfStreamContext &) final
 This is invoked whenever we have an EndOfStream event.
 
void stop () final
 This is invoked on stop.
 
- Public Member Functions inherited from o2::framework::Task
virtual ~Task ()
 
virtual void finaliseCCDB (ConcreteDataMatcher &matcher, void *obj)
 

Static Public Attributes

static constexpr uint32_t sOrbitsPerPacket = 8
 each CMV packet covers 8 heartbeat orbits
 

Detailed Description

Definition at line 90 of file test_cmv_generator.cxx.

Constructor & Destructor Documentation

◆ CMVGeneratorDevice()

CMVGeneratorDevice::CMVGeneratorDevice ( const std::vector< uint32_t > &  crus,
const std::unordered_set< uint32_t > &  delayCRUs,
unsigned int  maxTFs,
bool  delay,
int  delayTime,
int  delayEveryN,
int  delayTimeCRUs,
int  dropTFsRandom,
const std::vector< int > &  rangeTFsDrop,
float  tfLength,
float  amplitude,
float  noise,
int  seed,
const std::string &  inputFile,
long long  inputEntry 
)
inline

Definition at line 95 of file test_cmv_generator.cxx.

Member Function Documentation

◆ endOfStream()

void CMVGeneratorDevice::endOfStream ( o2::framework::EndOfStreamContext context)
inlinefinalvirtual

This is invoked whenever we have an EndOfStream event.

Reimplemented from o2::framework::Task.

Definition at line 307 of file test_cmv_generator.cxx.

◆ init()

void CMVGeneratorDevice::init ( o2::framework::InitContext context)
inlinefinalvirtual

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 112 of file test_cmv_generator.cxx.

◆ run()

void CMVGeneratorDevice::run ( o2::framework::ProcessingContext context)
inlinefinalvirtual

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

Implements o2::framework::Task.

Definition at line 183 of file test_cmv_generator.cxx.

◆ stop()

void CMVGeneratorDevice::stop ( )
inlinefinalvirtual

This is invoked on stop.

Reimplemented from o2::framework::Task.

Definition at line 308 of file test_cmv_generator.cxx.

Member Data Documentation

◆ sOrbitsPerPacket

constexpr uint32_t CMVGeneratorDevice::sOrbitsPerPacket = 8
staticconstexpr

each CMV packet covers 8 heartbeat orbits

Definition at line 93 of file test_cmv_generator.cxx.


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