FEDRA emulsion software from the OPERA Collaboration
|
#include <EdbSegP.h>
Public Member Functions | |
void | addEMULDigit (TObject *a) |
Int_t | Aid (int i) const |
bool | CheckCOV () const |
Float_t | Chi2 () const |
void | Clear () |
Int_t | Compare (const TObject *obj) const |
void | Copy (const EdbSegP &s) |
TMatrixD & | COV () const |
Float_t | DeltaR (EdbSegP *seg1) const |
Float_t | DeltaTheta (EdbSegP *seg1) const |
Float_t | DZ () const |
Float_t | DZem () const |
EdbSegP () | |
EdbSegP (const EdbSegP &s) | |
EdbSegP (int id, float x, float y, float tx, float ty, float w=0, int flag=0) | |
TRefArray * | EMULDigitArray () const |
Int_t | Flag () const |
void | ForceCOV (TMatrixD &cov) |
Int_t | ID () const |
bool | IsCompatible (EdbSegP &s, float nsigx, float nsigt) const |
Bool_t | IsEqual (const TObject *obj) const |
Bool_t | IsSortable () const |
Int_t | MCEvt () const |
Int_t | MCTrack () const |
void | MergeTo (EdbSegP &s) |
Float_t | P () const |
Float_t | Phi () const |
Int_t | PID () const |
Int_t | Plate () const |
void | Print (Option_t *opt="") const |
void | PrintNice () const |
Float_t | Prob () const |
Float_t | ProbLink (EdbSegP &s1, EdbSegP &s2) |
void | PropagateTo (float z) |
void | PropagateToCOV (float z) |
void | PropagateToDZ (float dz) |
EdbID | ScanID () const |
void | Set (int id, float x, float y, float tx, float ty, float w, int flag) |
void | Set0 () |
void | SetAid (int a, int v, int side=0) |
void | SetChi2 (float chi2) |
void | SetCOV (double *array, int dim=5) |
void | SetCOV (TMatrixD &cov) |
void | SetDZ (float dz) |
void | SetDZem (float dz) |
void | SetErrorP (float sp2) |
void | SetErrors () |
void | SetErrors (float sx2, float sy2, float sz2, float stx2, float sty2, float sp2=1.) |
void | SetErrors0 () |
void | SetErrorsCOV (float sx2, float sy2, float sz2, float stx2, float sty2, float sp2=1.) |
void | SetFlag (int flag) |
void | SetID (int id) |
void | SetMC (int mEvt, int mTrack) |
void | SetP (float p) |
void | SetPID (int pid) |
void | SetPlate (int plateid) |
void | SetProb (float prob) |
void | SetProbability (float p) |
void | SetScanID (EdbID id) |
void | SetSide (int side=0) |
void | SetSZ (float sz) |
void | SetTrack (int trid) |
void | SetTX (Float_t tx) |
void | SetTY (Float_t ty) |
other functions More... | |
void | SetVid (int vid, int sid) |
void | SetVolume (float w) |
void | SetW (float w) |
void | SetX (Float_t x) |
void | SetY (Float_t y) |
void | SetZ (float z) |
Int_t | Side () const |
mandatory virtual functions: More... | |
Float_t | SP () const |
Float_t | STX () const |
Float_t | STY () const |
Float_t | SX () const |
Float_t | SY () const |
Float_t | SZ () const |
Float_t | Theta () const |
Int_t | Track () const |
Float_t | TX () const |
tangens = deltaX/deltaZ More... | |
Float_t | TY () const |
tangens = deltaY/deltaZ More... | |
Int_t | Vid (int i) const |
Float_t | Volume () const |
Float_t | W () const |
Float_t | X () const |
Float_t | Y () const |
Float_t | Z () const |
virtual | ~EdbSegP () |
void Transform(EdbAffine2D &aff) { ((EdbTrack2D*)this)->Transform(&aff); } More... | |
![]() | |
virtual void | Print (Option_t *opt="") const |
virtual void | Substruct (EdbTrack2D *t) |
virtual void | Test () const |
virtual void | Transform (const EdbAffine2D *a) |
virtual | ~EdbTrack2D () |
![]() | |
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 () |
![]() | |
virtual void | Print (Option_t *opt="") const |
virtual void | SetTX (float x)=0 |
virtual void | SetTY (float y)=0 |
virtual void | Substruct (const EdbAngle2D *a) |
virtual void | Test () const |
virtual void | Transform (const EdbAffine2D *a) |
virtual Float_t | TX () const =0 |
tangens = deltaX/deltaZ More... | |
virtual Float_t | TY () const =0 |
tangens = deltaY/deltaZ More... | |
virtual | ~EdbAngle2D () |
Static Public Member Functions | |
static Float_t | Angle (const EdbSegP &s1, const EdbSegP &s2) |
static Float_t | Distance (const EdbSegP &s1, const EdbSegP &s2) |
static void | LinkMT (const EdbSegP *s1, const EdbSegP *s2, EdbSegP *s) |
Public Attributes | |
Float_t | eTX |
Float_t | eTY |
direction tangents More... | |
Float_t | eX |
Float_t | eY |
Float_t | eZ |
coordinates More... | |
Protected Attributes | |
TMatrixD * | eCOV |
covariance matrix of the parameters (x,y,tx,ty,p) More... | |
Private Attributes | |
Int_t | eAid [2] |
[0]-AreaID, [1]-ViewID More... | |
Float_t | eChi2 |
chi-square More... | |
Float_t | eDZ |
the length of segment along z-axis More... | |
Float_t | eDZem |
the length of segment along z-axis in the emulsion More... | |
TRefArray * | eEMULDigitArray |
AM+AC 27/07/07. More... | |
Int_t | eFlag |
Int_t | eID |
segment id (unique in plate) More... | |
Int_t | eMCEvt |
MC event number. More... | |
Int_t | eMCTrack |
MC track number. More... | |
Float_t | eP |
momentum of the particle More... | |
Int_t | ePID |
mother pattern ID More... | |
Float_t | eProb |
probability More... | |
EdbID | eScanID |
Int_t ePlate; //!< plate id. More... | |
Float_t | eSZ |
square of the Z-error More... | |
Int_t | eTrack |
id of the track (-1) if no track, for a track object it represents the index of trk.root file (tracks tree) More... | |
Int_t | eVid [2] |
[0]-view entry in the input tree, [1]-segment entry in the view More... | |
Float_t | eVolume |
segment volume More... | |
Float_t | eW |
weight More... | |
//////////////////////////////////////////////////////////////////////// // EdbSegP // // segment with the attributes useful for processing // // ////////////////////////////////////////////////////////////////////////
|
inline |
EdbSegP::EdbSegP | ( | int | id, |
float | x, | ||
float | y, | ||
float | tx, | ||
float | ty, | ||
float | w = 0 , |
||
int | flag = 0 |
||
) |
|
inline |
|
inlinevirtual |
void Transform(EdbAffine2D &aff) { ((EdbTrack2D*)this)->Transform(&aff); }
|
inline |
|
inline |
|
inline |
< Check Covariance Matrix, is there?
|
inline |
int EdbSegP::Compare | ( | const TObject * | obj | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool EdbSegP::IsCompatible | ( | EdbSegP & | s, |
float | nsigx, | ||
float | nsigt | ||
) | const |
return true if segments are closer then nsig sigma in all coordinates assumed that z is the same
Bool_t EdbSegP::IsEqual | ( | const TObject * | obj | ) | const |
|
inline |
Segments fit by Andrey Aleksandrov (Jul-2003)
|
inline |
|
inline |
create linked segment at Z of s2 TODO - navesti nauku covariantnuiu
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from EdbTrack2D.
void EdbSegP::PrintNice | ( | ) | const |
|
inline |
return probability of the correct link in case Up/Down - specifics is that the position errors are neglected)
void EdbSegP::PropagateTo | ( | float | z | ) |
void EdbSegP::PropagateToCOV | ( | float | z | ) |
void EdbSegP::PropagateToDZ | ( | float | dz | ) |
|
inline |
void EdbSegP::Set0 | ( | ) |
|
inline |
|
inline |
|
inline |
void EdbSegP::SetErrors | ( | float | sx2, |
float | sy2, | ||
float | sz2, | ||
float | stx2, | ||
float | sty2, | ||
float | sp2 = 1. |
||
) |
setting the diagonal elements of covariance matrix
void EdbSegP::SetErrors0 | ( | ) |
void EdbSegP::SetErrorsCOV | ( | float | sx2, |
float | sy2, | ||
float | sz2, | ||
float | stx2, | ||
float | sty2, | ||
float | sp2 = 1. |
||
) |
calculation of the non-diagonal covariance matrix considering the input sigma being in the track plane (Y - is transversal axis)
|
inline |
other functions
|
inlinevirtual |
Reimplemented from EdbPoint2D.
|
inline |
mandatory virtual functions:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements EdbPoint2D.
|
inlinevirtual |
Implements EdbPoint2D.
|
inlinevirtual |
Reimplemented from EdbPoint2D.
|
private |
[0]-AreaID, [1]-ViewID
|
private |
chi-square
|
protected |
covariance matrix of the parameters (x,y,tx,ty,p)
|
private |
the length of segment along z-axis
|
private |
the length of segment along z-axis in the emulsion
|
private |
AM+AC 27/07/07.
|
private |
|
private |
segment id (unique in plate)
|
private |
MC event number.
|
private |
MC track number.
|
private |
momentum of the particle
|
private |
mother pattern ID
|
private |
probability
|
private |
Int_t ePlate; //!< plate id.
brick:plate:major:minor
|
private |
square of the Z-error
|
private |
id of the track (-1) if no track, for a track object it represents the index of trk.root file (tracks tree)
Float_t EdbSegP::eTX |
Float_t EdbSegP::eTY |
direction tangents
|
private |
[0]-view entry in the input tree, [1]-segment entry in the view
|
private |
segment volume
|
private |
weight
Float_t EdbSegP::eX |
Float_t EdbSegP::eY |
Float_t EdbSegP::eZ |
coordinates