41 ATH_MSG_DEBUG(
" Size of the AllChains trigger container: " << size_AllChains );
42 for (
int i =0;
i<size_AllChains;
i++){
64 ANA_CHECK(fillEventInfoHistogram<float>(tcEventInfo,
"AvgMu",
"eventInfo" ));
65 if (pfjets->
size()>0){
67 ANA_CHECK(fillEventInfoHistogram<int>(tcEventInfo,
"NumPV",
"eventInfo" ));
68 ANA_CHECK(fillEventInfoHistogram<double>(tcEventInfo,
"JetDensityEMPFlow",
"eventInfo" ));
72 ANA_CHECK(fillEventInfoHistogram<double>(tcEventInfo,
"JetDensityEMTopo",
"eventInfo" ));
75 const std::vector<std::string> jetCalibStates = {
"JetConstitScaleMomentum_pt",
"JetPileupScaleMomentum_pt",
"JetEtaJESScaleMomentum_pt"};
76 const std::vector<std::string> pfjetCalibStates = {
"JetConstitScaleMomentum_pt",
"JetPileupScaleMomentum_pt",
"JetEtaJESScaleMomentum_pt",
"JetGSCScaleMomentum_pt"};
89 for (
auto calibState: jetCalibStates){
92 ANA_CHECK( (fillObjectVariableHistogram<J,float>(
jets,
"N90Constituents",
"jet", trigName )) );
93 ANA_CHECK( (fillObjectVariableHistogram<J,float>(
jets,
"Timing",
"jet", trigName, -99)) );
94 ANA_CHECK( (fillObjectVariableHistogram<J,float>(
jets,
"EMFrac",
"jet", trigName, -99)) );
95 ANA_CHECK( (fillObjectVariableHistogram<J,float>(
jets,
"HECFrac",
"jet", trigName, -99)) );
100 ANA_CHECK(fillParticleHistograms<J>(pfjets,
"pfjet", trigName));
101 if (pfjets->
size()>0){
102 for (
auto calibState: pfjetCalibStates){
105 ANA_CHECK( fillJetTrackVariableHistogram<float>(pfjets,
"TrackWidthPt1000",
"pfjet", trigName) );
106 ANA_CHECK( fillJetTrackVariableHistogram<int> (pfjets,
"NumTrkPt1000",
"pfjet", trigName) );
107 ANA_CHECK( fillJetTrackVariableHistogram<float>(pfjets,
"SumPtTrkPt500",
"pfjet", trigName) );
108 ANA_CHECK( fillJetTrackVariableHistogram<float>(pfjets,
"SumPtChargedPFOPt500",
"pfjet", trigName) );
109 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"ActiveArea",
"pfjet", trigName)) );
110 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"Jvt",
"pfjet", trigName, -99)) );
111 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"JvtRpt",
"pfjet", trigName, -99)) );
112 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"fastDIPS20211215_pu",
"pfjet", trigName)) );
113 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"fastDIPS20211215_pb",
"pfjet", trigName)) );
114 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"fastDIPS20211215_pc",
"pfjet", trigName)) );
115 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"GN120230331_pu",
"pfjet", trigName)) );
116 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"GN120230331_pb",
"pfjet", trigName)) );
117 ANA_CHECK( (fillObjectVariableHistogram<J,float>(pfjets,
"GN120230331_pc",
"pfjet", trigName)) );
122 ATH_CHECK(fillParticleHistograms<xAOD::Photon>(phs,
"ph", trigName));
126 ANA_CHECK(fillParticleHistograms<xAOD::Muon>(muons,
"muon", trigName));
131 if (tracks->
size()>0 && trigName.find(
"pf_ftf") != std::string::npos) {
132 ANA_CHECK( fillParticleHistograms<TP>(tracks,
"trk", trigName) );
133 ANA_CHECK( (fillObjectVariableHistogram<TP,float>(tracks,
"qOverP",
"trk", trigName)) );
134 ANA_CHECK( (fillObjectVariableHistogram<TP,float>(tracks,
"chiSquared",
"trk", trigName)) );
135 ANA_CHECK( (fillObjectVariableHistogram<TP,float>(tracks,
"numberDoF",
"trk", trigName)) );
136 ANA_CHECK( (fillObjectVariableHistogram<TP,float>(tracks,
"btagIp_d0",
"trk", trigName)) );
137 ANA_CHECK( (fillObjectVariableHistogram<TP,float>(tracks,
"btagIp_d0Uncertainty",
"trk", trigName)) );
138 ANA_CHECK( (fillObjectVariableHistogram<TP,float>(tracks,
"btagIp_z0SinTheta",
"trk", trigName)) );
139 ANA_CHECK( (fillObjectVariableHistogram<TP,float>(tracks,
"btagIp_z0SinThetaUncertainty",
"trk", trigName)) );
144 if(
jets->size()>=2) {
148 if(pfjets->
size()>=2) {
152 if(
jets->size()>=1 && phs->
size()>=1) {
156 if(pfjets->
size()>=1 && phs->
size()>=1) {
162 return StatusCode::SUCCESS;
176 dr =
p0->p4().DeltaR(
p1->p4());
177 fill(
"TrigTLAMonitor",
dr);
179 return StatusCode::SUCCESS;
189 auto status =
jet->getAttribute<
float>(calibState, ptCalibScale);
193 ptCalibScale = ptCalibScale*1
e-3;
194 fill(
"TrigTLAMonitor",ptCalibScale);
199 return StatusCode::SUCCESS;