FEDRA emulsion software from the OPERA Collaboration
|
#include <EdbFiducial.h>
Public Member Functions | |
EdbAffine2D * | Abs2Stage () const |
Int_t | ChangeMapStringSpacer (TString &str, char oldspacer, char newspacer) |
void | DrawA (Option_t *opt="") const |
void | DrawS (Option_t *opt="") const |
EdbMarksSet () | |
EdbMarksSet (const EdbMarksSet &ms) | |
EdbMarksBox * | GetAbsolute () const |
Int_t | GetN () const |
Int_t | GetNa () const |
Int_t | GetNs () const |
EdbMarksBox * | GetStage () const |
void | Print (Option_t *opt="") const |
Int_t | ReadDA (char *file) |
Int_t | ReadDB (char *file) |
Int_t | ReadDollar (char *file, EdbMarksBox *mbox) |
Int_t | ReadMap (char *file, char spacer='_', char shape='S') |
Int_t | ReadMap2 (char *file, char spacer='_', char shape='S') |
EdbAffine2D * | Stage2Abs () const |
Int_t | WriteMap (char *file, char spacer='_', char shape='S', int plate=1) |
Int_t | WriteMap2 (char *file, char spacer='_', char shape='S', int plate=1) |
virtual | ~EdbMarksSet () |
Public Attributes | |
Long_t | eBrick |
Float_t | eXmax |
Float_t | eXmin |
Float_t | eYmax |
Float_t | eYmin |
Private Attributes | |
EdbMarksBox * | eAbsolute |
fiducial marks in absolute coord ($b) More... | |
EdbMarksBox * | eStage |
fiducial marks in stage coord ($a) More... | |
EdbMarksSet::EdbMarksSet | ( | ) |
EdbMarksSet::EdbMarksSet | ( | const EdbMarksSet & | ms | ) |
|
virtual |
EdbAffine2D * EdbMarksSet::Abs2Stage | ( | ) | const |
Int_t EdbMarksSet::ChangeMapStringSpacer | ( | TString & | str, |
char | oldspacer, | ||
char | newspacer | ||
) |
Changes the spacer inside the map string with a new character
void EdbMarksSet::DrawA | ( | Option_t * | opt = "" | ) | const |
void EdbMarksSet::DrawS | ( | Option_t * | opt = "" | ) | const |
|
inline |
Int_t EdbMarksSet::GetN | ( | ) | const |
Int_t EdbMarksSet::GetNa | ( | ) | const |
|
inline |
void EdbMarksSet::Print | ( | Option_t * | opt = "" | ) | const |
Int_t EdbMarksSet::ReadDA | ( | char * | file | ) |
Int_t EdbMarksSet::ReadDB | ( | char * | file | ) |
Int_t EdbMarksSet::ReadDollar | ( | char * | file, |
EdbMarksBox * | mbox | ||
) |
$B - Fiducial marks (Chorus coordinates): -> NFID
mod pln prd plt pos
2 5 11 -1 <- plate line
sftx sfty gap rot
0. 0. 0. 0. <- position correction line
pnm eml bas shr0 shr1
0. 100. 850. 2. <- emulsion thikness line
n x y z
10 -339667. -209560. 0. <- X-ray marks line
12 -39704. -209630. 0.
13 -339646. -59477. 0.
15 -39746. -59533. 0.
Int_t EdbMarksSet::ReadMap | ( | char * | file, |
char | spacer = '_' , |
||
char | shape = 'S' |
||
) |
Reads map file and adds informations to eAbsolute
If shape is 'S', then the "Front X-Ray Mark Map or Optical Mark Map" format is assumed
If shape is 'L', then the "Lateral X-Ray Mark Map" format is assumed
Int_t EdbMarksSet::ReadMap2 | ( | char * | file, |
char | spacer = '_' , |
||
char | shape = 'S' |
||
) |
Reads map file and adds informations to eAbsolute and eStage
If shape is 'S', then the "Front X-Ray Mark Map or Optical Mark Map" format is assumed
If shape is 'L', then the "Lateral X-Ray Mark Map" format is assumed
EdbAffine2D * EdbMarksSet::Stage2Abs | ( | ) | const |
Int_t EdbMarksSet::WriteMap | ( | char * | file, |
char | spacer = '_' , |
||
char | shape = 'S' , |
||
int | plate = 1 |
||
) |
Create a map string starting from the informations stored in this class
and in the EdbMarksBox object eAbsolute
If shape is 'S', then the "Front X-Ray Mark Map or Optical Mark Map" format is assumed
If shape is 'L', then the "Lateral X-Ray Mark Map" format is assumed
Int_t EdbMarksSet::WriteMap2 | ( | char * | file, |
char | spacer = '_' , |
||
char | shape = 'S' , |
||
int | plate = 1 |
||
) |
Create a map string starting from the informations stored in this class: eAbsolute and eStage
If shape is 'S', then the "Front X-Ray Mark Map or Optical Mark Map" format is assumed
If shape is 'L', then the "Lateral X-Ray Mark Map" format is assumed
|
private |
fiducial marks in absolute coord ($b)
Long_t EdbMarksSet::eBrick |
|
private |
fiducial marks in stage coord ($a)
Float_t EdbMarksSet::eXmax |
Float_t EdbMarksSet::eXmin |
Float_t EdbMarksSet::eYmax |
Float_t EdbMarksSet::eYmin |