CMS 3D CMS Logo

CocoaDaqRootEvent Class Reference

#include <Alignment/CocoaDaq/interface/CocoaDaqRootEvent.h>

List of all members.

Public Member Functions

 CocoaDaqRootEvent ()
void DumpIt ()
TClonesArray * GetArray_Dist () const
TClonesArray * GetArray_Position2D () const
TClonesArray * GetArray_PositionCOPS () const
TClonesArray * GetArray_Temp () const
TClonesArray * GetArray_Tilt () const
AliDaqEventHeaderGetHeader () const
int GetNumDist () const
int GetNumPos2D () const
int GetNumPosCOPS () const
int GetNumTemp () const
int GetNumTilt () const
void SetHeader (int run, int evt)
virtual ~CocoaDaqRootEvent ()

Private Attributes

TClonesArray * Array_Dist
TClonesArray * Array_Position2D
TClonesArray * Array_PositionCOPS
TClonesArray * Array_Temp
TClonesArray * Array_Tilt
AliDaqEventHeaderHeader
int numDist
int numPos2D
int numPosCOPS
int numTemp
int numTilt


Detailed Description

Definition at line 170 of file CocoaDaqRootEvent.h.


Constructor & Destructor Documentation

CocoaDaqRootEvent::CocoaDaqRootEvent (  ) 

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

Definition at line 200 of file CocoaDaqRootEvent.h.

00200 { };


Member Function Documentation

void CocoaDaqRootEvent::DumpIt (  ) 

Definition at line 42 of file CocoaDaqRootEvent.cc.

References Array_Dist, Array_Position2D, Array_PositionCOPS, Array_Temp, Array_Tilt, dist(), AliDaqTilt::GetID(), AliDaqDistance::GetID(), AliDaqPosition2D::GetID(), AliDaqPositionCOPS::GetID(), AliDaqTemperature::GetID(), i, numDist, numPos2D, numPosCOPS, numTemp, numTilt, and pyDBSRunClass::temp.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00043 {
00044   // Dump to screen all Alignment info
00045   Header->DumpIt();
00046   for(int i=0;i<numPosCOPS;i++){
00047     AliDaqPositionCOPS *posCOPS = (AliDaqPositionCOPS*) Array_PositionCOPS->At(i); 
00048     posCOPS -> DumpIt(posCOPS->GetID());
00049   }
00050   for(int i=0;i<numPos2D;i++){
00051     AliDaqPosition2D *pos2D = (AliDaqPosition2D*) Array_Position2D->At(i); 
00052     pos2D -> DumpIt(pos2D->GetID());
00053   }
00054   for(int i=0;i<numTilt;i++){
00055     AliDaqTilt *tilt = (AliDaqTilt*) Array_Tilt->At(i); 
00056     tilt -> DumpIt(tilt->GetID());
00057   }
00058   for(int i=0;i<numDist;i++){
00059     AliDaqDistance *dist = (AliDaqDistance*) Array_Dist->At(i); 
00060     dist -> DumpIt(dist->GetID());
00061   }
00062   for(int i=0;i<numTemp;i++){
00063     AliDaqTemperature *temp = (AliDaqTemperature*) Array_Temp->At(i); 
00064     temp -> DumpIt(temp->GetID());
00065   }
00066 }

TClonesArray* CocoaDaqRootEvent::GetArray_Dist (  )  const [inline]

Definition at line 190 of file CocoaDaqRootEvent.h.

References Array_Dist.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00190 { return Array_Dist;}

TClonesArray* CocoaDaqRootEvent::GetArray_Position2D (  )  const [inline]

Definition at line 187 of file CocoaDaqRootEvent.h.

References Array_Position2D.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00187 { return Array_Position2D;}

TClonesArray* CocoaDaqRootEvent::GetArray_PositionCOPS (  )  const [inline]

Definition at line 188 of file CocoaDaqRootEvent.h.

References Array_PositionCOPS.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00188 { return Array_PositionCOPS;}

TClonesArray* CocoaDaqRootEvent::GetArray_Temp (  )  const [inline]

Definition at line 191 of file CocoaDaqRootEvent.h.

References Array_Temp.

00191 { return Array_Temp;}

TClonesArray* CocoaDaqRootEvent::GetArray_Tilt (  )  const [inline]

Definition at line 189 of file CocoaDaqRootEvent.h.

References Array_Tilt.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00189 { return Array_Tilt;}

AliDaqEventHeader* CocoaDaqRootEvent::GetHeader (  )  const [inline]

Definition at line 186 of file CocoaDaqRootEvent.h.

00186 { return Header;}

int CocoaDaqRootEvent::GetNumDist (  )  const [inline]

Definition at line 195 of file CocoaDaqRootEvent.h.

References numDist.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00195 { return numDist;}

int CocoaDaqRootEvent::GetNumPos2D (  )  const [inline]

Definition at line 192 of file CocoaDaqRootEvent.h.

References numPos2D.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00192 { return numPos2D;}

int CocoaDaqRootEvent::GetNumPosCOPS (  )  const [inline]

Definition at line 193 of file CocoaDaqRootEvent.h.

References numPosCOPS.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00193 { return numPosCOPS;}

int CocoaDaqRootEvent::GetNumTemp (  )  const [inline]

Definition at line 196 of file CocoaDaqRootEvent.h.

References numTemp.

00196 { return numTemp;}

int CocoaDaqRootEvent::GetNumTilt (  )  const [inline]

Definition at line 194 of file CocoaDaqRootEvent.h.

References numTilt.

Referenced by CocoaDaqReaderRoot::ReadEvent().

00194 { return numTilt;}

void CocoaDaqRootEvent::SetHeader ( int  run,
int  evt 
) [inline]

Definition at line 201 of file CocoaDaqRootEvent.h.

00201 {Header->SetRunEvt(run,evt); }


Member Data Documentation

TClonesArray* CocoaDaqRootEvent::Array_Dist [private]

Definition at line 177 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetArray_Dist().

TClonesArray* CocoaDaqRootEvent::Array_Position2D [private]

Definition at line 175 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetArray_Position2D().

TClonesArray* CocoaDaqRootEvent::Array_PositionCOPS [private]

Definition at line 174 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetArray_PositionCOPS().

TClonesArray* CocoaDaqRootEvent::Array_Temp [private]

Definition at line 178 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetArray_Temp().

TClonesArray* CocoaDaqRootEvent::Array_Tilt [private]

Definition at line 176 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetArray_Tilt().

AliDaqEventHeader* CocoaDaqRootEvent::Header [private]

Definition at line 173 of file CocoaDaqRootEvent.h.

int CocoaDaqRootEvent::numDist [private]

Definition at line 182 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetNumDist().

int CocoaDaqRootEvent::numPos2D [private]

Definition at line 180 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetNumPos2D().

int CocoaDaqRootEvent::numPosCOPS [private]

Definition at line 179 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetNumPosCOPS().

int CocoaDaqRootEvent::numTemp [private]

Definition at line 183 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetNumTemp().

int CocoaDaqRootEvent::numTilt [private]

Definition at line 181 of file CocoaDaqRootEvent.h.

Referenced by DumpIt(), and GetNumTilt().


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