10 #include "AthLinks/ElementLink.h"
16 m_sFEContainerName(sFEContainerName),
17 m_doNeutralFE(doNeutralFE)
72 TLorentzVector FE_fourvec=FE.
p4();
75 std::vector< ElementLink < xAOD::MuonContainer > > MuonLinks=acc_muon_FE_Link(FE);
76 int nMuons_per_FE=MuonLinks.size();
88 std::cerr <<
"FlowElement_LinkerPlots encountered an invalid muon element link. Skipping. "<<std::endl;
92 TLorentzVector muon_fourvec=
muon->p4();
93 double deltaR=muon_fourvec.DeltaR(FE_fourvec);
94 if(
muon->muonType()==4)
112 std::vector< ElementLink < xAOD::ElectronContainer > > ElectronLinks=acc_electron_FE_Link(FE);
113 int nElectrons_per_FE=ElectronLinks.size();
114 if(nElectrons_per_FE>0){
124 std::cerr <<
"FlowElement_LinkerPlots encountered an invalid electron element link. Skipping. "<<std::endl;
128 TLorentzVector electron_fourvec=
electron->p4();
129 double deltaR=electron_fourvec.DeltaR(FE_fourvec);
139 std::vector< ElementLink < xAOD::PhotonContainer > > PhotonLinks=acc_photon_FE_Link(FE);
140 int nPhotons_per_FE=PhotonLinks.size();
141 if(nPhotons_per_FE>0){
150 if (!PhotonLink.isValid()){
151 std::cerr <<
"FlowElement_LinkerPlots encountered an invalid photon element link. Skipping. "<<std::endl;
155 TLorentzVector photon_fourvec=
photon->p4();
156 double deltaR=photon_fourvec.DeltaR(FE_fourvec);
166 std::vector< ElementLink < xAOD::TauJetContainer > > TaujetLinks=acc_tau_FE_Link(FE);
167 int nTaujets_per_FE=TaujetLinks.size();
168 if(nTaujets_per_FE>0){
175 TLorentzVector FE_fourvec=FE.
p4();
178 if (!TaujetLink.isValid()){
179 std::cerr <<
"FlowElement_LinkerPlots encountered an invalid tau jet element link. Skipping. "<<std::endl;
183 TLorentzVector taujet_fourvec=taujet->
p4();
184 double deltaR=taujet_fourvec.DeltaR(FE_fourvec);