PandaRoot
PndMvdConvertApv Class Reference

Convert meassured data into PndSdsDigiStrip. More...

#include <PndMvdConvertApv.h>

Public Member Functions

 PndMvdConvertApv ()
 
 PndMvdConvertApv (const TString &CalibFileName, const TString &HitFileName)
 
virtual ~PndMvdConvertApv ()
 
 PndMvdConvertApv (const PndMvdConvertApv &)=delete
 
PndMvdConvertApvoperator= (const PndMvdConvertApv &)=delete
 
long int GetNofEvents ()
 
std::vector< PndSdsDigiStripReadAll ()
 
std::vector< PndSdsDigiStripReadNext ()
 
Bool_t Init ()
 
void SetFakePair (Int_t TopModuleID, Int_t BottomModuleID)
 

Detailed Description

Convert meassured data into PndSdsDigiStrip.

PndMvdConvertApv.h

Author
L.Ackermann lars..nosp@m.acke.nosp@m.rmann.nosp@m.@phy.nosp@m.sik.t.nosp@m.u-dr.nosp@m.esden.nosp@m..de

Load calibration parameter and keeps strean to meassured data. Event wise read in and converting to PndSdsDigiStrip

Author
Lars Ackermann
Date
11.03.2009

Definition at line 39 of file PndMvdConvertApv.h.

Constructor & Destructor Documentation

◆ PndMvdConvertApv() [1/3]

PndMvdConvertApv::PndMvdConvertApv ( )
inline

default constructor

Definition at line 42 of file PndMvdConvertApv.h.

Referenced by ~PndMvdConvertApv().

43  : fCalibPars(), fNofEvents(0), fEvent(-1), fLastEvent(0), fNoCalib(kFALSE), fHitFileName(""), fDataFile(), fhitlist(), fTopModuleID(0), fBottomModuleID(0), fFake(kFALSE),
44  f(nullptr), t(nullptr), tsEv(nullptr), arr(nullptr), fGeoH(nullptr){};
float f
Definition: P4_F32vec4.h:20

◆ PndMvdConvertApv() [2/3]

PndMvdConvertApv::PndMvdConvertApv ( const TString &  CalibFileName,
const TString &  HitFileName 
)

main constructor, call all function to be ready for converting hits from hitfile

Parameters
CalibFileNamename of file where the calibration is stored
HitFileNamename of hitfile

◆ ~PndMvdConvertApv()

virtual PndMvdConvertApv::~PndMvdConvertApv ( )
inlinevirtual

Destructor

Definition at line 54 of file PndMvdConvertApv.h.

References GetNofEvents(), Init(), operator=(), PndMvdConvertApv(), ReadAll(), ReadNext(), and SetFakePair().

54 { fDataFile.close(); };

◆ PndMvdConvertApv() [3/3]

PndMvdConvertApv::PndMvdConvertApv ( const PndMvdConvertApv )
delete

Member Function Documentation

◆ GetNofEvents()

long int PndMvdConvertApv::GetNofEvents ( )
Returns
long integer of last eventID from hitfile

Referenced by ~PndMvdConvertApv().

◆ Init()

Bool_t PndMvdConvertApv::Init ( )

Initialize global geometry

Returns
success

Referenced by ~PndMvdConvertApv().

◆ operator=()

PndMvdConvertApv& PndMvdConvertApv::operator= ( const PndMvdConvertApv )
delete

Referenced by ~PndMvdConvertApv().

◆ ReadAll()

std::vector< PndSdsDigiStrip > PndMvdConvertApv::ReadAll ( )

read all events from hitfile

Returns
vector of PndSdsDigiStrip of the event

Referenced by ~PndMvdConvertApv().

◆ ReadNext()

std::vector< PndSdsDigiStrip > PndMvdConvertApv::ReadNext ( )

read the next event from hitfile

Returns
vector of PndSdsDigiStrip of the event

Referenced by ~PndMvdConvertApv().

◆ SetFakePair()

void PndMvdConvertApv::SetFakePair ( Int_t  TopModuleID,
Int_t  BottomModuleID 
)

Set two moduleIDs to merge them as one double sided sensor

Parameters
TopModuleIDmoduleID for top side of fake sensor
BottomModuleIDmoduleID for bottom side of fake sensor
Returns
void

Referenced by ~PndMvdConvertApv().


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