FEDRA emulsion software from the OPERA Collaboration
|
Base scanning data object: entry into Run tree. More...
#include <EdbView.h>
Public Member Functions | |
EdbCluster * | AddCluster (EdbCluster *c) |
EdbCluster * | AddCluster (float x, float y, float z, float a, float v, int f, int s, int seg=-1) |
void | AddFrame (EdbFrame *frame) |
void | AddFrame (int id, float z, int ncl=0, int npix=0) |
EdbSegment * | AddSegment (EdbSegment &s) |
void | AddSegment (EdbSegment *s) |
EdbSegment * | AddSegment (float x, float y, float z, float tx, float ty, float dz=0, int side=0, int puls=0, int id=-1) |
void | AddTrack (EdbTrack *t) |
int | AttachClustersToSegments () |
int | AttachClustersToSegmentsFast () |
int | AttachClustersToSegmentsSlow () |
int | AttachSegmentsToTracks () |
void | Clear () |
void | DeleteClustersFog () |
void | Draw (Option_t *option="") |
TPolyMarker3D * | DrawClustersFog (Option_t *opt=0) const |
TPolyMarker3D * | DrawClustersSegments (Option_t *opt=0) const |
EdbView () | |
void | GenerateClustersFog (float density) |
void | GenerateClustersSegment (EdbSegment *segment, int n0=25, float sigma=.1) |
void | GenerateClustersTrack (EdbTrack *track, int n0=25, float sigma=.1) |
void | GenerateFrames (int n=32) |
Int_t | GetAreaID () const |
EdbCluster * | GetCluster (int i) const |
TClonesArray * | GetClusters () const |
void * | GetClustersAddr () |
TList * | GetClustersFrame (int frame) const |
Float_t | GetDZbot () const |
Float_t | GetDZtop () const |
EdbFrame * | GetFrame (int i) const |
TClonesArray * | GetFrames () const |
void * | GetFramesAddr () |
EdbViewHeader * | GetHeader () const |
void * | GetHeaderAddr () |
Long_t | GetLastSystemTime () const |
Int_t | GetNframes () const |
Int_t | GetNframesBot () const |
Int_t | GetNframesTop () const |
EdbSegment * | GetSegment (int i) const |
TClonesArray * | GetSegments () const |
void * | GetSegmentsAddr () |
TObjArray * | GetSegmentsClusters () const |
Int_t | GetTime () const |
EdbTrack * | GetTrack (int i) const |
TClonesArray * | GetTracks () const |
void * | GetTracksAddr () |
Int_t | GetViewID () const |
Float_t | GetXview () const |
Float_t | GetYview () 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 |
Int_t | Nclusters () const |
Int_t | Nsegments () const |
Int_t | Ntracks () const |
void | Print (Option_t *opt=0) const |
void | PrintClusters (Option_t *opt=0) const |
Int_t | ReadView (char *fname) |
void | Scale (float zscale) |
void | SetAreaID (int id) |
void | SetCoordXY (float x, float y) |
void | SetCoordZ (float z1, float z2, float z3, float z4) |
void | SetLastSystemTime (Long_t time) |
void | SetNframes (int top, int bot) |
void | Shift (float zshift) |
void | Transform (const EdbAffine2D *aff) |
float | Xmin () const |
View coordinates are in pixels. More... | |
float | Ymin () const |
starting from 0 More... | |
float | ZFrameMax () const |
float | ZFrameMin () const |
float | Zmax () const |
float | Zmin () const |
virtual | ~EdbView () |
Private Attributes | |
TClonesArray * | eClusters |
array of Clusters More... | |
TClonesArray * | eFrames |
array of Frames (images) More... | |
EdbViewHeader * | eHeader |
View header. More... | |
Long_t | eLastSystemTime |
system time when view was saved More... | |
TClonesArray * | eSegments |
array of Segments More... | |
TClonesArray * | eTracks |
array of Tracks More... | |
Base scanning data object: entry into Run tree.
EdbView::EdbView | ( | ) |
|
virtual |
|
inline |
|
inline |
void EdbView::AddFrame | ( | int | id, |
float | z, | ||
int | ncl = 0 , |
||
int | npix = 0 |
||
) |
EdbSegment * EdbView::AddSegment | ( | EdbSegment & | s | ) |
return directly pointer to the segment
void EdbView::AddSegment | ( | EdbSegment * | s | ) |
|
inline |
int EdbView::AttachClustersToSegments | ( | ) |
int EdbView::AttachClustersToSegmentsFast | ( | ) |
assume that cluster->GetSegment() == segment entry :
int EdbView::AttachClustersToSegmentsSlow | ( | ) |
if segments do not ordered :
int EdbView::AttachSegmentsToTracks | ( | ) |
Assumed that:
tracks.eID - number of segments in a track
Segments are written consecutively in the order they appear in microtracks (i.e. m0c0,m0c1,m0c2,m1c0,m1c1,m2c0,m2c1...)
void EdbView::Clear | ( | ) |
void EdbView::DeleteClustersFog | ( | ) |
void EdbView::Draw | ( | Option_t * | option = "" | ) |
TPolyMarker3D * EdbView::DrawClustersFog | ( | Option_t * | opt = 0 | ) | const |
TPolyMarker3D * EdbView::DrawClustersSegments | ( | Option_t * | opt = 0 | ) | const |
void EdbView::GenerateClustersFog | ( | float | density | ) |
void EdbView::GenerateClustersSegment | ( | EdbSegment * | segment, |
int | n0 = 25 , |
||
float | sigma = .1 |
||
) |
n0 - mean number of grains/100 microns
sigma - XY dispersion in microns
void EdbView::GenerateFrames | ( | int | n = 32 | ) |
|
inline |
|
inline |
|
inline |
TList * EdbView::GetClustersFrame | ( | int | frame | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
TObjArray * EdbView::GetSegmentsClusters | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void EdbView::Print | ( | Option_t * | opt = 0 | ) | const |
void EdbView::PrintClusters | ( | Option_t * | opt = 0 | ) | const |
int EdbView::ReadView | ( | char * | fname | ) |
void EdbView::Scale | ( | float | zscale | ) |
scale all z coordinates and angles to the given factor
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void EdbView::Shift | ( | float | zshift | ) |
shift all z coordinates to the given offset
void EdbView::Transform | ( | const EdbAffine2D * | aff | ) |
|
inline |
View coordinates are in pixels.
|
inline |
starting from 0
float EdbView::ZFrameMax | ( | ) | const |
float EdbView::ZFrameMin | ( | ) | const |
|
private |
array of Clusters
|
private |
array of Frames (images)
|
private |
View header.
|
private |
system time when view was saved
|
private |
array of Segments
|
private |
array of Tracks