PPM-DU analysis  2.3
conversion and analysis of the PPM-DU data
 All Classes Files Functions Variables Pages
Classes | Functions
/home/alex/Work/Research/Km3NeT/PPM-DU/ppm-du-v2.3/rawReader.h File Reference
#include "utl/BinIO.hpp"
#include <boost/cstdint.hpp>
#include <iostream>
#include <memory>
#include "dom.h"

Go to the source code of this file.

Classes

struct  MyEvent
 
struct  sliceHead
 
class  hit
 used to read raw data More...
 
class  frame
 used to read raw data More...
 

Functions

int GetFirstBit (size_t pattern, int firstBit)
 
int GetLastBit (size_t pattern, int firstBit)
 
void WriteSlice (dom &curDom)
 
long long int FillRaw (std::ifstream &str, std::vector< dom > &vSlice, long long int bitPosition, bool toWrite)
 
long long int GetFileLength (std::ifstream &str)
 
bool IsNoisySlice (const int signalNb, const double limitNb)
 

Function Documentation

long long int FillRaw ( std::ifstream &  str,
std::vector< dom > &  vSlice,
long long int  bitPosition,
bool  toWrite 
)

Definition at line 323 of file rawReader.cc.

long long int GetFileLength ( std::ifstream &  str)

Definition at line 406 of file rawReader.cc.

int GetFirstBit ( size_t  pattern,
int  firstBit 
)

Definition at line 303 of file rawReader.cc.

int GetLastBit ( size_t  pattern,
int  firstBit 
)

Definition at line 313 of file rawReader.cc.

bool IsNoisySlice ( const int  signalNb,
const double  limitNb 
)

a first reading loop is made in the main to extract the distribution of number of event per slice. Then a Gaussian fit is made, the limitNb is calculated as maxHisto + 3*sigma (see ANTARES-SITE-2005-001 for more information)

Definition at line 414 of file rawReader.cc.

void WriteSlice ( dom curDom)

Definition at line 189 of file rawReader.cc.