#include <PndMvdBoxMap.h>
Definition at line 17 of file PndMvdBoxMap.h.
PndMvdBoxMap::PndMvdBoxMap |
( |
| ) |
|
|
inline |
Definition at line 20 of file PndMvdBoxMap.h.
std::map< Int_t, Int_t > box
std::map< Int_t, TString > fMap
std::map< Int_t, Int_t > fCh
std::map< Int_t, Int_t > lCh
PndMvdBoxMap::PndMvdBoxMap |
( |
TString |
nome | ) |
|
|
inline |
Definition at line 28 of file PndMvdBoxMap.h.
References SetMappingFile().
std::map< Int_t, Int_t > box
std::map< Int_t, TString > fMap
void SetMappingFile(TString nome)
std::map< Int_t, Int_t > fCh
std::map< Int_t, Int_t > lCh
PndMvdBoxMap::~PndMvdBoxMap |
( |
| ) |
|
|
inline |
void PndMvdBoxMap::DoMapping |
( |
Int_t |
nbox, |
|
|
Int_t |
chan, |
|
|
TString & |
detpath |
|
) |
| |
Definition at line 98 of file PndMvdBoxMap.cxx.
References jj.
Referenced by PndMvdConvertApvTask::Exec().
107 if ( chan >=
fCh[jj] && chan <=
lCh[jj] )
std::map< Int_t, Int_t > box
std::map< Int_t, TString > fMap
std::map< Int_t, Int_t > fCh
std::map< Int_t, Int_t > lCh
Definition at line 19 of file PndMvdBoxMap.cxx.
References TString.
Referenced by PndMvdConvertApvTask::Init().
21 ifstream mapfile(
fFileName.Data(),ifstream::in);
23 Int_t fbox=-1, fchanMin=-1, fchanMax=-1;
27 if (!mapfile.is_open()){
29 Error(
"Init",
"Could not open file %s",
fFileName.Data());
38 mapfile >> fbox >> fchanMin >> fchanMax >> detPathName;
39 if(mapfile.eof())
break;
40 cout <<
"Position: " << mapfile.tellg() << endl;
41 Info(
"Init",
"Read line: %i %i %i %s",fbox,fchanMin,fchanMax,detPathName.Data());
55 cout <<
nLines <<
" entries" << endl;
std::map< Int_t, Int_t > box
std::map< Int_t, TString > fMap
std::map< Int_t, Int_t > fCh
std::map< Int_t, Int_t > lCh
void PndMvdBoxMap::Print |
( |
| ) |
|
void PndMvdBoxMap::PrintMap |
( |
| ) |
|
Definition at line 87 of file PndMvdBoxMap.cxx.
References jj.
std::map< Int_t, Int_t > box
std::map< Int_t, TString > fMap
std::map< Int_t, Int_t > fCh
std::map< Int_t, Int_t > lCh
void PndMvdBoxMap::SetMappingFile |
( |
TString |
nome | ) |
|
|
inline |
std::map< Int_t , Int_t > PndMvdBoxMap::box |
|
private |
std::map< Int_t , Int_t > PndMvdBoxMap::fCh |
|
private |
std::map< Int_t , Int_t > PndMvdBoxMap::lCh |
|
private |
Int_t PndMvdBoxMap::nLines |
|
private |
The documentation for this class was generated from the following files: