Skip to content

Commit e5a39ae

Browse files
authored
Merge branch 'develop' into bugfix/frameshift_offbeam
2 parents 9ea0f59 + a6dd913 commit e5a39ae

25 files changed

Lines changed: 2043 additions & 70 deletions

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
1717

1818
find_package(cetmodules 3.20.00 REQUIRED)
19-
project(sbncode VERSION 10.10.02 LANGUAGES CXX)
19+
project(sbncode VERSION 10.10.05 LANGUAGES CXX)
2020

2121
message(STATUS "\n\n ========================== ${PROJECT_NAME} ==========================")
2222

sbncode/BeamSpillInfoRetriever/job/run_sbndbnbinfo_sbn.fcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ physics: {
3434
stream1: [ out1 ]
3535
}
3636

37-
physics.producers.sbndbnbinfo.module_type: "SBNDBNBRetriever"
37+
physics.producers.bnbinfo.module_type: "SBNDBNBRetriever"
3838

3939
outputs: {
4040
out1: {
@@ -45,4 +45,4 @@ outputs: {
4545
}
4646
}
4747

48-
physics.producers.sbndbnbinfo.fileNames: @local::outputs.out1.fileName
48+
physics.producers.bnbinfo.fileNames: @local::outputs.out1.fileName

sbncode/CAFMaker/CAFMakerParams.h

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ namespace caf
1616
template<class T> using Atom = fhicl::Atom<T>;
1717
template<class T> using Sequence = fhicl::Sequence<T>;
1818
template<class T> using Table = fhicl::Table<T>;
19+
template<class T> using OptionalTable = fhicl::OptionalTable<T>;
1920
using Comment = fhicl::Comment;
2021
using Name = fhicl::Name;
2122
using string = std::string;
@@ -320,6 +321,12 @@ namespace caf
320321
"crthit" // icarus
321322
};
322323

324+
Atom<string> CRTSimChanLabel {
325+
Name("CRTSimChanLabel"),
326+
Comment("Label of AuxDetSimChannels."),
327+
"genericcrt" // icarus
328+
};
329+
323330
Atom<string> CRTTrackLabel {
324331
Name("CRTTrackLabel"),
325332
Comment("Label of sbn CRT tracks."),
@@ -362,6 +369,12 @@ namespace caf
362369
"" //Empty by default, configured in icaruscode cafmaker_defs
363370
};
364371

372+
Atom<string> CorrectedOpFlashLabel {
373+
Name("CorrectedOpFlashLabel"),
374+
Comment("Label of CorrectedOpFlash containing tpc-corrected flash time."),
375+
""
376+
};
377+
365378
Atom<art::InputTag> NuGraphSliceHitLabel {
366379
Name("NuGraphSliceHitLabel"),
367380
Comment("Label of NuGraph slice hit map."),
@@ -410,6 +423,30 @@ namespace caf
410423
"emuTriggerUnshifted"
411424
};
412425

426+
Atom<art::InputTag> MonPulsesTriggerLabel {
427+
Name("MonPulsesTriggerLabel"),
428+
Comment("Label of trigger emulation product MonPulses (number of PMT pairs above threshold for all channels) for all flashes."),
429+
art::InputTag("opdaq", "MonPulses", "DetSim")
430+
};
431+
432+
Atom<art::InputTag> MonPulseSizesTriggerLabel {
433+
Name("MonPulseSizesTriggerLabel"),
434+
Comment("Label of trigger emulation product MonPulses Sizes, which gives the length of each trigger response in MonPulses."),
435+
art::InputTag("opdaq", "MonPulseSizes", "DetSim")
436+
};
437+
438+
Atom<art::InputTag> PairsTriggerLabel {
439+
Name("PairsTriggerLabel"),
440+
Comment("Label of number of PMT pairs over threshold."),
441+
art::InputTag("opdaq", "pairsOverThreshold", "DetSim")
442+
};
443+
444+
Atom<art::InputTag> EmulatedTriggerLabel {
445+
Name("EmulatedTriggerLabel"),
446+
Comment("Label of bool of passing the trigger."),
447+
art::InputTag("opdaq", "triggerEmulation", "DetSim")
448+
};
449+
413450
Atom<string> FlashTrigLabel {
414451
Name("FlashTrigLabel"),
415452
Comment("Label of bool of passing flash trigger."),
@@ -470,6 +507,92 @@ namespace caf
470507
25.
471508
};
472509

510+
struct PFOCharLabels_t {
511+
Atom<string> EndFractionName {
512+
Name("EndFractionName"),
513+
Comment("Provide the tool name for the EndFraction BDT variable."),
514+
"LArThreeDChargeFeatureTool_EndFraction"
515+
};
516+
517+
Atom<string> FractionalSpreadName {
518+
Name("FractionalSpreadName"),
519+
Comment("Provide the tool name for the FractionalSpread BDT variable."),
520+
"LArThreeDChargeFeatureTool_FractionalSpread"
521+
};
522+
523+
Atom<string> DiffStraightLineMeanName {
524+
Name("DiffStraightLineMeanName"),
525+
Comment("Provide the tool name for the DiffStraightLineMean BDT variable."),
526+
"LArThreeDLinearFitFeatureTool_DiffStraightLineMean"
527+
};
528+
529+
Atom<string> LengthName {
530+
Name("LengthName"),
531+
Comment("Provide the tool name for the Length BDT variable."),
532+
"LArThreeDLinearFitFeatureTool_Length"
533+
};
534+
535+
Atom<string> MaxFitGapLengthName {
536+
Name("MaxFitGapLengthName"),
537+
Comment("Provide the tool name for the MaxFitGapLength BDT variable."),
538+
"LArThreeDLinearFitFeatureTool_MaxFitGapLength"
539+
};
540+
541+
Atom<string> SlidingLinearFitRMSName {
542+
Name("SlidingLinearFitRMSName"),
543+
Comment("Provide the tool name for the SlidingLinearFitRMS BDT variable."),
544+
"LArThreeDLinearFitFeatureTool_SlidingLinearFitRMS"
545+
};
546+
547+
Atom<string> AngleDiffName {
548+
Name("AngleDiffName"),
549+
Comment("Provide the tool name for the AngleDiff BDT variable."),
550+
"LArThreeDOpeningAngleFeatureTool_AngleDiff"
551+
};
552+
553+
Atom<string> SecondaryPCARatioName {
554+
Name("SecondaryPCARatioName"),
555+
Comment("Provide the tool name for the SecondaryPCARatio BDT variable."),
556+
"LArThreeDPCAFeatureTool_SecondaryPCARatio"
557+
};
558+
559+
Atom<string> TertiaryPCARatioName {
560+
Name("TertiaryPCARatioName"),
561+
Comment("Provide the tool name for the TertiaryPCARatio BDT variable."),
562+
"LArThreeDPCAFeatureTool_TertiaryPCARatio"
563+
};
564+
565+
Atom<string> VertexDistanceName {
566+
Name("VertexDistanceName"),
567+
Comment("Provide the tool name for the VertexDistance BDT variable."),
568+
"LArThreeDVertexDistanceFeatureTool_VertexDistance"
569+
};
570+
571+
Atom<string> HaloTotalRatioName {
572+
Name("HaloTotalRatioName"),
573+
Comment("Provide the tool name for the HaloTotalRatio BDT variable."),
574+
"LArConeChargeFeatureTool_HaloTotalRatio"
575+
};
576+
577+
Atom<string> ConcentrationName {
578+
Name("ConcentrationName"),
579+
Comment("Provide the tool name for the Concentration BDT variable."),
580+
"LArConeChargeFeatureTool_Concentration"
581+
582+
};
583+
584+
Atom<string> ConicalnessName {
585+
Name("ConicalnessName"),
586+
Comment("Provide the tool name for the Conicalness BDT variable."),
587+
"LArConeChargeFeatureTool_Conicalness"
588+
};
589+
};
590+
591+
OptionalTable<PFOCharLabels_t> PFOCharLabels {
592+
Name("PFOCharLabels"),
593+
Comment("Provide tool names for the Pandora track/shower discrimination BDT variables.")
594+
};
595+
473596
Atom<bool> ReferencePMTFromTriggerToBeam {
474597
Name("ReferencePMTFromTriggerToBeam"),
475598
Comment("Whether to switch the reference time of PMT reco from 'trigger' to 'beam spill' time."),

0 commit comments

Comments
 (0)