31 #include "ExN04StackingActionMessenger.hh"
32 #include "ExN04StackingAction.hh"
44 fMuonCmd->SetGuidance(
"Number of muon for the trigger.");
45 fMuonCmd->SetParameterName(
"N",
true);
46 fMuonCmd->SetDefaultValue(2);
47 fMuonCmd->SetRange(
"N>=0");
50 fIsoMuonCmd->SetGuidance(
"Number of isolated muon for the trigger.");
51 fIsoMuonCmd->SetParameterName(
"N",
true);
52 fIsoMuonCmd->SetDefaultValue(2);
53 fIsoMuonCmd->SetRange(
"N>=0");
56 fIsoCmd->SetGuidance(
"Maximum allowed number of hits in tracker");
57 fIsoCmd->SetGuidance(
" for an isolated muon track (includes hits by muon)");
58 fIsoCmd->SetParameterName(
"N",
true);
59 fIsoCmd->SetDefaultValue(10);
60 fIsoCmd->SetRange(
"N>=0");
63 fRoiCmd->SetGuidance(
"Define RoI angle");
64 fRoiCmd->SetParameterName(
"theta",
true,
true);
65 fRoiCmd->SetDefaultUnit(
"deg");
81 if( command==fMuonCmd )
82 { fMyAction->SetNRequestMuon(fMuonCmd->GetNewIntValue(newValue)); }
83 else if( command==fIsoMuonCmd )
84 { fMyAction->SetNRequestIsoMuon(fIsoMuonCmd->GetNewIntValue(newValue)); }
85 else if( command==fIsoCmd )
86 { fMyAction->SetNIsolation(fIsoCmd->GetNewIntValue(newValue)); }
87 else if( command==fRoiCmd )
88 { fMyAction->SetRoIAngle(fRoiCmd->GetNewDoubleValue(newValue)); }