14 std::unique_ptr<TrigConf::L1ThrExtraInfoBase> extraInfo(
nullptr);
16 if( thrTypeName ==
"EM" )
17 return std::make_unique<L1ThrExtraInfo_EMTAULegacy>(thrTypeName,
data);
19 if( thrTypeName ==
"TAU" )
20 return std::make_unique<L1ThrExtraInfo_EMTAULegacy>(thrTypeName,
data);
22 if( thrTypeName ==
"JET" )
23 return std::make_unique<L1ThrExtraInfo_JETLegacy>(thrTypeName,
data);
25 if( thrTypeName ==
"XS" )
26 return std::make_unique<L1ThrExtraInfo_XSLegacy>(thrTypeName,
data);
28 if( thrTypeName ==
"MU" )
29 return std::make_unique<L1ThrExtraInfo_MU>(thrTypeName,
data);
31 if( thrTypeName ==
"eEM" )
32 return std::make_unique<L1ThrExtraInfo_eEM>(thrTypeName,
data);
34 if( thrTypeName ==
"jEM" )
35 return std::make_unique<L1ThrExtraInfo_jEM>(thrTypeName,
data);
37 if( thrTypeName ==
"eTAU" )
38 return std::make_unique<L1ThrExtraInfo_eTAU>(thrTypeName,
data);
40 if( thrTypeName ==
"jTAU" )
41 return std::make_unique<L1ThrExtraInfo_jTAU>(thrTypeName,
data);
43 if( thrTypeName ==
"cTAU" )
44 return std::make_unique<L1ThrExtraInfo_cTAU>(thrTypeName,
data);
46 if( thrTypeName ==
"jJ" )
47 return std::make_unique<L1ThrExtraInfo_jJ>(thrTypeName,
data);
49 if( thrTypeName ==
"jLJ" )
50 return std::make_unique<L1ThrExtraInfo_jLJ>(thrTypeName,
data);
52 if( thrTypeName ==
"gJ" )
53 return std::make_unique<L1ThrExtraInfo_gJ>(thrTypeName,
data);
55 if( thrTypeName ==
"gLJ" )
56 return std::make_unique<L1ThrExtraInfo_gLJ>(thrTypeName,
data);
58 if( thrTypeName ==
"jXE" )
59 return std::make_unique<L1ThrExtraInfo_jXE>(thrTypeName,
data);
61 if( thrTypeName ==
"jTE" )
62 return std::make_unique<L1ThrExtraInfo_jTE>(thrTypeName,
data);
64 if( thrTypeName ==
"gXE" )
65 return std::make_unique<L1ThrExtraInfo_gXE>(thrTypeName,
data);
67 if( thrTypeName ==
"gTE" )
68 return std::make_unique<L1ThrExtraInfo_gTE>(thrTypeName,
data);
71 return std::make_unique<L1ThrExtraInfoBase>(thrTypeName,
data);