clean repository, update gitignore
This commit is contained in:
parent
73df2edb80
commit
dd9459a47f
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -5,7 +5,7 @@ FSUDAQ_Qt6
|
|||
test
|
||||
test_indep
|
||||
programSettings.txt
|
||||
EventBuilder
|
||||
EventKenshikushi
|
||||
DataGenerator
|
||||
|
||||
data
|
||||
|
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -154,6 +154,7 @@
|
|||
"qchartview": "cpp",
|
||||
"qthread": "cpp",
|
||||
"qrandomgenerator": "cpp",
|
||||
"source_location": "cpp"
|
||||
"source_location": "cpp",
|
||||
"splitpole.C": "cpp"
|
||||
}
|
||||
}
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include "macro.h"
|
||||
#include "ClassDigitizer.h"
|
||||
#include "OnlineEventBuilder.h"
|
||||
|
||||
int main(){
|
||||
|
||||
|
@ -19,7 +18,6 @@ int main(){
|
|||
std::uniform_int_distribution<unsigned short> RanEnergy(1, 1000);
|
||||
std::uniform_int_distribution<unsigned long long> RanTime(1, 50);
|
||||
|
||||
OnlineEventBuilder * eb = new OnlineEventBuilder(digi);
|
||||
unsigned long long time = 0;
|
||||
|
||||
for( int q = 0; q < 3; q ++ ){
|
||||
|
@ -56,11 +54,8 @@ int main(){
|
|||
|
||||
printf("===================================\n");
|
||||
|
||||
eb->BuildEvents(100, true);
|
||||
|
||||
}
|
||||
|
||||
delete eb;
|
||||
delete digi;
|
||||
|
||||
}
|
BIN
EventKenshikushi
BIN
EventKenshikushi
Binary file not shown.
|
@ -12,7 +12,7 @@ CAENLIBS = -lCAENDigitizer
|
|||
|
||||
ROOTLIBS = `root-config --cflags --glibs`
|
||||
|
||||
OBJS = ClassDigitizer.o OnlineEventBuilder.o MultiBuilder.o
|
||||
OBJS = ClassDigitizer.o MultiBuilder.o
|
||||
|
||||
ALL = test test_indep DataGenerator EventKenshikushi
|
||||
|
||||
|
@ -23,26 +23,23 @@ all : $(ALL)
|
|||
clean :
|
||||
/bin/rm -f $(OBJS) $(ALL)
|
||||
|
||||
OnlineEventBuilder.o : OnlineEventBuilder.cpp OnlineEventBuilder.h
|
||||
$(CC) $(COPTS) -c OnlineEventBuilder.cpp
|
||||
|
||||
MultiBuilder.o : MultiBuilder.cpp MultiBuilder.h
|
||||
$(CC) $(COPTS) -c MultiBuilder.cpp
|
||||
|
||||
ClassDigitizer.o : ClassDigitizer.cpp ClassDigitizer.h RegisterAddress.h macro.h ClassData.h
|
||||
$(CC) $(COPTS) -c ClassDigitizer.cpp
|
||||
|
||||
test : test.cpp ClassDigitizer.o OnlineEventBuilder.o
|
||||
test : test.cpp ClassDigitizer.o
|
||||
@echo "--------- making test"
|
||||
$(CC) $(COPTS) -o test test.cpp ClassDigitizer.o OnlineEventBuilder.o $(CAENLIBS) $(ROOTLIBS)
|
||||
$(CC) $(COPTS) -o test test.cpp ClassDigitizer.o $(CAENLIBS) $(ROOTLIBS)
|
||||
|
||||
test_indep : test_indep.cpp RegisterAddress.h macro.h
|
||||
@echo "--------- making test_indep"
|
||||
$(CC) $(COPTS) -o test_indep test_indep.cpp $(CAENLIBS)
|
||||
|
||||
DataGenerator : DataGenerator.cpp ClassDigitizer.o OnlineEventBuilder.o
|
||||
DataGenerator : DataGenerator.cpp ClassDigitizer.o
|
||||
@echo "--------- making DataGenerator"
|
||||
$(CC) $(COPTS) -o DataGenerator DataGenerator.cpp ClassDigitizer.o OnlineEventBuilder.o $(CAENLIBS)
|
||||
$(CC) $(COPTS) -o DataGenerator DataGenerator.cpp ClassDigitizer.o $(CAENLIBS)
|
||||
|
||||
EventKenshikushi : EventKenshikushi.cpp ClassData.h MultiBuilder.o
|
||||
@echo "--------- making EventKenshikushi"
|
||||
|
|
5
test.cpp
5
test.cpp
|
@ -2,8 +2,6 @@
|
|||
#include "ClassData.h"
|
||||
#include "ClassDigitizer.h"
|
||||
|
||||
#include "OnlineEventBuilder.h"
|
||||
|
||||
#include <TROOT.h>
|
||||
#include <TSystem.h>
|
||||
#include <TApplication.h>
|
||||
|
@ -45,8 +43,6 @@ int main(int argc, char* argv[]){
|
|||
|
||||
// const float ch2ns = dig[0]->GetCh2ns();
|
||||
|
||||
OnlineEventBuilder * eb = new OnlineEventBuilder( dig[0] );
|
||||
|
||||
Data * data = dig[0]->GetData();
|
||||
data->ClearData();
|
||||
|
||||
|
@ -68,7 +64,6 @@ int main(int argc, char* argv[]){
|
|||
// printf("-------------- %ld \n", data->Waveform1[0][index].size());
|
||||
|
||||
//data->PrintAllData();
|
||||
eb->BuildEvents(100, false);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user