Skip to content

Commit

Permalink
LAPPD_EB tool chain (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyvoid authored Nov 27, 2024
1 parent 0d9aca0 commit 17eeb30
Show file tree
Hide file tree
Showing 7 changed files with 163 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configfiles/LAPPD_EB/ConfigGeo
Original file line number Diff line number Diff line change
@@ -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

56 changes: 56 additions & 0 deletions configfiles/LAPPD_EB/Configs
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions configfiles/LAPPD_EB/LoadRawDataConfig
Original file line number Diff line number Diff line change
@@ -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
24 changes: 24 additions & 0 deletions configfiles/LAPPD_EB/ToolChainConfig
Original file line number Diff line number Diff line change
@@ -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

5 changes: 5 additions & 0 deletions configfiles/LAPPD_EB/ToolsConfig
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions configfiles/LAPPD_EB/TriggerDataDecoderConfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
verbosity 0
#TriggerMaskFile ./configfiles/LAPPDBeamAnalysis/LAPPDRawData/DefaultTriggerMask.txt
StoreTrigOverlap 0
ReadTrigOverlap 0
50 changes: 50 additions & 0 deletions configfiles/LAPPD_EB/my_files.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 17eeb30

Please sign in to comment.