Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added MC::RecMatch and MC::GenMatch to the dst schema, created dcalig… #103

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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