PPM-DU analysis  2.3
conversion and analysis of the PPM-DU data
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
eventHeader Class Reference

Fill a header when triggering the event. More...

#include <eventHeader.h>

Public Member Functions

 eventHeader ()
 
 eventHeader (const int runNumber, const std::vector< int > index, const std::vector< long long int > time)
 
 eventHeader (const eventHeader &curHeader)
 
const int GetRunNumber () const
 get the id of the run More...
 
void SetRunNumber (const int nb)
 set the id of the run More...
 
const std::vector< int > GetEventIndexes () const
 get the index list of the event More...
 
void SetIndex (const std::vector< int > index)
 set the index list of the event More...
 
const std::vector< long long int > GetEventTimes () const
 get the time stamp of each dom More...
 
void AddDomTime (const long long int time)
 add the time stamp of one dom to the time stamp list More...
 
void AddEventIndex (const int index)
 add the id of one dom to the id list More...
 

Detailed Description

Fill a header when triggering the event.

This class is meant to fill the header of an event from the existing dom list. The information contained in this class are:

Note
this allows to locate the event in time or numbering
Author
Alexandre Creusot
Version
1.4
Date
Tue Jun 17 2014

Contact: creus.nosp@m.ot@a.nosp@m.pc.un.nosp@m.iv-p.nosp@m.aris7.nosp@m..fr

Created on: Wed Feb 27 2013

Definition at line 31 of file eventHeader.h.

Constructor & Destructor Documentation

eventHeader::eventHeader ( )
inline

Definition at line 34 of file eventHeader.h.

eventHeader::eventHeader ( const int  runNumber,
const std::vector< int >  index,
const std::vector< long long int >  time 
)
inline

Definition at line 40 of file eventHeader.h.

eventHeader::eventHeader ( const eventHeader curHeader)
inline

Definition at line 47 of file eventHeader.h.

Member Function Documentation

void eventHeader::AddDomTime ( const long long int  time)
inline

add the time stamp of one dom to the time stamp list

Definition at line 64 of file eventHeader.h.

void eventHeader::AddEventIndex ( const int  index)
inline

add the id of one dom to the id list

Definition at line 66 of file eventHeader.h.

const std::vector<int> eventHeader::GetEventIndexes ( ) const
inline

get the index list of the event

Definition at line 58 of file eventHeader.h.

const std::vector<long long int> eventHeader::GetEventTimes ( ) const
inline

get the time stamp of each dom

Definition at line 62 of file eventHeader.h.

const int eventHeader::GetRunNumber ( ) const
inline

get the id of the run

Definition at line 54 of file eventHeader.h.

void eventHeader::SetIndex ( const std::vector< int >  index)
inline

set the index list of the event

Definition at line 60 of file eventHeader.h.

void eventHeader::SetRunNumber ( const int  nb)
inline

set the id of the run

Definition at line 56 of file eventHeader.h.


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