CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CocoaDaqRootEvent Class Reference

#include <CocoaDaqRootEvent.h>

Inheritance diagram for CocoaDaqRootEvent:

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)
 
 ~CocoaDaqRootEvent () override
 

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 169 of file CocoaDaqRootEvent.h.

Constructor & Destructor Documentation

◆ CocoaDaqRootEvent()

CocoaDaqRootEvent::CocoaDaqRootEvent ( )

Definition at line 24 of file CocoaDaqRootEvent.cc.

24  {
25  Header = new AliDaqEventHeader();
26  // define arrays of sensors
27  numPosCOPS = 0;
28  numPos2D = 0;
29  numTilt = 0;
30  numDist = 0;
31  numTemp = 0;
32  Array_PositionCOPS = new TClonesArray("AliDaqPositionCOPS", 50);
33  Array_Position2D = new TClonesArray("AliDaqPosition2D", 50);
34  Array_Tilt = new TClonesArray("AliDaqTilt", 50);
35  Array_Dist = new TClonesArray("AliDaqDistance", 50);
36  Array_Temp = new TClonesArray("AliDaqTemperature", 50);
37 }

References Array_Dist, Array_Position2D, Array_PositionCOPS, Array_Temp, Array_Tilt, numDist, numPos2D, numPosCOPS, numTemp, and numTilt.

◆ ~CocoaDaqRootEvent()

CocoaDaqRootEvent::~CocoaDaqRootEvent ( )
inlineoverride

Definition at line 198 of file CocoaDaqRootEvent.h.

198 {};

Member Function Documentation

◆ DumpIt()

void CocoaDaqRootEvent::DumpIt ( )

Definition at line 41 of file CocoaDaqRootEvent.cc.

41  {
42  // Dump to screen all Alignment info
43  Header->DumpIt();
44  for (int i = 0; i < numPosCOPS; i++) {
46  posCOPS->DumpIt(posCOPS->GetID());
47  }
48  for (int i = 0; i < numPos2D; i++) {
50  pos2D->DumpIt(pos2D->GetID());
51  }
52  for (int i = 0; i < numTilt; i++) {
53  AliDaqTilt* tilt = (AliDaqTilt*)Array_Tilt->At(i);
54  tilt->DumpIt(tilt->GetID());
55  }
56  for (int i = 0; i < numDist; i++) {
58  dist->DumpIt(dist->GetID());
59  }
60  for (int i = 0; i < numTemp; i++) {
62  temp->DumpIt(temp->GetID());
63  }
64 }

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

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ GetArray_Dist()

TClonesArray* CocoaDaqRootEvent::GetArray_Dist ( ) const
inline

Definition at line 188 of file CocoaDaqRootEvent.h.

188 { return Array_Dist; }

References Array_Dist.

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ GetArray_Position2D()

TClonesArray* CocoaDaqRootEvent::GetArray_Position2D ( ) const
inline

Definition at line 185 of file CocoaDaqRootEvent.h.

185 { return Array_Position2D; }

References Array_Position2D.

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ GetArray_PositionCOPS()

TClonesArray* CocoaDaqRootEvent::GetArray_PositionCOPS ( ) const
inline

Definition at line 186 of file CocoaDaqRootEvent.h.

186 { return Array_PositionCOPS; }

References Array_PositionCOPS.

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ GetArray_Temp()

TClonesArray* CocoaDaqRootEvent::GetArray_Temp ( ) const
inline

Definition at line 189 of file CocoaDaqRootEvent.h.

189 { return Array_Temp; }

References Array_Temp.

◆ GetArray_Tilt()

TClonesArray* CocoaDaqRootEvent::GetArray_Tilt ( ) const
inline

Definition at line 187 of file CocoaDaqRootEvent.h.

187 { return Array_Tilt; }

References Array_Tilt.

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ GetHeader()

AliDaqEventHeader* CocoaDaqRootEvent::GetHeader ( ) const
inline

Definition at line 184 of file CocoaDaqRootEvent.h.

184 { return Header; }

References Header.

◆ GetNumDist()

int CocoaDaqRootEvent::GetNumDist ( ) const
inline

Definition at line 193 of file CocoaDaqRootEvent.h.

193 { return numDist; }

References numDist.

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ GetNumPos2D()

int CocoaDaqRootEvent::GetNumPos2D ( ) const
inline

Definition at line 190 of file CocoaDaqRootEvent.h.

190 { return numPos2D; }

References numPos2D.

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ GetNumPosCOPS()

int CocoaDaqRootEvent::GetNumPosCOPS ( ) const
inline

Definition at line 191 of file CocoaDaqRootEvent.h.

191 { return numPosCOPS; }

References numPosCOPS.

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ GetNumTemp()

int CocoaDaqRootEvent::GetNumTemp ( ) const
inline

Definition at line 194 of file CocoaDaqRootEvent.h.

194 { return numTemp; }

References numTemp.

◆ GetNumTilt()

int CocoaDaqRootEvent::GetNumTilt ( ) const
inline

Definition at line 192 of file CocoaDaqRootEvent.h.

192 { return numTilt; }

References numTilt.

Referenced by CocoaDaqReaderRoot::ReadEvent().

◆ SetHeader()

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

Definition at line 199 of file CocoaDaqRootEvent.h.

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

References writedatasetfile::run.

Member Data Documentation

◆ Array_Dist

TClonesArray* CocoaDaqRootEvent::Array_Dist
private

Definition at line 175 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetArray_Dist().

◆ Array_Position2D

TClonesArray* CocoaDaqRootEvent::Array_Position2D
private

Definition at line 173 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetArray_Position2D().

◆ Array_PositionCOPS

TClonesArray* CocoaDaqRootEvent::Array_PositionCOPS
private

Definition at line 172 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetArray_PositionCOPS().

◆ Array_Temp

TClonesArray* CocoaDaqRootEvent::Array_Temp
private

Definition at line 176 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetArray_Temp().

◆ Array_Tilt

TClonesArray* CocoaDaqRootEvent::Array_Tilt
private

Definition at line 174 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetArray_Tilt().

◆ Header

AliDaqEventHeader* CocoaDaqRootEvent::Header
private

Definition at line 171 of file CocoaDaqRootEvent.h.

Referenced by GetHeader().

◆ numDist

int CocoaDaqRootEvent::numDist
private

Definition at line 180 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetNumDist().

◆ numPos2D

int CocoaDaqRootEvent::numPos2D
private

Definition at line 178 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetNumPos2D().

◆ numPosCOPS

int CocoaDaqRootEvent::numPosCOPS
private

Definition at line 177 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetNumPosCOPS().

◆ numTemp

int CocoaDaqRootEvent::numTemp
private

Definition at line 181 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetNumTemp().

◆ numTilt

int CocoaDaqRootEvent::numTilt
private

Definition at line 179 of file CocoaDaqRootEvent.h.

Referenced by CocoaDaqRootEvent(), DumpIt(), and GetNumTilt().

AliDaqPosition2D::GetID
TString GetID()
Definition: CocoaDaqRootEvent.h:56
mps_fire.i
i
Definition: mps_fire.py:355
AliDaqTemperature
Definition: CocoaDaqRootEvent.h:149
Header
Definition: MsgHeader.h:6
AliDaqTilt::DumpIt
void DumpIt(const TString &Name)
Definition: CocoaDaqRootEvent.cc:115
AliDaqDistance::GetID
TString GetID()
Definition: CocoaDaqRootEvent.h:140
AliDaqTilt
Definition: CocoaDaqRootEvent.h:108
AliDaqEventHeader
Definition: CocoaDaqRootEvent.h:17
CocoaDaqRootEvent::Array_Temp
TClonesArray * Array_Temp
Definition: CocoaDaqRootEvent.h:176
CocoaDaqRootEvent::numPosCOPS
int numPosCOPS
Definition: CocoaDaqRootEvent.h:177
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
AliDaqPositionCOPS
Definition: CocoaDaqRootEvent.h:65
CocoaDaqRootEvent::Header
AliDaqEventHeader * Header
Definition: CocoaDaqRootEvent.h:171
AliDaqDistance
Definition: CocoaDaqRootEvent.h:128
CocoaDaqRootEvent::numTemp
int numTemp
Definition: CocoaDaqRootEvent.h:181
CocoaDaqRootEvent::Array_Tilt
TClonesArray * Array_Tilt
Definition: CocoaDaqRootEvent.h:174
CocoaDaqRootEvent::Array_Position2D
TClonesArray * Array_Position2D
Definition: CocoaDaqRootEvent.h:173
AliDaqPosition2D
Definition: CocoaDaqRootEvent.h:40
AliDaqPosition2D::DumpIt
void DumpIt(const TString &Name)
Definition: CocoaDaqRootEvent.cc:79
AliDaqTilt::GetID
TString GetID()
Definition: CocoaDaqRootEvent.h:120
AliDaqDistance::DumpIt
void DumpIt(const TString &Name)
Definition: CocoaDaqRootEvent.cc:129
CocoaDaqRootEvent::Array_PositionCOPS
TClonesArray * Array_PositionCOPS
Definition: CocoaDaqRootEvent.h:172
CocoaDaqRootEvent::numTilt
int numTilt
Definition: CocoaDaqRootEvent.h:179
writedatasetfile.run
run
Definition: writedatasetfile.py:27
AliDaqPositionCOPS::GetID
TString GetID()
Definition: CocoaDaqRootEvent.h:99
CocoaDaqRootEvent::numPos2D
int numPos2D
Definition: CocoaDaqRootEvent.h:178
AliDaqPositionCOPS::DumpIt
void DumpIt(const TString &Name)
Definition: CocoaDaqRootEvent.cc:95
CocoaDaqRootEvent::numDist
int numDist
Definition: CocoaDaqRootEvent.h:180
CocoaDaqRootEvent::Array_Dist
TClonesArray * Array_Dist
Definition: CocoaDaqRootEvent.h:175