Mimotera Namespace Reference

The namespace containing all Mimotera related things. More...


Classes

class  AnyOption
 Command line option parser. More...
class  MimoteraDecoder
 Helper class for data decoding. More...
class  MimoteraInfo
class  DataArrays_t
struct  CDataArrays_t
class  MimoteraEvent
class  MimoteraException
 Base class of the Mimotera++ exception. More...
class  FileException
 Base file exception. More...
class  FileNotFoundException
 File not found. More...
class  FileAlreadyExistingException
 Output file already exist. More...
class  UnknownWritingModeException
 Unknown writing mode. More...
class  NotRegularFileException
 Not regular file. More...
class  FileReadException
 Problem reading a file. More...
class  FileWriteException
 Problem writing a file. More...
class  WrongFileSizeException
 Wrong input file size. More...
class  EventNotReady
 Event not ready. More...
class  MarkerPixelException
 Marker pixel exception. More...
class  MimoteraReader
 The Mimotera Reader. More...
class  MimoteraWriter

Typedefs

typedef signed short Pixel_t
typedef unsigned short Coord_t
typedef struct
Mimotera::CDataArrays_t 
CDataArrays_t

Enumerations

enum  WritingMode_t { NEW = 0, RECREATE = 1, APPEND = 2 }

Functions

ostream & operator<< (ostream &os, const MimoteraInfo &info)
MimoteraEventMimoteraEvent_create_cpp ()
void MimoteraEvent_dispose_cpp (MimoteraEvent *event)
MimoteraInfoMimoteraEvent_getInfo_cpp (MimoteraEvent *event)
void MimoteraEvent_setInfo_cpp (MimoteraEvent *event, MimoteraInfo *info)
Pixel_tMimoteraEvent_getFrameA_cpp (MimoteraEvent *event)
Pixel_tMimoteraEvent_getFrameB_cpp (MimoteraEvent *event)
CDataArrays_tMimoteraEvent_getDataArrays_cpp (MimoteraEvent *event)
void MimoteraEvent_setDataArrays_cpp (MimoteraEvent *event, CDataArrays_t *dataArrays)
MimoteraReaderMimoteraReader_create_cpp (const char *filename)
void MimoteraReader_dispose_cpp (MimoteraReader *reader)
void MimoteraReader_open_cpp (MimoteraReader *reader, const char *filename)
int MimoteraReader_readNextEvent_cpp (MimoteraReader *reader)
MimoteraEventMimoteraReader_getEvent_cpp (MimoteraReader *reader)
MimoteraWriterMimoteraWriter_create_cpp (const char *filename, WritingMode_t mode)
void MimoteraWriter_dispose_cpp (MimoteraWriter *writer)
off_t MimoteraWriter_writeEvent_cpp (MimoteraWriter *writer, MimoteraEvent *event)
void MimoteraWriter_close_cpp (MimoteraWriter *writer)
std::ostream & operator<< (std::ostream &os, const MimoteraInfo &info)
MimoteraEventMimoteraEvent_create ()
void MimoteraEvent_dispose (MimoteraEvent *event)
MimoteraInfoMimoteraEvent_getInfo (MimoteraEvent *event)
void MimoteraEvent_setInfo (MimoteraEvent *event, MimoteraInfo *info)
Pixel_tMimoteraEvent_getFrameA (MimoteraEvent *event)
Pixel_tMimoteraEvent_getFrameB (MimoteraEvent *event)
CDataArrays_tMimoteraEvent_getDataArrays (MimoteraEvent *event)
void MimoteraEvent_setDataArrays (MimoteraEvent *event, CDataArrays_t *dataArrays)
template<typename T >
const T & InitException (const T &e, const std::string &file, int line=0, const std::string func="")
 Initialize an exception.
MimoteraReaderMimoteraReader_create (const char *filename)
void MimoteraReader_open (MimoteraReader *reader, const char *filename)
void MimoteraReader_dispose (MimoteraReader *reader)
int MimoteraReader_readNextEvent (MimoteraReader *reader)
MimoteraEventMimoteraReader_getEvent (MimoteraReader *reader)
template<typename T >
std::string to_string (const T &x, int digits=0)
 Converts any type to a string.
template<typename T >
std::string to_string (const std::vector< T > &x, int digits=0)
 Converts a vector to a string.
std::string to_string (const std::string &x, int=0)
 Template specialization in case T = string.
std::string to_string (const char *x, int=0)
 Template specialization in case T = const char *.
template<typename T >
getbigendian (const unsigned char *ptr)
 Convert to and from big endian.
template<typename T >
getlittleendian (const unsigned char *ptr)
 Convert to and from little endian.
MimoteraWriterMimoteraWriter_create (const char *filename, WritingMode_t mode)
void MimoteraWriter_dispose (MimoteraWriter *writer)
off_t MimoteraWriter_writeEvent (MimoteraWriter *writer, MimoteraEvent *event)
void MimoteraWriter_close (MimoteraWriter *writer)

Variables

const size_t kMimoteraInfoSize = 10
const size_t kXPixel = 120
const size_t kYPixel = 114
const size_t kMarkersPerRow = 2
const size_t kChan = 4
const size_t kChanWidth = kXPixel / kChan
const size_t kEventSize = 55296
const size_t kSubFrameSize = sizeof ( Pixel_t ) * kXPixel * kYPixel
const size_t kDataSize = sizeof ( Pixel_t ) * kXPixel * kYPixel * 2
const size_t kTrashSize = 566
const size_t kLookUp [kChan] = { 0, 2, 3, 1 }
std::string licenseString
 The Mimotera++ license.


Detailed Description

The namespace containing all Mimotera related things.

All the Mimotera related classes, functions, globals and typedefs are defined within this namespace to avoid name clashes and incompatibilities.

Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>


Typedef Documentation

C DataArrays structure In order to make the C / C++ interface easier, a new DataArrays structure made only arrays is created and added to the standard event.

typedef unsigned short Mimotera::Coord_t

Definition of the pixel coord type

Examples:
examples/createDummyData.cxx.

Definition at line 59 of file MimoteraEvent.hh.

typedef signed short Mimotera::Pixel_t

Definition of the pixel signal type

Examples:
examples/createDummyData.cxx.

Definition at line 55 of file MimoteraEvent.hh.


Enumeration Type Documentation

Writing mode enumerator Enumerator to be used for file writing mode

Enumerator:
NEW  Create a new file. If a file with the same name already exists, then the MimoteraWriter will throw an exception

Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>
RECREATE  Create or overwrite a new file
APPEND  Append to an existing file

Definition at line 41 of file MimoteraWriter.hh.


Function Documentation

template<typename T >
T Mimotera::getbigendian ( const unsigned char *  ptr  )  [inline]

Convert to and from big endian.

The Mimotera DAQ is saving the binary data following the so called Network Endianess (big endian), the de-facto standard in data transmission in between system possibly having different endianness.

Since a priori we don't know if your system is big or little endian, while reading and writing data from and to a file it is always needed to filter the data via this template function. If your system is big endian, then no conversion is needed and this function will simply return the input as it was, but if your system is little endian, then the byte order has to be exchanged.

The endianess of your system is guessed at compile time using preprocessor constants defined in the very low level C/C++ system / machine includes.

For C++ newbie this function prototype can appear quite complicated due to the need of explitic type casting. ptr is a pointer reinterpret as a const unsigned char (1 byte long word) to the value that has to be converted. The reason why it has to be recasted to an unsigned char * is because the function must have access to the single memory cells composing the full multi-byte word.

See also:
Mimotera::MimoteraEvent::setArrays() for an example on how to use it.
Todo:
Try to react to the case in which the program is running on a system with middle endianness. There are probably a few computer architecture (like PDP11) still with this uncommon byte order but since they are only rarely used nowadays, this feature has a very low priority in the todo list.
Template Parameters:
T The type to change to be converted
Parameters:
ptr The pointer to the variable to be converted.
Returns:
The converted value already recasted into T
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>

Definition at line 153 of file MimoteraUtils.hh.

template<typename T >
T Mimotera::getlittleendian ( const unsigned char *  ptr  )  [inline]

Convert to and from little endian.

Provided for the sake of completeness but of any use with the Mimotera++ API.

See also:
Mimotera::getbigendian()
Template Parameters:
T The type to change to be converted
Parameters:
ptr The pointer to the variable to be converted.
Returns:
The converted value already recasted into T
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>

Definition at line 182 of file MimoteraUtils.hh.

template<typename T >
const T& Mimotera::InitException ( const T &  e,
const std::string &  file,
int  line = 0,
const std::string  func = "" 
) [inline]

Initialize an exception.

This function is called by the MIMOTERA_THROWX macro in order to set the file, line and function where this exception was thrown.

Template Parameters:
T An exception type
Parameters:
e A reference to the exception to initialize
file A string with the filename where the exception was thrown
line The line number where the exception was thrown
func The function name where the exception was thrown
Returns:
A reference to the initialized exception.
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>

Definition at line 185 of file MimoteraException.hh.

MimoteraEvent* Mimotera::MimoteraEvent_create (  ) 

Create a new MimoteraEvent (C function) This is a C function that is creating a new instance of a MimoteraEvent.

Returns:
A valid pointer to a new MimoteraEvent.

Definition at line 3 of file MimoteraEvent_c.c.

References MimoteraEvent_create_cpp().

Here is the call graph for this function:

MimoteraEvent * Mimotera::MimoteraEvent_create_cpp (  ) 

C++ wrapper of MimoteraEvent_create()

Returns:
A valid pointer to a new MimoteraEvent.

Definition at line 228 of file MimoteraEvent.cc.

Referenced by MimoteraEvent_create().

void Mimotera::MimoteraEvent_dispose ( MimoteraEvent *  event  ) 

Delete a MimoteraEvent object (C function) This is a C function that is deleting (disposing) an instance of a MimoteraEvent. Do NOT use this to delete object created on the stack.

Parameters:
event A pointer to the object to be deleted.

void Mimotera::MimoteraEvent_dispose_cpp ( MimoteraEvent *  event  ) 

C++ wrapper of MimoteraEvent_dispose()

Parameters:
event A pointer to the object to be deleted.

Definition at line 232 of file MimoteraEvent.cc.

Referenced by MimoteraEvent_dispose().

CDataArrays_t* Mimotera::MimoteraEvent_getDataArrays ( MimoteraEvent *  event  ) 

Get the DataArrays This is a C function that is retriving from a MimoteraEvent the decoded x, y, and signal for both frames.

Parameters:
event A valid pointer to the current MimoteraEvent
Returns:
A pointer to a CDataArrays_t struct

CDataArrays_t * Mimotera::MimoteraEvent_getDataArrays_cpp ( MimoteraEvent *  event  ) 

C++ wrapper for MimoteraEvent_getDataArrays_cpp()

Parameters:
event A valid pointer to the current MimoteraEvent
Returns:
A pointer to a CDataArrays_t struct

Definition at line 259 of file MimoteraEvent.cc.

Referenced by MimoteraEvent_getDataArrays().

Pixel_t* Mimotera::MimoteraEvent_getFrameA ( MimoteraEvent *  event  ) 

Get the Mimotera frame A (C function) This is a C function that is retriving from a MimoteraEvent the frameA data array. The size of the array is given by the constant kXPixel * kYPixel.

Warning:
This function returns a data array of un-decoded data. Use this at your own risk. If you want to have the decoded information, just use the MimoteraEvent_getArrays() function.
Parameters:
event A valid pointer to the current MimoteraEvent
Returns:
A pointer to the beginning of the frameA

Pixel_t * Mimotera::MimoteraEvent_getFrameA_cpp ( MimoteraEvent *  event  ) 

C++ wrapper of MimoteraEvent_getFrameA( )

Parameters:
event A valid pointer to the current MimoteraEvent
Returns:
A pointer to the beginning of the frameA

Definition at line 249 of file MimoteraEvent.cc.

Referenced by MimoteraEvent_getFrameA().

Pixel_t* Mimotera::MimoteraEvent_getFrameB ( MimoteraEvent *  event  ) 

Get the Mimotera frame B (C function) This is a C function that is retriving from a MimoteraEvent the frameB data array. The size of the array is given by the constant kXPixel * kYPixel.

Warning:
This function returns a data array of un-decoded data. Use this at your own risk. If you want to have the decoded information, just use the MimoteraEvent_getArrays() function.
Parameters:
event A valid pointer to the current MimoteraEvent
Returns:
A pointer to the beginning of the frameB

Pixel_t * Mimotera::MimoteraEvent_getFrameB_cpp ( MimoteraEvent *  event  ) 

C++ wrapper of MimoteraEvent_getFrameB( )

Parameters:
event A valid pointer to the current MimoteraEvent
Returns:
A pointer to the beginning of the frameB

Definition at line 254 of file MimoteraEvent.cc.

Referenced by MimoteraEvent_getFrameB().

MimoteraInfo* Mimotera::MimoteraEvent_getInfo ( MimoteraEvent *  event  ) 

Get the Mimotera info (C function) This is a C function that is retriving from a MimoteraEvent the MimoteraInfo C struct.

Parameters:
event A valid pointer to the current MimoteraEvent
Returns:
A pointer to a MimoteraInfo struct

MimoteraInfo * Mimotera::MimoteraEvent_getInfo_cpp ( MimoteraEvent *  event  ) 

C++ wrapper of MimoteraEvent_getInfo()

Parameters:
event A valid pointer to the current MimoteraEvent
Returns:
A pointer to a MimoteraInfo struct

Definition at line 239 of file MimoteraEvent.cc.

Referenced by MimoteraEvent_getInfo().

void Mimotera::MimoteraEvent_setDataArrays ( MimoteraEvent *  event,
CDataArrays_t *  dataArrays 
)

Set the DataArrays This is a C function that is setting a CDataArrays_t to the current event.

Parameters:
event A pointer to the current event
dataArrays A pointer to the CDataArrays_t to set

void Mimotera::MimoteraEvent_setDataArrays_cpp ( MimoteraEvent *  event,
CDataArrays_t *  dataArrays 
)

C++ wrapper for MimoteraEvent_setDataArrays()

Parameters:
event A pointer to the current event
dataArrays A pointer to the CDataArrays_t to set

Definition at line 264 of file MimoteraEvent.cc.

Referenced by MimoteraEvent_setDataArrays().

void Mimotera::MimoteraEvent_setInfo ( MimoteraEvent *  event,
MimoteraInfo *  info 
)

Set the Mimotera info (C function ) This is a C function that is setting the MimoteraInfo in the current event.

Parameters:
event A pointer to the current MimoteraEvent
info A pointer to the MimoteraInfo

void Mimotera::MimoteraEvent_setInfo_cpp ( MimoteraEvent *  event,
MimoteraInfo *  info 
)

C++ wrapper of MimoteraEvent_setInfo()

Parameters:
event A pointer to the current MimoteraEvent
info A pointer to the MimoteraInfo

Definition at line 244 of file MimoteraEvent.cc.

Referenced by MimoteraEvent_setInfo().

MimoteraReader* Mimotera::MimoteraReader_create ( const char *  filename  ) 

Create a MimoteraReader (C function) This is a C function to create a new Mimotera reader and assign a file to it.

Parameters:
filename The name of the file to be opened
Returns:
A valid pointer to a MimoteraReader

Definition at line 3 of file MimoteraReader_c.c.

References MimoteraReader_create_cpp().

Here is the call graph for this function:

MimoteraReader * Mimotera::MimoteraReader_create_cpp ( const char *  filename  ) 

C++ wrapper of MimoteraReader_create()

Parameters:
filename The name of the file to be opened
Returns:
A valid pointer to a MimoteraReader

Definition at line 173 of file MimoteraReader.cc.

Referenced by MimoteraReader_create().

void Mimotera::MimoteraReader_dispose ( MimoteraReader *  reader  ) 

Delete a MimoteraReader This is a C function to dispose (delete) a MimoteraReader that was created using the C function MimoteraReader_create(). Do not use it with stack object.

Parameters:
reader A valid pointer to be disposed

void Mimotera::MimoteraReader_dispose_cpp ( MimoteraReader *  reader  ) 

C++ wrapper of the Mimotera_dispose()

Parameters:
reader A valid pointer to be disposed

Definition at line 177 of file MimoteraReader.cc.

Referenced by MimoteraReader_dispose().

MimoteraEvent* Mimotera::MimoteraReader_getEvent ( MimoteraReader *  reader  ) 

Retrieve the current event (C function) This is a C function to retrieve from the MimoteraReader the current event.

Parameters:
reader A valid pointer to a MimoteraReader
Returns:
A MimoteraEvent

MimoteraEvent * Mimotera::MimoteraReader_getEvent_cpp ( MimoteraReader *  reader  ) 

C++ wrapper of MimoteraReader_getEvent()

Parameters:
reader A valid pointer to a MimoteraReader
Returns:
A MimoteraEvent

Definition at line 193 of file MimoteraReader.cc.

References Mimotera::MimoteraReader::getEvent().

Referenced by MimoteraReader_getEvent().

Here is the call graph for this function:

void Mimotera::MimoteraReader_open ( MimoteraReader *  reader,
const char *  filename 
)

Open a MimoteraReader (C function) This is a C function to open a Mimotera reader.

Parameters:
reader A valid pointer to a MimoteraReader object
filename The name of the file to be opened.

void Mimotera::MimoteraReader_open_cpp ( MimoteraReader *  reader,
const char *  filename 
)

C++ wrapper of MimoteraReader_open()

Parameters:
reader A valid pointer to a MimoteraReader object
filename The name of the file to be opened.

Definition at line 182 of file MimoteraReader.cc.

References Mimotera::MimoteraReader::open().

Referenced by MimoteraReader_open().

Here is the call graph for this function:

int Mimotera::MimoteraReader_readNextEvent ( MimoteraReader *  reader  ) 

Read the next event (C function) This is a C function to read the next event in a MimoteraReader object.

Parameters:
reader A valid pointer to a MimoteraReader
Returns:
1 if there are more events to be read out, 0 elsewhere.

int Mimotera::MimoteraReader_readNextEvent_cpp ( MimoteraReader *  reader  ) 

C++ wrapper of MimoteraReader_readNextEvent()

Parameters:
reader A valid pointer to a MimoteraReader
Returns:
1 if there are more events to be read out, 0 elsewhere.

Definition at line 187 of file MimoteraReader.cc.

References Mimotera::MimoteraReader::readNextEvent().

Referenced by MimoteraReader_readNextEvent().

Here is the call graph for this function:

void Mimotera::MimoteraWriter_close ( MimoteraWriter *  writer  ) 

Close the writer (C function) This C function is used to close the MimoteraWriter

Parameters:
writer A pointer to the MimoteraWriter object being closed.

void Mimotera::MimoteraWriter_close_cpp ( MimoteraWriter *  writer  ) 

C++ wrapper for the MimoteraWriter_close()

Parameters:
writer A pointer to the MimoteraWriter object being closed.

Definition at line 167 of file MimoteraWriter.cc.

References Mimotera::MimoteraWriter::close().

Here is the call graph for this function:

MimoteraWriter* Mimotera::MimoteraWriter_create ( const char *  filename,
WritingMode_t  mode 
)

Create a MimoteraWriter (C function) This is a C function to create a new Mimotera writer, assign a file name with and an opening mode.

Parameters:
filename The name of the file to be written
mode The opening mode as described in the WritingMode_t
Returns:
A valid pointer to a MimoteraWriter

MimoteraWriter * Mimotera::MimoteraWriter_create_cpp ( const char *  filename,
WritingMode_t  mode 
)

C++ wrapper of MimoteraWriter_create()

Parameters:
filename The name of the file to be written
mode The opening mode as described in the WritingMode_t
Returns:
A valid pointer to a MimoteraWriter

Definition at line 150 of file MimoteraWriter.cc.

Referenced by MimoteraWriter_create().

void Mimotera::MimoteraWriter_dispose ( MimoteraWriter *  writer  ) 

Dispose a MimoteraWriter (C function) This C function is taking care of cleaning up the memory used by a MimoteraWriter instance.

Warning:
This function must be called for each MimoteraWriter created with the MimoteraWriter_create() function to avoid memory leaks.
Parameters:
writer A pointer to the MimoteraWriter to dispose of

void Mimotera::MimoteraWriter_dispose_cpp ( MimoteraWriter *  writer  ) 

C++ wrapper of MimoteraWriter_dispose()

Parameters:
writer A pointer to the MimoteraWriter to dispose of

Definition at line 154 of file MimoteraWriter.cc.

Referenced by MimoteraWriter_dispose().

off_t Mimotera::MimoteraWriter_writeEvent ( MimoteraWriter *  writer,
MimoteraEvent *  event 
)

Write event (C function) This C function is used to write an event to an open binary Mimotera file.

Parameters:
writer A pointer to the MimoteraWriter object
event A pointer to the event being written
Returns:
The size of the written event

off_t Mimotera::MimoteraWriter_writeEvent_cpp ( MimoteraWriter *  writer,
MimoteraEvent *  event 
)

C++ wrapper for the MimoteraWriter_writeEvent()

Parameters:
writer A pointer to the MimoteraWriter object
event A pointer to the event being written
Returns:
The size of the written event

Definition at line 159 of file MimoteraWriter.cc.

References Mimotera::MimoteraWriter::writeEvent().

Referenced by MimoteraWriter_writeEvent().

Here is the call graph for this function:

std::ostream& Mimotera::operator<< ( std::ostream &  os,
const MimoteraInfo &  info 
)

Definition of the << operator

Parameters:
os The output stream
info The MimoteraInfo
Returns:
The output stream

ostream& Mimotera::operator<< ( ostream &  os,
const MimoteraInfo &  info 
)

Definition at line 47 of file MimoteraEvent.cc.

References Mimotera::MimoteraInfo::print().

Here is the call graph for this function:

std::string Mimotera::to_string ( const char *  x,
int  = 0 
) [inline]

Template specialization in case T = const char *.

This template specialization is provided for performance issue, because it is useless to create a stringstream to stream out a const char *

Parameters:
x The const char * to convert into a string
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>
Examples:
examples/convert2ASCII.cxx, examples/convert2ROOT.cxx, and examples/createDummyData.cxx.

Definition at line 107 of file MimoteraUtils.hh.

std::string Mimotera::to_string ( const std::string &  x,
int  = 0 
) [inline]

Template specialization in case T = string.

This template specialization is provided for performance issue, because it is useless to create a stringstream to stream out a string.

Parameters:
x The string to convert into a string
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>

Definition at line 93 of file MimoteraUtils.hh.

template<typename T >
std::string Mimotera::to_string ( const std::vector< T > &  x,
int  digits = 0 
) [inline]

Converts a vector to a string.

This is a very useful function used to stream out the content of a vector. The vector type T has to have a valid streamer.

It offers also the possibility to format the output string with a fixed width specified by digit

Template Parameters:
T The type of vector.
Parameters:
x The vector to be converted.
digits The width of each component of x
Returns:
A string containing all the vector components comma separated
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>

Definition at line 73 of file MimoteraUtils.hh.

References to_string().

Here is the call graph for this function:

template<typename T >
std::string Mimotera::to_string ( const T &  x,
int  digits = 0 
) [inline]

Converts any type to a string.

This is a very useful function because it can be used to convert to a string any type for each a streamer is defined.

It offers also the possibility to format the output string with a fixed width specified by digit

Template Parameters:
T Any input type having a streamer
Parameters:
x The value to be converted.
digits The width of x
Returns:
A string representing the passed in parameter.
Author:
Antonio Bulgheroni <antonio.bulgheroni@gmail.com>

Definition at line 51 of file MimoteraUtils.hh.

Referenced by Mimotera::MimoteraWriter::MimoteraWriter(), Mimotera::MimoteraReader::open(), Mimotera::MimoteraReader::readNextEvent(), to_string(), and Mimotera::MimoteraWriter::writeEvent().


Variable Documentation

const size_t Mimotera::kChan = 4

Width of each readout channel

Definition at line 149 of file MimoteraEvent.hh.

Referenced by Mimotera::MimoteraDecoder::getRawPosition(), and Mimotera::MimoteraDecoder::getXY().

const size_t Mimotera::kDataSize = sizeof ( Pixel_t ) * kXPixel * kYPixel * 2

Data block size (frame A + B) in bytes

Definition at line 161 of file MimoteraEvent.hh.

const size_t Mimotera::kEventSize = 55296

const size_t Mimotera::kLookUp[kChan] = { 0, 2, 3, 1 }

Channel sorting function

Definition at line 169 of file MimoteraEvent.hh.

Referenced by Mimotera::MimoteraDecoder::getRawPosition(), and Mimotera::MimoteraDecoder::getXY().

const size_t Mimotera::kMarkersPerRow = 2

const size_t Mimotera::kMimoteraInfoSize = 10

const size_t Mimotera::kSubFrameSize = sizeof ( Pixel_t ) * kXPixel * kYPixel

Single frame (A or B) size in bytes

Definition at line 157 of file MimoteraEvent.hh.

Referenced by Mimotera::MimoteraReader::readNextEvent(), and Mimotera::MimoteraWriter::writeEvent().

const size_t Mimotera::kTrashSize = 566

Trash size to skip at the end of the event

Definition at line 165 of file MimoteraEvent.hh.

Referenced by Mimotera::MimoteraWriter::MimoteraWriter(), Mimotera::MimoteraReader::readNextEvent(), and Mimotera::MimoteraWriter::writeEvent().

const size_t Mimotera::kXPixel = 120

const size_t Mimotera::kYPixel = 114

The Mimotera++ license.

In order to easily print out the license agreement within the executable files provided as examples, the LGPL license version 3 has been inserted into a multiline string.

Examples:
examples/convert2ASCII.cxx, examples/convert2ROOT.cxx, and examples/createDummyData.cxx.

Definition at line 32 of file MimoteraLicense.hh.


Generated on Fri Sep 18 19:15:39 2009 for Mimotera++ by  doxygen 1.5.7.1