List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
fevt::EyeHeader Class Reference

Header of Eye-level event. More...

#include "fevt/EyeHeader.h"

Public Types

enum  EventClass {
  eUnClassified = 0, eNoPhysicsEvent, eLargeEvent, eUnhandledSignature,
  eEmpty, eIsMuon, eLongMuon, eCloseShower,
  eNoise, eMuonAndNoise, eVetoedEvent, eShowerCandidate,
  eHorizontalShower, eIsShower, eRejected = 98, eInvalidClass
}
 
enum  EventType {
  eUnknown = 0, ePhysics, eCalibration, eSimulated,
  eLaserOffset, eFlasherOffset, eCalibrationOffset, eInvalidType
}
 

Public Member Functions

EventClass GetEventClass () const
 Event Class (see FD-DAS EyeEventHeader.hh) More...
 
unsigned int GetEventNumber () const
 Event number. More...
 
EventType GetEventType () const
 Event Type (see FD-DAS EyeEventHeader.hh) More...
 
unsigned int GetRunNumber () const
 Eye level run number. More...
 
utl::TimeStamp GetTimeStamp () const
 Time of the Eye Event as tagged by FD-DAS (== eye trigger time plus pixel trace length) More...
 
bool HasBadTimeCorrection () const
 bad online MHz time correction available? More...
 
bool IsOfflineTimeCorrected () const
 MHz time correction done offline? More...
 
void SetBadTimeCorrection (const bool isBad)
 
void SetEventClass (const EventClass ec)
 
void SetEventNumber (const unsigned int evno)
 
void SetEventType (const EventType et)
 
void SetOfflineTimeCorrected (const bool isSet)
 
void SetRunNumber (const unsigned int runno)
 
void SetTimeStamp (const utl::TimeStamp ts)
 

Private Member Functions

 EyeHeader ()
 
 ~EyeHeader ()
 

Private Attributes

EventClass fEventClass
 
unsigned int fEventNo
 
EventType fEventType
 
bool fHasBadTimeCorrection
 
bool fIsOfflineTimeCorrected
 
unsigned int fRunNo
 
utl::TimeStamp fTimeStamp
 

Friends

class fevt::Eye
 
class utl::ShadowPtr< EyeHeader >
 

Detailed Description

Header of Eye-level event.

Author
Stefano Argirņ
Date
23 Nov 2003

Definition at line 32 of file EyeHeader.h.

Member Enumeration Documentation

Event classes which are used as attributed for analysed events.

If an event contains for example muon pattern and shower data pattern it will be finally classified as a shower as the muon data should be removed from the event.

Enumerator
eUnClassified 

No classification of the event was done so far.

eNoPhysicsEvent 

Event is a calibration or simulation event.

eLargeEvent 

Event has too many pixels to be something reasonable.

eUnhandledSignature 

Event could be everything but the algorithmus is not able to deal with the found signature ...

eEmpty 
eIsMuon 

Event has muon signature. It contains only 4 pixels with the same T1.

eLongMuon 

Event has muon signature. It contains >= 4 pixels. The pixels FADC data are analized to perform this classification.

eCloseShower 

Event has close shower signature, i.e. shower close to the telescope with duration smaller than 1 micros. It contains >= 4 pixels. The pixels FADC data are analized to perform this classification. T3 is not sent to CDAS.

eNoise 

Event has noise signature.

eMuonAndNoise 

Event has muon and noise signature.

eVetoedEvent 

This event is excluded because of a certain time signature. This could be for example be ralated to a laser shot.

eShowerCandidate 

Event has shower candidate signature, with duration greater than 1 microsec.

eHorizontalShower 

Event has horizontal shower candidate signature. No extrapolation to ground can be performed.

eIsShower 

Event has shower signature, with duration greater than 1 microsec. T3 sent to CDAS.

eRejected 

Event is rejected (by TLT) but kept in the data stream for trigger performance/efficiency studies.

eInvalidClass 

Last, but invalid event class.

Definition at line 67 of file EyeHeader.h.

Enumeration type for the various event types. The event type is determined by the trigger type which gives that event.

Enumerator
eUnknown 

Event type is not known or not set.

ePhysics 

A physics event, the real purpose of the DAQ.

eCalibration 

Any type of artificial (calibration) event.

eSimulated 

A simulated event, usually generated by the DAQ simulation (no physics).

eLaserOffset 

Event happened in the time window (offset) assigned to the laser shooting.

eFlasherOffset 

Event happened in the time window (offset) assigned to the flasher shooting.

eCalibrationOffset 

Event happened in the time window (offset) assigned to any calibration light sources activity.

eInvalidType 

Last, but invalid event type.

Definition at line 38 of file EyeHeader.h.

Constructor & Destructor Documentation

fevt::EyeHeader::EyeHeader ( )
inlineprivate

Definition at line 148 of file EyeHeader.h.

fevt::EyeHeader::~EyeHeader ( )
inlineprivate

Definition at line 151 of file EyeHeader.h.

Member Function Documentation

EventClass fevt::EyeHeader::GetEventClass ( ) const
inline

Event Class (see FD-DAS EyeEventHeader.hh)

Definition at line 130 of file EyeHeader.h.

References fEventClass.

unsigned int fevt::EyeHeader::GetEventNumber ( ) const
inline

Event number.

Definition at line 124 of file EyeHeader.h.

References fEventNo.

Referenced by FIOValidationObj::Fill(), and otoa::FD2ADST::FillEyeHeader().

EventType fevt::EyeHeader::GetEventType ( ) const
inline

Event Type (see FD-DAS EyeEventHeader.hh)

Definition at line 127 of file EyeHeader.h.

References fEventType.

unsigned int fevt::EyeHeader::GetRunNumber ( ) const
inline

Eye level run number.

Definition at line 121 of file EyeHeader.h.

References fRunNo.

Referenced by otoa::FD2ADST::FillEyeHeader().

utl::TimeStamp fevt::EyeHeader::GetTimeStamp ( ) const
inline

Time of the Eye Event as tagged by FD-DAS (== eye trigger time plus pixel trace length)

Definition at line 118 of file EyeHeader.h.

References fTimeStamp.

Referenced by FdProfileConstrainedGeometryFit::PCGFitter::AdjustGeometry(), FdProfileConstrainedGeometryFitPG::PCGFitter::AdjustGeometry(), FdProfileConstrainedGeometryFitPG::ApertureLight::CalculateShowerGeometryData(), FdProfileConstrainedGeometryFit::ApertureLight::CalculateShowerGeometryData(), FdApertureLightFinderKG::FdApertureLightFinder::CalculateShowerGeometryData(), FdEnergyDepositFinderKG::CFMatrixCalculator::CalculateTelescopeData(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateTelescopeEfficiency(), otoa::FD2ADST::FillCloudCameraDataBrief(), otoa::FD2ADST::FillCloudsBetweenEyeAndShower(), otoa::FD2ADST::FillEyeHeader(), otoa::FD2ADST::FillEyeSim(), otoa::FD2ADST::FillFdRecStations(), otoa::FD2ADST::FillSDEye(), otoa::FD2ADST::FillTelSimData(), StereoGeometryFinderOG::StereoGeometryFinder::FindAxisStereo(), StereoGeometryFinderOG::StereoGeometryFinder::FindAxisStereoHybrid(), FindTimeOffset::FindTimeOffset::FindOffset(), FdProfileConstrainedGeometryFitPG::FdProfileConstrainedGeometryFit::GetDataFromPreviousFit(), HybridGeometryFinderWG::HybridGeometryFinder::GetDataFromPreviousFit(), FdLaserEnergyReconstructorKG::FdLaserEnergyReconstructor::GetGeometryData(), FdEyeMergerKG::FdEyeMerger::MergeEyes(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereo(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereoHybrid(), FdLightCollectionEfficiencyKG::SimMockEvent::PrepareEvent(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::PrepareEyeCopy(), StereoGeometryFinderOG::StereoGeometryFinder::Run(), and UseMcGeometryOG::UseMcGeometry::SetTimeFit().

bool fevt::EyeHeader::HasBadTimeCorrection ( ) const
inline

bad online MHz time correction available?

Definition at line 133 of file EyeHeader.h.

References fHasBadTimeCorrection.

Referenced by otoa::FD2ADST::FillEyeHeader().

bool fevt::EyeHeader::IsOfflineTimeCorrected ( ) const
inline

MHz time correction done offline?

Definition at line 135 of file EyeHeader.h.

References fIsOfflineTimeCorrected.

Referenced by otoa::FD2ADST::FillEyeHeader().

void fevt::EyeHeader::SetBadTimeCorrection ( const bool  isBad)
inline
void fevt::EyeHeader::SetEventClass ( const EventClass  ec)
inline
void fevt::EyeHeader::SetEventNumber ( const unsigned int  evno)
inline
void fevt::EyeHeader::SetEventType ( const EventType  et)
inline
void fevt::EyeHeader::SetOfflineTimeCorrected ( const bool  isSet)
inline
void fevt::EyeHeader::SetRunNumber ( const unsigned int  runno)
inline
void fevt::EyeHeader::SetTimeStamp ( const utl::TimeStamp  ts)
inline

Friends And Related Function Documentation

friend class fevt::Eye
friend

Definition at line 162 of file EyeHeader.h.

friend class utl::ShadowPtr< EyeHeader >
friend

Definition at line 163 of file EyeHeader.h.

Member Data Documentation

EventClass fevt::EyeHeader::fEventClass
private

Definition at line 156 of file EyeHeader.h.

Referenced by GetEventClass(), and SetEventClass().

unsigned int fevt::EyeHeader::fEventNo
private

Definition at line 153 of file EyeHeader.h.

Referenced by GetEventNumber(), and SetEventNumber().

EventType fevt::EyeHeader::fEventType
private

Definition at line 155 of file EyeHeader.h.

Referenced by GetEventType(), and SetEventType().

bool fevt::EyeHeader::fHasBadTimeCorrection
private

Definition at line 159 of file EyeHeader.h.

Referenced by HasBadTimeCorrection(), and SetBadTimeCorrection().

bool fevt::EyeHeader::fIsOfflineTimeCorrected
private

Definition at line 160 of file EyeHeader.h.

Referenced by IsOfflineTimeCorrected(), and SetOfflineTimeCorrected().

unsigned int fevt::EyeHeader::fRunNo
private

Definition at line 154 of file EyeHeader.h.

Referenced by GetRunNumber(), and SetRunNumber().

utl::TimeStamp fevt::EyeHeader::fTimeStamp
private

Definition at line 157 of file EyeHeader.h.

Referenced by GetTimeStamp(), and SetTimeStamp().


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

, generated on Tue Sep 26 2023.