ARA ROOT v3.11 Software

RawAraGenericHeader Class Reference

Part of AraEvent library. The base class that stores the stationId and AraRoot version used to produce a Raw / Useful event. More...

#include <RawAraGenericHeader.h>

Inheritance diagram for RawAraGenericHeader:

AtriEventHkData AtriSensorHkData RawAraStationEvent RawAtriSimpleStationEvent RawAtriStationEvent RawIcrrStationEvent UsefulAtriStationEvent UsefulIcrrStationEvent List of all members.

Public Member Functions

 ClassDef (RawAraGenericHeader, 2)
UShort_t getFilterFlag ()
 returns the filterFlag. See class member documentation for details.
Int_t getFilterVersion ()
AraStationId_t getStationId ()
Int_t hasBitSetInFilterFlag (Int_t bit)
Int_t hasFilterFlag ()
 RawAraGenericHeader (UInt_t thisStationId)
 Assignment constructor using the stationID -- this is implemented for ICRR type stations.
 RawAraGenericHeader (AtriGenericHeader_t *gHdr)
 Assignment constructor.
 RawAraGenericHeader ()
 Default constructor.
 ~RawAraGenericHeader ()
 Destructor.

Public Attributes

UShort_t checksum
UInt_t numBytes
UShort_t reserved
 Now used as the filterFlag -- see getFilterFlag().
UChar_t softVerMajor
UChar_t softVerMinor
AraStationId_t stationId
UChar_t subVerId
AraDataStructureType_t typeId
UChar_t verId

Detailed Description

Part of AraEvent library. The base class that stores the stationId and AraRoot version used to produce a Raw / Useful event.

This class is a base class that contains header information common to all Raw and Useful event types.

Definition at line 26 of file RawAraGenericHeader.h.


Constructor & Destructor Documentation

RawAraGenericHeader::RawAraGenericHeader ( AtriGenericHeader_t gHdr  ) 

Assignment constructor.

Parameters:
gHdr  Assignment constructor

Definition at line 28 of file RawAraGenericHeader.cxx.

RawAraGenericHeader::RawAraGenericHeader ( UInt_t  thisStationId  ) 

Assignment constructor using the stationID -- this is implemented for ICRR type stations.

Parameters:
thisStationId  Assignment constructor for ICRR type

Definition at line 39 of file RawAraGenericHeader.cxx.


Member Function Documentation

Int_t RawAraGenericHeader::getFilterVersion (  ) 

filterFlag useses reserved as 16 bits to store filter information. From LSB to MSB

bit 0 - filter on?

bit 1-5 - filterVersion

bit 6-15 filter flags - one bit per filter

filterFlags

bit 0 - Random Filter

bit 1 - Min-Bias

bit 2 - Time Sequence Filter

bit 3 - Track Engine filter

bit 4 - 9 - Reserved for future filters

Definition at line 64 of file RawAraGenericHeader.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Jul 26 15:27:43 2013 for ARA ROOT v3.11 Software by doxygen 1.4.7