FEDRA emulsion software from the OPERA Collaboration
EdbViewHeader Class Reference

view identification More...

#include <EdbView.h>

Inheritance diagram for EdbViewHeader:
Collaboration diagram for EdbViewHeader:

Public Member Functions

void Copy (EdbViewHeader *h)
 
 EdbViewHeader ()
 
EdbAffine2D const * GetAffine () const
 
Int_t GetAreaID () const
 
Int_t GetCol () const
 
Float_t GetDZbot () const
 
Float_t GetDZtop () const
 
Int_t GetEvent () const
 
Int_t GetNclusters () const
 
Int_t GetNframesBot () const
 
Int_t GetNframesTop () const
 
Int_t GetNsegments () const
 
Int_t GetRow () const
 
Int_t GetStatus () const
 
Int_t GetTime ()
 
Int_t GetTrack () const
 
Int_t GetViewID () const
 
Float_t GetXview () const
 
Float_t GetXviewAff () const
 
Float_t GetYview () const
 
Float_t GetYviewAff () const
 
Float_t GetZ0bot () const
 
Float_t GetZ0top () const
 
Float_t GetZ1 () const
 
Float_t GetZ2 () const
 
Float_t GetZ3 () const
 
Float_t GetZ4 () const
 
TArrayF * GetZlevels () const
 
void Print () const
 
void Set0 ()
 
void SetAffine (float a11, float a12, float a21, float a22, float b1, float b2)
 
void SetAreaID (int id)
 
void SetColRow (int col, int row)
 
void SetCoordXY (float x, float y)
 
void SetCoordZ (float z1, float z2, float z3, float z4)
 
void SetEvent (int event)
 
void SetNclusters (int nclu)
 
void SetNframes (int top, int bot)
 
void SetNsegments (int nseg)
 
void SetStatus (int st)
 
void SetTime (Int_t time)
 
void SetTrack (int track)
 
void SetViewID (int id)
 
void SetZlevels (Int_t n, const Float_t *array)
 
virtual ~EdbViewHeader ()
 

Private Attributes

EdbAffine2D eAff
 affine transformation for the view More...
 
Int_t eAreaID
 Area ID in Run (fragment id) More...
 
Int_t eCol
 the position of the view in the scanned area, measured in views, More...
 
Int_t eEvent
 optional: the part of the tree may be associated with event. Setted via run->header->Flag(8) More...
 
Int_t eNclusters
 number of clusters saved in the view More...
 
Int_t eNframesBot
 bottom | number of frames in the view (0,1,2...16...) More...
 
Int_t eNframesTop
 top | number of frames in the view (0,1,2...16...) More...
 
Int_t eNsegments
 number of segments saved in the view More...
 
Int_t eRow
 starting from the reference angle (typically up-left) More...
 
Int_t eStatus
 View scanning status. More...
 
Int_t eTime
 System time since last view saving in msec. More...
 
Int_t eTrack
 optional: some view group may be associated with track. Setted via run->header->Flag(9) More...
 
Int_t eViewID
 View ID in the Area. More...
 
Float_t eXview
 stage coord, top left corner More...
 
Float_t eYview
 stage coord, top left corner More...
 
Float_t eZ1
 
Float_t eZ2
 emulsion surfaces in absolute stage coordinates More...
 
Float_t eZ3
 measured once per view More...
 
Float_t eZ4
 
TArrayF * eZlevels
 z of each taken view (frame) (obsolete!) More...
 

Detailed Description

view identification

Constructor & Destructor Documentation

◆ EdbViewHeader()

EdbViewHeader::EdbViewHeader ( )
672{
673 Set0();
674}
void Set0()
Definition: EdbView.cxx:723

◆ ~EdbViewHeader()

EdbViewHeader::~EdbViewHeader ( )
virtual
678{
679 //if(eZlevels) delete eZlevels;
680}

Member Function Documentation

◆ Copy()

void EdbViewHeader::Copy ( EdbViewHeader h)
inline
65{ memcpy( (void*)this, (void*)h, sizeof(EdbViewHeader) ); }
view identification
Definition: EdbView.h:26

◆ GetAffine()

EdbAffine2D const * EdbViewHeader::GetAffine ( ) const
inline
72{ return &eAff; }
EdbAffine2D eAff
affine transformation for the view
Definition: EdbView.h:49

◆ GetAreaID()

Int_t EdbViewHeader::GetAreaID ( ) const
inline
91{ return eAreaID; }
Int_t eAreaID
Area ID in Run (fragment id)
Definition: EdbView.h:31

◆ GetCol()

Int_t EdbViewHeader::GetCol ( ) const
inline
123{ return eCol; }
Int_t eCol
the position of the view in the scanned area, measured in views,
Definition: EdbView.h:53

◆ GetDZbot()

Float_t EdbViewHeader::GetDZbot ( ) const
inline
118{ return eZ4-eZ3; }
Float_t eZ4
Definition: EdbView.h:39
Float_t eZ3
measured once per view
Definition: EdbView.h:38

◆ GetDZtop()

Float_t EdbViewHeader::GetDZtop ( ) const
inline
117{ return eZ2-eZ1; }
Float_t eZ1
Definition: EdbView.h:36
Float_t eZ2
emulsion surfaces in absolute stage coordinates
Definition: EdbView.h:37

◆ GetEvent()

Int_t EdbViewHeader::GetEvent ( ) const
inline
127{ return eEvent; }
Int_t eEvent
optional: the part of the tree may be associated with event. Setted via run->header->Flag(8)
Definition: EdbView.h:57

◆ GetNclusters()

Int_t EdbViewHeader::GetNclusters ( ) const
inline
87{ return eNclusters; }
Int_t eNclusters
number of clusters saved in the view
Definition: EdbView.h:46

◆ GetNframesBot()

Int_t EdbViewHeader::GetNframesBot ( ) const
inline
121{ return eNframesBot; }
Int_t eNframesBot
bottom | number of frames in the view (0,1,2...16...)
Definition: EdbView.h:42

◆ GetNframesTop()

Int_t EdbViewHeader::GetNframesTop ( ) const
inline
120{ return eNframesTop; }
Int_t eNframesTop
top | number of frames in the view (0,1,2...16...)
Definition: EdbView.h:41

◆ GetNsegments()

Int_t EdbViewHeader::GetNsegments ( ) const
inline
88{ return eNsegments; }
Int_t eNsegments
number of segments saved in the view
Definition: EdbView.h:47

◆ GetRow()

Int_t EdbViewHeader::GetRow ( ) const
inline
124{ return eRow; }
Int_t eRow
starting from the reference angle (typically up-left)
Definition: EdbView.h:54

◆ GetStatus()

Int_t EdbViewHeader::GetStatus ( ) const
inline
125{ return eStatus; }
Int_t eStatus
View scanning status.
Definition: EdbView.h:56

◆ GetTime()

Int_t EdbViewHeader::GetTime ( )
inline
82{ return eTime; }
Int_t eTime
System time since last view saving in msec.
Definition: EdbView.h:44

◆ GetTrack()

Int_t EdbViewHeader::GetTrack ( ) const
inline
126{ return eTrack; }
Int_t eTrack
optional: some view group may be associated with track. Setted via run->header->Flag(9)
Definition: EdbView.h:58

◆ GetViewID()

Int_t EdbViewHeader::GetViewID ( ) const
inline
90{ return eViewID; }
Int_t eViewID
View ID in the Area.
Definition: EdbView.h:30

◆ GetXview()

Float_t EdbViewHeader::GetXview ( ) const
inline
93{ return eXview; }
Float_t eXview
stage coord, top left corner
Definition: EdbView.h:33

◆ GetXviewAff()

Float_t EdbViewHeader::GetXviewAff ( ) const
inline
96{ return eAff.B1(); }
Float_t B1() const
Definition: EdbAffine.h:47

◆ GetYview()

Float_t EdbViewHeader::GetYview ( ) const
inline
94{ return eYview; }
Float_t eYview
stage coord, top left corner
Definition: EdbView.h:34

◆ GetYviewAff()

Float_t EdbViewHeader::GetYviewAff ( ) const
inline
97{ return eAff.B2(); }
Float_t B2() const
Definition: EdbAffine.h:48

◆ GetZ0bot()

Float_t EdbViewHeader::GetZ0bot ( ) const
inline
116{ return eZ3; }

◆ GetZ0top()

Float_t EdbViewHeader::GetZ0top ( ) const
inline
115{ return eZ1; }

◆ GetZ1()

Float_t EdbViewHeader::GetZ1 ( void  ) const
inline
110{ return eZ1; }

◆ GetZ2()

Float_t EdbViewHeader::GetZ2 ( void  ) const
inline
111{ return eZ2; }

◆ GetZ3()

Float_t EdbViewHeader::GetZ3 ( void  ) const
inline
112{ return eZ3; }

◆ GetZ4()

Float_t EdbViewHeader::GetZ4 ( void  ) const
inline
113{ return eZ4; }

◆ GetZlevels()

TArrayF * EdbViewHeader::GetZlevels ( ) const
inline
80{return 0;} //eZlevels;}

◆ Print()

void EdbViewHeader::Print ( ) const
750{
751 printf("ViewHeader:\t %d %d \t %f %f \t col:row = %d:%d\n", eViewID, eAreaID, eXview, eYview, eCol, eRow);
752 printf("Nframes: \t %d/%d \t Z(1/2/3/4): %f %f %f %f\n",
754 printf("Ncl = %d \t Nseg = %d\n",eNclusters, eNsegments);
755 printf("View time: \t %d \t Scan status = %d \n", eTime, eStatus );
756}

◆ Set0()

void EdbViewHeader::Set0 ( )
724{
725 eViewID = 0;
726 eAreaID = 0;
727 eXview = 0;
728 eYview = 0;
729 eZ1 = 0;
730 eZ2 = 0;
731 eZ3 = 0;
732 eZ4 = 0;
733 eNframesTop = 0;
734 eNframesBot = 0;
735
736 eTime=0;
737 eNclusters=0;
738 eNsegments=0;
739
740 eZlevels=0;
741 eCol=0;
742 eRow=0;
743 eStatus=0;
744 eEvent=-999;
745 eTrack=-999;
746}
TArrayF * eZlevels
z of each taken view (frame) (obsolete!)
Definition: EdbView.h:51

◆ SetAffine()

void EdbViewHeader::SetAffine ( float  a11,
float  a12,
float  a21,
float  a22,
float  b1,
float  b2 
)
inline
70 { eAff.Set(a11,a12,a21,a22,b1,b2); }
void Set(EdbAffine2D &a)
Definition: EdbAffine.h:36

◆ SetAreaID()

void EdbViewHeader::SetAreaID ( int  id)
inline
100{ eAreaID = id; }
UInt_t id
Definition: tlg2couples.C:117

◆ SetColRow()

void EdbViewHeader::SetColRow ( int  col,
int  row 
)
inline
105{ eCol=col; eRow=row; }

◆ SetCoordXY()

void EdbViewHeader::SetCoordXY ( float  x,
float  y 
)
inline
101{ eXview = x; eYview=y; }

◆ SetCoordZ()

void EdbViewHeader::SetCoordZ ( float  z1,
float  z2,
float  z3,
float  z4 
)
inline
103 { eZ1=z1; eZ2=z2; eZ3=z3; eZ4=z4; }

◆ SetEvent()

void EdbViewHeader::SetEvent ( int  event)
inline
108{ eEvent=event; }
int event
Definition: shower_tr.C:25

◆ SetNclusters()

void EdbViewHeader::SetNclusters ( int  nclu)
inline
85{ eNclusters=nclu; }

◆ SetNframes()

void EdbViewHeader::SetNframes ( int  top,
int  bot 
)
inline
104{ eNframesTop=top; eNframesBot=bot; }

◆ SetNsegments()

void EdbViewHeader::SetNsegments ( int  nseg)
inline
86{ eNsegments=nseg; }

◆ SetStatus()

void EdbViewHeader::SetStatus ( int  st)
inline
106{ eStatus=st; }

◆ SetTime()

void EdbViewHeader::SetTime ( Int_t  time)
inline
83{ eTime = time; }

◆ SetTrack()

void EdbViewHeader::SetTrack ( int  track)
inline
107{ eTrack=track; }
Definition: bitview.h:14

◆ SetViewID()

void EdbViewHeader::SetViewID ( int  id)
inline
99{ eViewID = id; }

◆ SetZlevels()

void EdbViewHeader::SetZlevels ( Int_t  n,
const Float_t *  array 
)
inline
74 {
75 //dummy
76 //if(!eZlevels) eZlevels=new TArrayF(n);
77 //eZlevels->Set(n,array);
78 }

Member Data Documentation

◆ eAff

EdbAffine2D EdbViewHeader::eAff
private

affine transformation for the view

◆ eAreaID

Int_t EdbViewHeader::eAreaID
private

Area ID in Run (fragment id)

◆ eCol

Int_t EdbViewHeader::eCol
private

the position of the view in the scanned area, measured in views,

◆ eEvent

Int_t EdbViewHeader::eEvent
private

optional: the part of the tree may be associated with event. Setted via run->header->Flag(8)

◆ eNclusters

Int_t EdbViewHeader::eNclusters
private

number of clusters saved in the view

◆ eNframesBot

Int_t EdbViewHeader::eNframesBot
private

bottom | number of frames in the view (0,1,2...16...)

◆ eNframesTop

Int_t EdbViewHeader::eNframesTop
private

top | number of frames in the view (0,1,2...16...)

◆ eNsegments

Int_t EdbViewHeader::eNsegments
private

number of segments saved in the view

◆ eRow

Int_t EdbViewHeader::eRow
private

starting from the reference angle (typically up-left)

◆ eStatus

Int_t EdbViewHeader::eStatus
private

View scanning status.

◆ eTime

Int_t EdbViewHeader::eTime
private

System time since last view saving in msec.

◆ eTrack

Int_t EdbViewHeader::eTrack
private

optional: some view group may be associated with track. Setted via run->header->Flag(9)

◆ eViewID

Int_t EdbViewHeader::eViewID
private

View ID in the Area.

◆ eXview

Float_t EdbViewHeader::eXview
private

stage coord, top left corner

◆ eYview

Float_t EdbViewHeader::eYview
private

stage coord, top left corner

◆ eZ1

Float_t EdbViewHeader::eZ1
private

◆ eZ2

Float_t EdbViewHeader::eZ2
private

emulsion surfaces in absolute stage coordinates

◆ eZ3

Float_t EdbViewHeader::eZ3
private

measured once per view

◆ eZ4

Float_t EdbViewHeader::eZ4
private

◆ eZlevels

TArrayF* EdbViewHeader::eZlevels
private

z of each taken view (frame) (obsolete!)


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