36 std::cout <<
"Initalizing HLTConfigProvider" << std::endl;
53 for (
auto& parameterName : parameterNames) {
54 if (parameterName ==
"Debug")
55 _Debug = myHltParams.getParameter<
bool>(parameterName);
61 const int kMaxTrigFlag = 10000;
66 const int kMaxL1Flag = 10000;
67 l1flag =
new int[kMaxL1Flag];
75 const int kMaxHLTPart = 10000;
76 hltppt =
new float[kMaxHLTPart];
77 hltpeta =
new float[kMaxHLTPart];
95 std::cout <<
"%HLTInfo -- No trigger name given in TriggerResults of the input " << std::endl;
102 for (
int itrig = 0; itrig != ntrigs; ++itrig) {
110 TString
trigName(dummyBranche.data());
111 bool addThisBranch =
true;
112 for (
int itrig = 0; itrig != ntrigs; ++itrig) {
115 addThisBranch =
false;
135 for (
int itrig = 0; itrig != ntrigs; ++itrig) {
150 std::cout <<
"%HLTInfo -- Number of HLT Triggers: " << ntrigs << std::endl;
156 std::cout <<
"%HLTInfo -- No Trigger Result" << std::endl;
188 if (iErrorCode == 0) {
190 std::cout <<
"%Prescale set index: " << pfSetIndexAlgorithmTrigger << std::endl;
192 std::cout <<
"%Could not extract Prescale set index from event record. Error code: " << iErrorCode << std::endl;
199 std::cout <<
"%L1Results -- No trigger name given in TriggerResults of the input " << std::endl;
207 for (
auto const& keyval :
menu->getAlgorithmMap()) {
209 unsigned int index = keyval.second.getIndex();
216 TString l1trigName = static_cast<const char*>(
algoBitToName[itrig]);
219 HltTree->Branch(l1trigName,
l1flag + itrig, l1trigName +
"/I");
220 HltTree->Branch(l1trigName +
"_Prescl",
l1Prescl + itrig, l1trigName +
"_Prescl/I");
230 for (
unsigned int itrig = 0; itrig <
result.maxPhysicsTriggers; ++itrig) {
233 bool myflag =
result.getAlgoDecisionFinal(itrig);
250 std::cout <<
"%L1Info -- Done with routine" << std::endl;
255 std::cout <<
"%L1Results -- No Trigger Result" << std::endl;