CMS 3D CMS Logo

TRawHeader Class Reference

#include <IORawData/Ecal2004TBInputService/interface/TRawHeader.h>

List of all members.

Public Member Functions

Int_t GetBurstNum () const
Int_t GetDate () const
Int_t GetEvtNum () const
Int_t GetFPPAMode () const
Int_t GetLightIntensityIndex () const
Int_t GetPhiTableIndex () const
Int_t GetPNMode () const
Int_t GetThetaTableIndex () const
Int_t GetTrigMask () const
Int_t GetXtal () const
void Init ()
virtual void Print (const char *opt=0) const
void Set (Int_t iv[])
 TRawHeader ()
virtual ~TRawHeader ()

Public Attributes

Int_t fBurstNum
Int_t fDate
Int_t fEvtNum
Int_t fFPPAMode
Int_t fInBeamXtal
Int_t fLightIntensityIndex
Int_t fPhiTableIndex
Int_t fPNMode
Int_t fThetaTableIndex
Int_t fTrigMask


Detailed Description

Definition at line 30 of file TRawHeader.h.


Constructor & Destructor Documentation

TRawHeader::TRawHeader (  ) 

virtual TRawHeader::~TRawHeader (  )  [inline, virtual]

Definition at line 48 of file TRawHeader.h.

00048 {}


Member Function Documentation

Int_t TRawHeader::GetBurstNum (  )  const [inline]

Definition at line 49 of file TRawHeader.h.

References fBurstNum.

00049 { return fBurstNum; }

Int_t TRawHeader::GetDate (  )  const [inline]

Definition at line 50 of file TRawHeader.h.

References fDate.

00050 { return fDate; }

Int_t TRawHeader::GetEvtNum (  )  const [inline]

Definition at line 51 of file TRawHeader.h.

References fEvtNum.

00051 { return fEvtNum; }

Int_t TRawHeader::GetFPPAMode (  )  const [inline]

Definition at line 52 of file TRawHeader.h.

References fFPPAMode.

00052 { return fFPPAMode; }

Int_t TRawHeader::GetLightIntensityIndex (  )  const [inline]

Definition at line 54 of file TRawHeader.h.

References fLightIntensityIndex.

00054 { return fLightIntensityIndex; }

Int_t TRawHeader::GetPhiTableIndex (  )  const [inline]

Definition at line 59 of file TRawHeader.h.

References fPhiTableIndex.

00059 { return fPhiTableIndex; }

Int_t TRawHeader::GetPNMode (  )  const [inline]

Definition at line 53 of file TRawHeader.h.

References fPNMode.

00053 { return fPNMode; }

Int_t TRawHeader::GetThetaTableIndex (  )  const [inline]

Definition at line 58 of file TRawHeader.h.

References fThetaTableIndex.

00058 { return fThetaTableIndex; }

Int_t TRawHeader::GetTrigMask (  )  const [inline]

Definition at line 55 of file TRawHeader.h.

References fTrigMask.

00055 { return fTrigMask; }

Int_t TRawHeader::GetXtal (  )  const [inline]

Definition at line 57 of file TRawHeader.h.

References fInBeamXtal.

00057 { return fInBeamXtal; }

void TRawHeader::Init ( void   ) 

Definition at line 18 of file TRawHeader.cc.

References fBurstNum, fDate, fEvtNum, fFPPAMode, fInBeamXtal, fLightIntensityIndex, fPhiTableIndex, fPNMode, fThetaTableIndex, and fTrigMask.

00018                       {
00019 //Everything to 0
00020   //fRunNum              = 0;
00021   fBurstNum            = 0;
00022   fEvtNum              = 0;
00023   //fRunType             = 0;
00024   fDate                = 0;
00025   fTrigMask            = 0;
00026   //fNMod                = 0;
00027   //fNChMod              = 0;
00028   //fFrameLength         = 0;
00029   fFPPAMode            = 0;
00030   fPNMode              = 0;
00031   //fROSEMode            = 0;
00032   fThetaTableIndex = 0;
00033   fPhiTableIndex = 0;
00034   fLightIntensityIndex = 0;
00035   fInBeamXtal          = 0;
00036 }

void TRawHeader::Print ( const char *  opt = 0  )  const [virtual]

Definition at line 37 of file TRawHeader.cc.

References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), fBurstNum, fDate, fEvtNum, fInBeamXtal, fLightIntensityIndex, and fTrigMask.

00037                                             {
00038   cout << endl;
00039 //Print this header
00040   cout << "fBurstNum     = ";
00041   cout.width(12);
00042   cout << fBurstNum;
00043   cout << "    fEvtNum       = ";
00044   cout.width(12);
00045   cout << fEvtNum << endl;
00046 //
00047   cout << "fDate         = ";
00048   cout.width(12);
00049   cout << fDate;
00050   cout << "    fTrigMask     = ";
00051   cout.width(12);
00052   cout << fTrigMask << endl;
00053 //
00054   cout << "fLightII      = ";
00055   cout.width(12);
00056   cout << fLightIntensityIndex;
00057   cout << "    fInBeamXtal   = ";
00058   cout.width(12);
00059   cout << fInBeamXtal << endl;
00060 }

void TRawHeader::Set ( Int_t  iv[]  ) 

Definition at line 62 of file TRawHeader.cc.

References fBurstNum, fDate, fEvtNum, fFPPAMode, fInBeamXtal, fLightIntensityIndex, fPhiTableIndex, fPNMode, fThetaTableIndex, and fTrigMask.

00062                                 { 
00063   fBurstNum            = iv[0];
00064   fEvtNum              = iv[1];
00065   fDate                = iv[2];
00066   fTrigMask            = iv[3];
00067   fFPPAMode            = iv[4];
00068   fLightIntensityIndex = iv[5];
00069   fInBeamXtal          = iv[6];
00070   fThetaTableIndex     = iv[7];
00071   fPhiTableIndex       = iv[8];
00072   fPNMode              = iv[9];
00073 }


Member Data Documentation

Int_t TRawHeader::fBurstNum

Definition at line 33 of file TRawHeader.h.

Referenced by GetBurstNum(), Init(), Print(), and Set().

Int_t TRawHeader::fDate

Definition at line 35 of file TRawHeader.h.

Referenced by GetDate(), Init(), Print(), and Set().

Int_t TRawHeader::fEvtNum

Definition at line 34 of file TRawHeader.h.

Referenced by GetEvtNum(), Init(), Print(), and Set().

Int_t TRawHeader::fFPPAMode

Definition at line 37 of file TRawHeader.h.

Referenced by GetFPPAMode(), Init(), and Set().

Int_t TRawHeader::fInBeamXtal

Definition at line 40 of file TRawHeader.h.

Referenced by GetXtal(), Init(), Print(), and Set().

Int_t TRawHeader::fLightIntensityIndex

Definition at line 39 of file TRawHeader.h.

Referenced by GetLightIntensityIndex(), Init(), Print(), and Set().

Int_t TRawHeader::fPhiTableIndex

Definition at line 42 of file TRawHeader.h.

Referenced by GetPhiTableIndex(), Init(), and Set().

Int_t TRawHeader::fPNMode

Definition at line 38 of file TRawHeader.h.

Referenced by GetPNMode(), Init(), and Set().

Int_t TRawHeader::fThetaTableIndex

Definition at line 41 of file TRawHeader.h.

Referenced by GetThetaTableIndex(), Init(), and Set().

Int_t TRawHeader::fTrigMask

Definition at line 36 of file TRawHeader.h.

Referenced by GetTrigMask(), Init(), Print(), and Set().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:34:30 2009 for CMSSW by  doxygen 1.5.4