REROOT_MdlOrg Class Reference

#include <REROOT_MdlOrg.h>

List of all members.

Public Member Functions

 REROOT_MdlOrg (MDLORG_DEF *)
 REROOT_MdlOrg ()
 ~REROOT_MdlOrg ()
virtual void accept (REROOT_Visitor &v)
void clear ()
void printEvent (std::ostream &) const
Int_t ID () const
Int_t ISup () const
Int_t InMdl () const
const Char_t * PasvType () const
const Char_t * ActvType () const
const Char_t * ActvRotm () const

Private Member Functions

void init ()

Private Attributes

Int_t m_ID
Int_t m_ISup
Int_t m_InMdl
Char_t m_PasvType [5]
Char_t m_ActvType [5]
Char_t m_ActvRotm [5]

Detailed Description

Definition at line 16 of file REROOT_MdlOrg.h.


Constructor & Destructor Documentation

REROOT_MdlOrg::REROOT_MdlOrg ( MDLORG_DEF nr  ) 

Definition at line 59 of file REROOT_MdlOrg.cxx.

References init().

00060 {
00061   m_ID        = nr->ID - 1;                                   // C index
00062   m_ISup      = nr->ISup - 1;                                 // C index
00063   m_InMdl     = nr->InMdl -1;                                 // C index
00064 
00065 // Fill String objects for char vectors from MdlOrg struct.
00066   Int_t i;    // Keep this declaration here for scope outside for-loops.
00067   for (i=0; i<4; i++)  {
00068         if (nr->PasvType[i]=='\0' || nr->PasvType[i]==' ') break;
00069         m_PasvType[i] = nr->PasvType[i];
00070   }
00071   m_PasvType[i] = '\0';
00072   for (i=0; i<4; i++)  {
00073         if (nr->ActvType[i]=='\0' || nr->ActvType[i]==' ') break;
00074         m_ActvType[i] = nr->ActvType[i];
00075   }
00076   m_ActvType[i] = '\0';
00077   for (i=0; i<4; i++)  {
00078         if (nr->ActvRotm[i]=='\0' || nr->ActvRotm[i]==' ') break;
00079         m_ActvRotm[i] = nr->ActvRotm[i];
00080   }
00081   m_ActvRotm[i] = '\0';
00082 
00083   init();
00084 }

REROOT_MdlOrg::REROOT_MdlOrg (  ) 

Definition at line 86 of file REROOT_MdlOrg.cxx.

00087 {
00088 }

REROOT_MdlOrg::~REROOT_MdlOrg (  ) 

Definition at line 94 of file REROOT_MdlOrg.cxx.

00095 {
00096 }


Member Function Documentation

virtual void REROOT_MdlOrg::accept ( REROOT_Visitor v  )  [inline, virtual]

Definition at line 33 of file REROOT_MdlOrg.h.

References REROOT_Visitor::visit().

00033 { v.visit(this); }

const Char_t* REROOT_MdlOrg::ActvRotm (  )  const [inline]

Definition at line 44 of file REROOT_MdlOrg.h.

References m_ActvRotm.

00044 {return m_ActvRotm;  }    // ActvRotm[5]

const Char_t* REROOT_MdlOrg::ActvType (  )  const [inline]

Definition at line 43 of file REROOT_MdlOrg.h.

References m_ActvType.

00043 {return m_ActvType;  }    // ActvType[5]

void REROOT_MdlOrg::clear (  ) 

Definition at line 98 of file REROOT_MdlOrg.cxx.

00099 {
00100 }

Int_t REROOT_MdlOrg::ID (  )  const [inline]

Definition at line 39 of file REROOT_MdlOrg.h.

References m_ID.

00039 {return m_ID;  }                  // ID

void REROOT_MdlOrg::init ( void   )  [private]

Definition at line 90 of file REROOT_MdlOrg.cxx.

00091 {
00092 }

Int_t REROOT_MdlOrg::InMdl (  )  const [inline]

Definition at line 41 of file REROOT_MdlOrg.h.

References m_InMdl.

00041 {return m_InMdl;  }            // InMdl

Int_t REROOT_MdlOrg::ISup (  )  const [inline]

Definition at line 40 of file REROOT_MdlOrg.h.

References m_ISup.

00040 {return m_ISup;  }              // ISup

const Char_t* REROOT_MdlOrg::PasvType (  )  const [inline]

Definition at line 42 of file REROOT_MdlOrg.h.

References m_PasvType.

00042 {return m_PasvType;  }    // PasvType[5]

void REROOT_MdlOrg::printEvent ( std::ostream &  pstream  )  const

Definition at line 102 of file REROOT_MdlOrg.cxx.

00103 {
00104   pstream << "======================= MdlOrg =====================\n";
00105 }


Member Data Documentation

Char_t REROOT_MdlOrg::m_ActvRotm[5] [private]

Definition at line 24 of file REROOT_MdlOrg.h.

Referenced by ActvRotm().

Char_t REROOT_MdlOrg::m_ActvType[5] [private]

Definition at line 23 of file REROOT_MdlOrg.h.

Referenced by ActvType().

Int_t REROOT_MdlOrg::m_ID [private]

Definition at line 19 of file REROOT_MdlOrg.h.

Referenced by ID().

Int_t REROOT_MdlOrg::m_InMdl [private]

Definition at line 21 of file REROOT_MdlOrg.h.

Referenced by InMdl().

Int_t REROOT_MdlOrg::m_ISup [private]

Definition at line 20 of file REROOT_MdlOrg.h.

Referenced by ISup().

Char_t REROOT_MdlOrg::m_PasvType[5] [private]

Definition at line 22 of file REROOT_MdlOrg.h.

Referenced by PasvType().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1