Event Tracer
Jump to navigation
Jump to search
Meaning of Table
Event = number of Event. Bricks = number of 1st trials. Trials = number of entry in EventTracer
Event summary table (based on events, using the latest trial from each events.)
All = number of Event. Started = number of non-0 microcope. TBA = number of to-be-assigned. = MICROSCOPE0
CS2B
OK = confirmed track >1 or (direx vertex "done" + location "YES") tried = confirmed track != "-" or direct vertex "done" HF CS = High fog CS.
Release note
2008/11/09 - add link to Analysis follower. - repair wrong file links at ScanForth - include bxxxxxx.feedback
2008/10/-- - created
Scan log class
class BrickScanlog{
public:
BrickScanlog(){};
char *logline;
int id;
char brickid[20];
int ibrick;
char brickordinal[5];
char evid[20];
char evtype[10];
char muonmom[10];
char muonax[10];
char muonay[10];
char trial[10];
char name[5][20];
char location[10];
char microscope[10];
// start
char day1[3],mon1[3],year1[5];
char min1[3],hour1[3];
// end
char day2[3],mon2[3],year2[5];
char min2[3],hour2[3];
time_t date1;
time_t date2;
time_t lastupdate;
// CS prediction
char cstype[10];
char cspred[10];
char cspredmu[5];
char startplate[5];
char cspredfound[5];
char cspredfoundmu[5];
// Scanning
char scanback[10];
char directvertex[10];
char totalscan[10];
char vertex[10];
char scanforth[10];
// publication
char publish[10];
char dbid[6][40];
char *comment;
char *comment_ev;
char *comment_sb;
char *comment_ts;
char *comment_ds;
char *comment_pb;
char *comment_fl;
// detail
char camexptime[10];
char lightlevel[10];
char cutoff0[20];
char cutoff1[20];
char brickroot[100];
char wikipage[100];
void setbrickroot(void);
void init(void);
void decode(void);
int decode_form(char *s);
time_t set_date(void);
void setlogline(char *);
};
Files
The default files are copied everytime from brickroot directory.
void cpfile(BrickScanlog *l, char *relativepath, char *filename);
relativepath=relative to brickroot.
void cpfiles(BrickScanlog *l){
char filename[100];
char relativepath[50];
sprintf(filename,"Event_%d_%d_det.gif", l->ibrick, atoi(l->evid));
cpfile(l, "plots/", filename);
sprintf(filename,"Event_%d_%d_vtx.gif", l->ibrick, atoi(l->evid));
cpfile(l, "plots/", filename);
cpfile(l, "plots/", "CS.gif");
cpfile(l, "", "cs_info.txt");
printf(relativepath,"p%03d/", l->startplate);
sprintf(filename,"%d.%s.1.100.man.found.txt",l->ibrick,l->startplate);
cpfile(l, relativepath, filename);
cpfile(l, "plots/", "path.png");
sprintf(filename,"b%06d.0.1.100.stopping_points.txt",l->ibrick);
cpfile(l, "", filename);
}