AliRoot Core  edcc906 (edcc906)
AliMpSectorReader Class Reference

Class that takes care of reading the sector data. More...

#include <AliMpSectorReader.h>

Inheritance diagram for AliMpSectorReader:

Public Member Functions

 AliMpSectorReader (AliMq::Station12Type station, AliMp::PlaneType plane)
 
virtual ~AliMpSectorReader ()
 
AliMpSectorBuildSector (const AliMpDataStreams &dataStreams)
 

Private Member Functions

 AliMpSectorReader ()
 Not implemented. More...
 
 AliMpSectorReader (const AliMpSectorReader &right)
 Not implemented. More...
 
AliMpSectorReaderoperator= (const AliMpSectorReader &right)
 Not implemented. More...
 
void ReadSectorData (const AliMpDataStreams &dataStreams, istream &in)
 
void ReadZoneData (const AliMpDataStreams &dataStreams, istream &in)
 
void ReadSubZoneData (const AliMpDataStreams &dataStreams, istream &in, AliMpZone *zone)
 
void ReadRowSegmentsData (const AliMpDataStreams &dataStreams, istream &in, AliMpZone *zone, AliMpSubZone *subZone)
 
AliMpVMotifReadMotifData (const AliMpDataStreams &dataStreams, istream &in, AliMpZone *zone)
 
void ReadSectorSpecialData (const AliMpDataStreams &dataStreams, istream &in, AliMp::XDirection direction)
 
void ReadMotifsSpecialData (const AliMpDataStreams &dataStreams, istream &in)
 
void ReadRowSpecialData (const AliMpDataStreams &dataStreams, istream &in, AliMp::XDirection direction)
 
void ReadRowSegmentSpecialData (const AliMpDataStreams &dataStreams, istream &in, AliMpVRowSegmentSpecial *segment, AliMp::XDirection direction)
 

Static Private Member Functions

static const TString & GetSectorKeyword ()
 
static const TString & GetZoneKeyword ()
 
static const TString & GetSubZoneKeyword ()
 
static const TString & GetRowKeyword ()
 
static const TString & GetSectorSpecialKeyword ()
 
static const TString & GetMotifKeyword ()
 
static const TString & GetRowSpecialKeyword ()
 
static const TString & GetPadRowsKeyword ()
 
static const TString & GetPadRowSegmentKeyword ()
 

Private Attributes

AliMq::Station12Type fStationType
 station type More...
 
AliMp::PlaneType fPlaneType
 plane type More...
 
AliMpSectorfSector
 sector More...
 
AliMpMotifReaderfMotifReader
 motif reader More...
 

Detailed Description

Class that takes care of reading the sector data.

Author
David Guez, Ivana Hrivnacova; IPN Orsay

Definition at line 39 of file AliMpSectorReader.h.

Constructor & Destructor Documentation

AliMpSectorReader::AliMpSectorReader ( AliMq::Station12Type  station,
AliMp::PlaneType  plane 
)

Standard constructor

Definition at line 147 of file AliMpSectorReader.cxx.

AliMpSectorReader::~AliMpSectorReader ( )
virtual

Destructor

Definition at line 160 of file AliMpSectorReader.cxx.

AliMpSectorReader::AliMpSectorReader ( )
private

Not implemented.

AliMpSectorReader::AliMpSectorReader ( const AliMpSectorReader right)
private

Not implemented.

Member Function Documentation

AliMpSector * AliMpSectorReader::BuildSector ( const AliMpDataStreams dataStreams)

Read the mapping data from stream and create the basic objects:
zones, subzones, rows, row segments, motifs.

Definition at line 609 of file AliMpSectorReader.cxx.

Referenced by AliMpSegmentation::CreateMpSegmentation(), and AliMpDEVisu::DrawQuadrant().

const TString & AliMpSectorReader::GetMotifKeyword ( )
staticprivate

motif keyword

Definition at line 111 of file AliMpSectorReader.cxx.

Referenced by ReadMotifsSpecialData(), and ReadSectorSpecialData().

const TString & AliMpSectorReader::GetPadRowSegmentKeyword ( )
staticprivate

pad row segment keyword

Definition at line 135 of file AliMpSectorReader.cxx.

Referenced by ReadRowSegmentSpecialData().

const TString & AliMpSectorReader::GetPadRowsKeyword ( )
staticprivate

pad rows keyword

Definition at line 127 of file AliMpSectorReader.cxx.

Referenced by ReadRowSegmentSpecialData(), and ReadRowSpecialData().

const TString & AliMpSectorReader::GetRowKeyword ( )
staticprivate

row keyword

Definition at line 95 of file AliMpSectorReader.cxx.

Referenced by ReadRowSegmentsData(), and ReadSubZoneData().

const TString & AliMpSectorReader::GetRowSpecialKeyword ( )
staticprivate

row special keyword

Definition at line 119 of file AliMpSectorReader.cxx.

Referenced by ReadMotifsSpecialData(), and ReadRowSegmentSpecialData().

const TString & AliMpSectorReader::GetSectorKeyword ( )
staticprivate

sector keyword

Definition at line 71 of file AliMpSectorReader.cxx.

Referenced by ReadSectorData().

const TString & AliMpSectorReader::GetSectorSpecialKeyword ( )
staticprivate

sector special keyword

Definition at line 103 of file AliMpSectorReader.cxx.

Referenced by ReadSectorSpecialData().

const TString & AliMpSectorReader::GetSubZoneKeyword ( )
staticprivate

subzone keyword

Definition at line 87 of file AliMpSectorReader.cxx.

Referenced by ReadRowSegmentsData(), ReadSubZoneData(), and ReadZoneData().

const TString & AliMpSectorReader::GetZoneKeyword ( )
staticprivate

zone keyword

Definition at line 79 of file AliMpSectorReader.cxx.

Referenced by ReadRowSegmentsData(), ReadSectorData(), and ReadZoneData().

AliMpSectorReader& AliMpSectorReader::operator= ( const AliMpSectorReader right)
private

Not implemented.

AliMpVMotif * AliMpSectorReader::ReadMotifData ( const AliMpDataStreams dataStreams,
istream &  in,
AliMpZone zone 
)
private

Read the motif input data.

Definition at line 277 of file AliMpSectorReader.cxx.

Referenced by ReadMotifsSpecialData(), and ReadSubZoneData().

void AliMpSectorReader::ReadMotifsSpecialData ( const AliMpDataStreams dataStreams,
istream &  in 
)
private

Read the special (irregular) motifs input data.

Definition at line 411 of file AliMpSectorReader.cxx.

Referenced by ReadSectorSpecialData().

void AliMpSectorReader::ReadRowSegmentsData ( const AliMpDataStreams dataStreams,
istream &  in,
AliMpZone zone,
AliMpSubZone subZone 
)
private

Read row segments input data of a specified zone and subzone; creates row segment and add it to the specified subzone and a corresponding row in the rows vector.

Definition at line 318 of file AliMpSectorReader.cxx.

Referenced by ReadSubZoneData().

void AliMpSectorReader::ReadRowSegmentSpecialData ( const AliMpDataStreams dataStreams,
istream &  in,
AliMpVRowSegmentSpecial segment,
AliMp::XDirection  direction 
)
private

Read row segment input data with a special (irregular) motifs.

Definition at line 503 of file AliMpSectorReader.cxx.

Referenced by ReadRowSpecialData().

void AliMpSectorReader::ReadRowSpecialData ( const AliMpDataStreams dataStreams,
istream &  in,
AliMp::XDirection  direction 
)
private

Read row input data with a special (irregular) motifs.

Definition at line 440 of file AliMpSectorReader.cxx.

Referenced by ReadRowSegmentSpecialData(), and ReadSectorSpecialData().

void AliMpSectorReader::ReadSectorData ( const AliMpDataStreams dataStreams,
istream &  in 
)
private

Read sector input data; prepare zones and rows vectors to be filled in.

Definition at line 172 of file AliMpSectorReader.cxx.

Referenced by BuildSector().

void AliMpSectorReader::ReadSectorSpecialData ( const AliMpDataStreams dataStreams,
istream &  in,
AliMp::XDirection  direction 
)
private

Read sector input data with a special (irregular) motifs.

Definition at line 379 of file AliMpSectorReader.cxx.

Referenced by BuildSector().

void AliMpSectorReader::ReadSubZoneData ( const AliMpDataStreams dataStreams,
istream &  in,
AliMpZone zone 
)
private

Read subzone input data; create subzone and its to the specified zone.

Definition at line 253 of file AliMpSectorReader.cxx.

Referenced by ReadRowSegmentsData(), and ReadZoneData().

void AliMpSectorReader::ReadZoneData ( const AliMpDataStreams dataStreams,
istream &  in 
)
private

Read zone input data; create zone and adds it to zones vector.

Definition at line 223 of file AliMpSectorReader.cxx.

Referenced by ReadRowSegmentsData(), and ReadSectorData().

Member Data Documentation

AliMpMotifReader* AliMpSectorReader::fMotifReader
private

motif reader

Definition at line 95 of file AliMpSectorReader.h.

Referenced by ReadMotifData(), and ~AliMpSectorReader().

AliMp::PlaneType AliMpSectorReader::fPlaneType
private

plane type

Definition at line 93 of file AliMpSectorReader.h.

Referenced by BuildSector(), ReadRowSegmentsData(), and ReadRowSegmentSpecialData().

AliMq::Station12Type AliMpSectorReader::fStationType
private

station type

Definition at line 92 of file AliMpSectorReader.h.

Referenced by BuildSector().


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