FEDRA emulsion software from the OPERA Collaboration
|
#include <EdbPattern.h>
Public Member Functions | |
TIndexCell * | Cell () const |
EdbPattern () | |
EdbPattern (EdbPattern &p) | |
EdbPattern (float x0, float y0, float z0, int n=0) | |
EdbPattern * | ExtractSubPattern (float min[5], float max[5], int MCevt=-1) |
void | FillCell (float stepx, float stepy, float steptx, float stepty) |
int | FindCompliments (EdbSegP &s, TObjArray &arr, float nsig, float nsigt) |
EdbSegP * | FindSegment (int id) |
int | ID () const |
Int_t | NAff () const |
int | PID () const |
Int_t | Plate () const |
void | Reset () |
EdbID | ScanID () const |
void | Set0 () |
void | SetID (int id) |
void | SetNAff (int n) |
void | SetPID (int pid) |
void | SetScanID (EdbID id) |
void | SetSegmentsPID () |
void | SetSegmentsScanID (EdbID id) |
void | SetSide (int side) |
void | SetSigma (float sx, float sy, float stx, float sty) |
void | SetStep (float stepx, float stepy, float steptx, float stepty) |
Int_t | Side () const |
float | StepTX () const |
float | StepTY () const |
float | StepX () const |
float | StepY () const |
float | SummaryPath () |
float | Xmean () |
float | Ymean () |
virtual | ~EdbPattern () |
![]() | |
EdbSegP * | AddSegment (EdbSegP &s) |
EdbSegP * | AddSegment (EdbSegP &s1, EdbSegP &s2) |
EdbSegP * | AddSegment (int i, EdbSegP &s) |
EdbSegP * | AddSegment (int id, float x, float y, float tx, float ty, float w=0, int flag=0) |
EdbSegP * | AddSegmentNoDuplicate (EdbSegP &s) |
EdbPoint * | At (int i) const |
Int_t | CalculateAXAY (EdbSegmentsBox *p, EdbAffine2D *affA) |
Int_t | CalculateXY (EdbSegmentsBox *p, EdbAffine2D *aff) |
Float_t | Diff (EdbSegmentsBox &p) |
Float_t | DiffAff (EdbAffine2D *aff) |
Float_t | DZ () const |
EdbSegmentsBox (EdbSegmentsBox &box) | |
EdbSegmentsBox (float x0, float y0, float z0, int nseg=0) | |
EdbSegmentsBox (int nseg=0) | |
Int_t | GetN () const |
EdbSegP * | GetSegment (int i) const |
EdbSegP * | GetSegmentLast () const |
TClonesArray * | GetSegments () const |
void * | GetSegmentsAddr () |
Float_t | GetSize (Int_t XorY) |
Float_t | GetSizeX () |
Float_t | GetSizeXY () |
Float_t | GetSizeY () |
Float_t | GetTrackDensity () |
Float_t | GetTrackDensitymm2 () |
Int_t | N () const |
void | Print (Option_t *opt="") const |
other functions More... | |
void | ProjectTo (const float dz) |
void | Reset () |
void | Set0 () |
void | SetSegmentsDZ (float dz) |
void | SetSegmentsPlate (int plate) |
void | SetSegmentsZ () |
void | SetX (float x) |
mandatory virtual functions: More... | |
void | SetY (float y) |
void | SetZ (float z) |
void | TransformA (const EdbAffine2D *affA) |
void | TransformARot (const EdbAffine2D *affA) |
void | TransformShr (const float shr) |
Float_t | X () const |
Float_t | Y () const |
Float_t | Z () const |
virtual | ~EdbSegmentsBox () |
![]() | |
virtual EdbPoint * | At (int i) const =0 |
virtual Float_t | DeltaX () |
virtual Float_t | DeltaY () |
virtual void | DrawPoints (int style=23, int col=4, float size=1.) |
EdbPointsBox2D () | |
EdbPointsBox2D (const EdbPointsBox2D &pb) | |
virtual const EdbAffine2D * | GetKeep () const |
virtual void | GetKeep (EdbAffine2D &aff) |
virtual Int_t | N () const =0 |
virtual void | Print (Option_t *opt="") const |
virtual void | Retransform () |
virtual void | Rotate (float angle) |
virtual void | ScaleX (float scaleFactor) |
virtual void | ScaleY (float scaleFactor) |
virtual void | SetKeep (float a11, float a12, float a21, float a22, float b1, float b2) |
virtual void | SetX (float x) |
virtual void | SetY (float y) |
virtual void | SetZ (float z) |
virtual void | ShiftX (float offset) |
virtual void | ShiftY (float offset) |
virtual void | SmearXY (float sigmax, float sigmay) |
virtual void | Substruct (EdbPointsBox2D *b) |
virtual void | Transform (const EdbAffine2D *a) |
virtual Float_t | X () const |
virtual TH1F * | Xhist () |
virtual Float_t | Xmax () const |
virtual Float_t | Xmin () const |
virtual TH2F * | XYhist () |
virtual Float_t | Y () const |
virtual TH1F * | Yhist () |
virtual Float_t | Ymax () const |
virtual Float_t | Ymin () const |
virtual Float_t | Z () const |
virtual | ~EdbPointsBox2D () |
![]() | |
virtual void | Print (Option_t *opt="") const |
virtual void | SetZ (float z)=0 |
virtual void | Substruct (EdbPoint *p) |
virtual void | Test () const |
virtual void | TestPoint3D () const |
virtual void | Transform (const EdbAffine3D *a) |
virtual Float_t | Z () const =0 |
virtual | ~EdbPoint3D () |
![]() | |
virtual void | Print (Option_t *opt="") const |
virtual void | SetX (float x)=0 |
virtual void | SetY (float y)=0 |
virtual void | SetZ (float z) |
virtual void | Substruct (EdbPoint *p) |
virtual void | Test () const |
virtual void | TestPoint2D () const |
virtual void | Transform (const EdbAffine2D *a) |
virtual Float_t | X () const =0 |
virtual Float_t | Y () const =0 |
virtual Float_t | Z () const |
virtual | ~EdbPoint2D () |
![]() | |
virtual void | SetX (float x)=0 |
virtual void | SetY (float y)=0 |
virtual void | SetZ (float z)=0 |
virtual void | Substruct (EdbPoint *p)=0 |
virtual void | Test () const |
virtual void | Transform (const EdbAffine2D *a) |
virtual void | Transform (const EdbAffine3D *a) |
virtual Float_t | X () const =0 |
virtual Float_t | Y () const =0 |
virtual Float_t | Z () const =0 |
virtual | ~EdbPoint () |
Private Attributes | |
TIndexCell * | eCell |
associated with eSegments More... | |
Int_t | eFlag |
pattern flag More... | |
Int_t | eID |
pattern id in the volume More... | |
Int_t | eNAff |
number of segments selected for affine calculation More... | |
Int_t | ePID |
correspond to the piece ID More... | |
EdbID | eScanID |
main scanning ID for this pattern, defined when possible More... | |
Int_t | eSide |
emulsion side 0/1/2, defined when possible More... | |
Float_t | eSigma [4] |
accuracy in comparison to neibour pattern More... | |
Float_t | eStepTX |
Float_t | eStepTY |
bin size for the index cell More... | |
Float_t | eStepX |
Float_t | eStepY |
bin size for the index cell More... | |
EdbPattern::EdbPattern | ( | ) |
EdbPattern::EdbPattern | ( | EdbPattern & | p | ) |
EdbPattern::EdbPattern | ( | float | x0, |
float | y0, | ||
float | z0, | ||
int | n = 0 |
||
) |
|
inline |
EdbPattern * EdbPattern::ExtractSubPattern | ( | float | min[5], |
float | max[5], | ||
int | MCevt = -1 |
||
) |
return the copy of selected segments
void EdbPattern::FillCell | ( | float | stepx, |
float | stepy, | ||
float | steptx, | ||
float | stepty | ||
) |
fill cells with fixed size at z=zPat
int EdbPattern::FindCompliments | ( | EdbSegP & | s, |
TObjArray & | arr, | ||
float | nsig, | ||
float | nsigt | ||
) |
return the array of segments compatible with the prediction segment s with the accuracy of nsig (in sigmas)
TODO: move this cycle into iterator
EdbSegP * EdbPattern::FindSegment | ( | int | id | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void EdbPattern::Set0 | ( | ) |
void EdbPattern::SetSegmentsPID | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
float EdbPattern::SummaryPath | ( | ) |
calculate the microscope path of the eventual prediction scan of this pattern
|
private |
associated with eSegments
|
private |
pattern flag
|
private |
pattern id in the volume
|
private |
number of segments selected for affine calculation
|
private |
correspond to the piece ID
|
private |
main scanning ID for this pattern, defined when possible
|
private |
emulsion side 0/1/2, defined when possible
|
private |
accuracy in comparison to neibour pattern
|
private |
|
private |
bin size for the index cell
|
private |
|
private |
bin size for the index cell