From ff101d734247c23654a04752759c105e993eb891 Mon Sep 17 00:00:00 2001 From: fengyvoid Date: Fri, 11 Oct 2024 14:23:52 -0500 Subject: [PATCH] LAPPD_EB tool chain --- configfiles/LAPPD_EB/ConfigGeo | 12 ++++ configfiles/LAPPD_EB/Configs | 56 +++++++++++++++++++ configfiles/LAPPD_EB/LoadRawDataConfig | 12 ++++ configfiles/LAPPD_EB/ToolChainConfig | 24 ++++++++ configfiles/LAPPD_EB/ToolsConfig | 5 ++ configfiles/LAPPD_EB/TriggerDataDecoderConfig | 4 ++ configfiles/LAPPD_EB/my_files.txt | 50 +++++++++++++++++ 7 files changed, 163 insertions(+) create mode 100644 configfiles/LAPPD_EB/ConfigGeo create mode 100644 configfiles/LAPPD_EB/Configs create mode 100644 configfiles/LAPPD_EB/LoadRawDataConfig create mode 100644 configfiles/LAPPD_EB/ToolChainConfig create mode 100644 configfiles/LAPPD_EB/ToolsConfig create mode 100644 configfiles/LAPPD_EB/TriggerDataDecoderConfig create mode 100644 configfiles/LAPPD_EB/my_files.txt diff --git a/configfiles/LAPPD_EB/ConfigGeo b/configfiles/LAPPD_EB/ConfigGeo new file mode 100644 index 000000000..759b28663 --- /dev/null +++ b/configfiles/LAPPD_EB/ConfigGeo @@ -0,0 +1,12 @@ +#LoadGeometry +verbosity 0 +LAPPDChannelCount 60 +FACCMRDGeoFile ./configfiles/LoadGeometry/FullMRDGeometry.csv +DetectorGeoFile ./configfiles/LoadGeometry/DetectorGeometrySpecs.csv +LAPPDGeoFile ./configfiles/LAPPDana/LAPPDGeometry.csv +TankPMTGeoFile ./configfiles/LoadGeometry/FullTankPMTGeometry.csv +TankPMTGainFile ./configfiles/LoadGeometry/ChannelSPEGains2023.csv +TankPMTTimingOffsetFile ./configfiles/LoadGeometry/TankPMTTimingOffsets.csv +AuxiliaryChannelFile ./configfiles/LoadGeometry/AuxChannels.csv +LAPPDMerging 0 + diff --git a/configfiles/LAPPD_EB/Configs b/configfiles/LAPPD_EB/Configs new file mode 100644 index 000000000..0975b4615 --- /dev/null +++ b/configfiles/LAPPD_EB/Configs @@ -0,0 +1,56 @@ + General Parameters +Nsamples 256 #Number of samples in a waveform +SampleSize 100 #Sample size for baseline substraction +TrigChannel 5 #Specified channel the trigger signal will be on +num_vector_pps 16 #Fixed PPS vector size +num_vector_data 7795 #Fixed DATA vector size +NUM_VECTOR_METADATA 103 #Fixed META vector size +LAPPDchannelOffset 1000 +NChannels 30 + +LAPPDStoreReadInVerbosity 0 + +mergingModeReadIn 0 +RawDataInputWavLabel RawWaveform +RawDataOutputWavLabel RawLAPPDData +BoardIndexLabel BoardIndex #Label of the vector of read out boards + +PsecReceiveMode 1 +stopEntries 10000000000 + +DoPedSubtraction 0 +Nboards 6 #Number of pedestal files to be read in +PedinputfileTXT ../Pedestals/Laser2024Feb/P +PSECinputfile /pnfs/annie/persistent/processed/LAPPD40Merged/FinalVersion_withRawTS/FilteredData_PMT_MRDtrack_noveto_15mV_7strips_3xxx_104 + + +Pedinputfile1 ../Pedestals/PEDS_ACDC_board0.txt +Pedinputfile2 ../Pedestals/PEDS_ACDC_board1.txt + + +ReadStore 0 +OutputWavLabel RawLAPPDData +SelectSingleLAPPD false +SelectedLAPPD 0 +loadPSEC 1 +loadPPS 1 +loadOffsets 0 + + +#LAPPDTreeMaker +LoadPulse 0 +LoadHit 0 +LoadWaveform 0 +LoadLAPPDDataTimeStamp 1 +LoadPPSTimestamp 1 +LoadRunInfoRaw 1 +LoadRunInfoANNIEEvent 0 + +treeMakerVerbosity 0 + +treeMakerInputPulseLabel LAPPDPulses +treeMakerInputHitLabel LAPPDHits +treeMakerOutputFileName LAPPDTree.root +LoadTriggerInfo 1 +LoadGroupOption beam +LoadGroupedTriggerInfo 1 diff --git a/configfiles/LAPPD_EB/LoadRawDataConfig b/configfiles/LAPPD_EB/LoadRawDataConfig new file mode 100644 index 000000000..d849fc8f2 --- /dev/null +++ b/configfiles/LAPPD_EB/LoadRawDataConfig @@ -0,0 +1,12 @@ +verbosity 0 +BuildType LAPPDAndCTC +Mode FileList + + +InputFile ./configfiles/LAPPD_EB/my_files.txt + + +DummyRunInfo 1 +StoreTrigOverlap 0 +ReadTrigOverlap 0 +StoreRawData 0 diff --git a/configfiles/LAPPD_EB/ToolChainConfig b/configfiles/LAPPD_EB/ToolChainConfig new file mode 100644 index 000000000..fe4ab0be2 --- /dev/null +++ b/configfiles/LAPPD_EB/ToolChainConfig @@ -0,0 +1,24 @@ + +#ToollChain dynamic setup file + +##### Runtime Paramiters ##### +verbose 1 ## Verbosity level of ToolChain +error_level 0 # 0= do not exit, 1= exit on unhandeled errors only, 2= exit on unhandeled errors and handeled errors +attempt_recover 1 ## 1= will attempt to finalise if an execute fails + +###### Logging ##### +log_mode Interactive # Interactive=cout , Remote= remote logging system "serservice_name Remote_Logging" , Local = local file log; +log_local_path ./log +log_service LogStore + +###### Service discovery ##### Ignore these settings for local analysis +service_publish_sec -1 +service_kick_sec -1 + +##### Tools To Add ##### +Tools_File configfiles/LAPPD_EB/ToolsConfig ## list of tools to run and their config files + +##### Run Type ##### +Inline -1 ## number of Execute steps in program, -1 infinite loop that is ended by user +Interactive 0 ## set to 1 if you want to run the code interactively + diff --git a/configfiles/LAPPD_EB/ToolsConfig b/configfiles/LAPPD_EB/ToolsConfig new file mode 100644 index 000000000..71b067fe2 --- /dev/null +++ b/configfiles/LAPPD_EB/ToolsConfig @@ -0,0 +1,5 @@ +LoadGeometry LoadGeometry configfiles/LAPPD_EB/ConfigGeo +LoadRawData LoadRawData configfiles/LAPPD_EB/LoadRawDataConfig +TriggerDataDecoder TriggerDataDecoder configfiles/LAPPD_EB/TriggerDataDecoderConfig +LAPPDLoadStore LAPPDLoadStore configfiles/LAPPD_EB/Configs +LAPPDTreeMaker LAPPDTreeMaker configfiles/LAPPD_EB/Configs diff --git a/configfiles/LAPPD_EB/TriggerDataDecoderConfig b/configfiles/LAPPD_EB/TriggerDataDecoderConfig new file mode 100644 index 000000000..d3e32f7f8 --- /dev/null +++ b/configfiles/LAPPD_EB/TriggerDataDecoderConfig @@ -0,0 +1,4 @@ +verbosity 0 +#TriggerMaskFile ./configfiles/LAPPDBeamAnalysis/LAPPDRawData/DefaultTriggerMask.txt +StoreTrigOverlap 0 +ReadTrigOverlap 0 diff --git a/configfiles/LAPPD_EB/my_files.txt b/configfiles/LAPPD_EB/my_files.txt new file mode 100644 index 000000000..d047a0162 --- /dev/null +++ b/configfiles/LAPPD_EB/my_files.txt @@ -0,0 +1,50 @@ +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p0 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p1 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p2 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p3 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p4 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p5 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p6 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p7 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p8 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p9 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p10 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p11 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p12 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p13 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p14 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p15 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p16 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p17 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p18 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p19 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p20 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p21 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p22 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p23 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p24 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p25 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p26 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p27 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p28 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p29 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p30 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p31 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p32 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p33 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p34 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p35 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p36 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p37 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p38 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p39 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p40 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p41 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p42 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p43 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p44 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p45 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p46 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p47 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p48 +/pnfs/annie/persistent/raw/raw/4795/RAWDataR4795S0p49