MergEVT include trace and pileup
This commit is contained in:
parent
f198afabf5
commit
088a9200f5
|
@ -61,7 +61,9 @@ int main(int argn, char **argv) {
|
|||
tree->Branch("detID", &detID, "detID/s");
|
||||
tree->Branch("e", &data->energy, "crystal_energy/s");
|
||||
tree->Branch("e_t", &data->time, "crystal_timestamp/l");
|
||||
|
||||
tree->Branch("p", &data->pileup, "pileup/O");
|
||||
tree->Branch("trace_length", &data->trace_length, "trace_length/s");
|
||||
tree->Branch("trace", data->trace, "trace[trace_length]/s");
|
||||
|
||||
TBenchmark gClock;
|
||||
gClock.Reset();
|
||||
|
|
|
@ -39,7 +39,7 @@ void readRawTrace(TString fileName, int minDetID = 0, int maxDetID = 1000){
|
|||
|
||||
/**///==============================================================
|
||||
UShort_t detID;
|
||||
UShort_t trace[1024];
|
||||
UShort_t trace[16000];
|
||||
UShort_t traceLength;
|
||||
Int_t QDC[8];
|
||||
ULong64_t time;
|
||||
|
@ -99,6 +99,7 @@ void readRawTrace(TString fileName, int minDetID = 0, int maxDetID = 1000){
|
|||
cRead->Clear();
|
||||
g->Draw("AL");
|
||||
|
||||
/*
|
||||
text.SetTextColor(kRed);
|
||||
text.DrawLatex(0.12, 0.85, Form("QDC, QDCtrace (diff)"));
|
||||
for( int i = 0; i < 8; i++) {
|
||||
|
@ -109,6 +110,7 @@ void readRawTrace(TString fileName, int minDetID = 0, int maxDetID = 1000){
|
|||
box->SetFillColorAlpha(color[i], 0.1);
|
||||
box->Draw("same");
|
||||
}
|
||||
*/
|
||||
cRead->Update();
|
||||
gSystem->ProcessEvents();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user