Skip to content

Commit

Permalink
Merge pull request #103 from JeffersonLab/iss102-schemas
Browse files Browse the repository at this point in the history
added MC::RecMatch and MC::GenMatch to the dst schema, created dcalig…
  • Loading branch information
baltzell authored Sep 19, 2023
2 parents 9488452 + 328e326 commit 8d8f464
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
9 changes: 7 additions & 2 deletions etc/bankdefs/util/bankSplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def create(dirname, banklist):
print("Single json files saved in " + workdirectory + singledirectory)

# these should *always* be kept:
mc = ["MC::Event", "MC::Header", "MC::Lund", "MC::Particle", "MC::True"]
mc = ["MC::Event", "MC::GenMatch", "MC::Header", "MC::Lund", "MC::Particle", "MC::RecMatch", "MC::True"]
tag1 = ["RUN::config", "RAW::epics", "RAW::scaler", "RUN::scaler", "COAT::config", "HEL::flip", "HEL::online"]

# these are the output of the event builder:
Expand Down Expand Up @@ -84,14 +84,19 @@ def create(dirname, banklist):
ebrerun = list(dst)
ebrerun.extend(["FTOF::clusters","FTOF::hbclusters","TimeBasedTrkg::TBTracks","TimeBasedTrkg::Trajectory","TimeBasedTrkg::TBCovMat","HitBasedTrkg::HBTracks","HitBasedTrkg::Trajectory","ECAL::clusters","ECAL::calib","CTOF::clusters","CND::clusters","HTCC::rec","LTCC::clusters","ECAL::moments","CVTRec::Tracks","CVTRec::Trajectory","FT::particles","FTCAL::clusters","FTHODO::clusters","RUN::rf"])

# EC rerun schema adds ECAL raw banks to the EB rerun scehma:
# EC rerun schema adds ECAL raw banks to the EB rerun schema:
ecrerun = list(ebrerun)
ecrerun.extend(["ECAL::tdc","ECAL::adc"])

# DC alignment and AI-tracking validation schema:
dcalign = list(dst)
dcalign.extend(["ai::tracks", "aidn::tracks", "TimeBasedTrkg::AIClusters", "TimeBasedTrkg::AIHits", "TimeBasedTrkg::AITracks", "TimeBasedTrkg::TBClusters", "TimeBasedTrkg::TBHits", "TimeBasedTrkg::TBTracks"])

create("dst/", set(dst))
create("dsthb/", set(dsthb))
create("calib/", set(calib))
create("mon/", set(mon))
create("ebrerun/", set(ebrerun))
create("ecrerun/", set(ecrerun))
create("dcalign/", set(dcalign))

4 changes: 1 addition & 3 deletions etc/services/dcalign.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ configuration:
# timestamp: 12/31/2020-00:00:00
# io-services:
# writer:
# schema_dir: "absolute-path-to-schema-folder"
# for example:
# schema_dir: "/home/clas12-1/chef/myClara/plugins/clas12/etc/bankdefs/dst"
# schema_dir: "absolute-path-to-distribution/etc/bankdefs/hipo4/singles/dcalign"
services:
MAGFIELDS:
magfieldSolenoidMap: Symm_solenoid_r601_phi1_z1201_13June2018.dat
Expand Down
2 changes: 1 addition & 1 deletion etc/services/denoise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ configuration:
rawBankGroup: "NODENOISE"
DCRAI:
#rawBankGroup: "DEFAULT"
#rawBankGroup: "NODENOISE"
rawBankGroup: "NOISE1"
outputBankPrefix: "DN"
MLTD:
run: "6302"
Expand Down

0 comments on commit 8d8f464

Please sign in to comment.