Rev 47 | Rev 90 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 47 | Rev 50 | ||
---|---|---|---|
Line 89... | Line 89... | ||
89 | // ------------------------------------------------------------------------------ |
89 | // ------------------------------------------------------------------------------ |
90 | 90 | ||
91 | int analysisScan(char* dfile0="test", int dbg=0, double tdcCut=5.0) |
91 | int analysisScan(char* dfile0="test", int dbg=0, double tdcCut=5.0) |
92 | { |
92 | { |
93 | 93 | ||
94 | const double c_tdcOffset = + |
94 | const double c_tdcOffset = +97*TDC_BIN; // ns, SiPM4 |
95 | printf(" Data to root conversion program\nUsage:\nd2r(input file name <without .dat>, debug on/off, TDC cut +-[ns])\n\n"); |
95 | printf(" Data to root conversion program\nUsage:\nd2r(input file name <without .dat>, debug on/off, TDC cut +-[ns])\n\n"); |
96 | printf(" OFFSETS: \n x: %d\n y: %d\n t:%f\n", OFFSETX, OFFSETY, c_tdcOffset); |
96 | printf(" OFFSETS: \n x: %d\n y: %d\n t:%f\n", OFFSETX, OFFSETY, c_tdcOffset); |
97 | 97 | ||
98 | char fullname[256]; |
98 | char fullname[256]; |
99 | char sbuff[256]; |
99 | char sbuff[256]; |