Skip to content

Commit

Permalink
give the flat-CAF option a default
Browse files Browse the repository at this point in the history
  • Loading branch information
chenel committed Jul 17, 2023
1 parent b4e1380 commit b7e3204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Params.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ namespace cafmaker
fhicl::OptionalAtom<std::string> tmsRecoFile { fhicl::Name{"TMSRecoFile"}, fhicl::Comment("Input TMS reco .root file") };
fhicl::OptionalAtom<std::string> sandRecoFile { fhicl::Name{"SANDRecoFile"}, fhicl::Comment("Input SAND reco .root file") };

// this is optional, will result in an extra output file if enabled
fhicl::OptionalAtom<bool> makeFlatCAF { fhicl::Name({"MakeFlatCAF"}), fhicl::Comment("Make 'flat' CAF in addition to structured CAF?") };
// this is optional by way of the default value. Will result in an extra output file if enabled
fhicl::Atom<bool> makeFlatCAF { fhicl::Name{"MakeFlatCAF"}, fhicl::Comment("Make 'flat' CAF in addition to structured CAF?"), true };

// these are optional and have defaults
fhicl::Atom<int> first { fhicl::Name("FirstEvt"), fhicl::Comment("Start processing from this event number"), 0 };
Expand Down

0 comments on commit b7e3204

Please sign in to comment.