11 #include "AthLinks/ElementLink.h"
17 m_sFEContainerName(sFEContainerName),
18 m_doNeutralFE(doNeutralFE)
100 TLorentzVector FE_fourvec=FE.
p4();
103 std::vector< ElementLink < xAOD::MuonContainer > > MuonLinks=acc_muon_FE_Link(FE);
104 int nMuons_per_FE=MuonLinks.size();
116 std::cerr <<
"FlowElement_LinkerPlots encountered an invalid muon element link. Skipping. "<<std::endl;
120 TLorentzVector muon_fourvec=
muon->p4();
121 double deltaR=muon_fourvec.DeltaR(FE_fourvec);
122 if(
muon->muonType()==4)
140 std::vector< ElementLink < xAOD::ElectronContainer > > ElectronLinks=acc_electron_FE_Link(FE);
141 int nElectrons_per_FE=ElectronLinks.size();
142 if(nElectrons_per_FE>0){
152 std::cerr <<
"FlowElement_LinkerPlots encountered an invalid electron element link. Skipping. "<<std::endl;
156 TLorentzVector electron_fourvec=
electron->p4();
157 double deltaR=electron_fourvec.DeltaR(FE_fourvec);
167 std::vector< ElementLink < xAOD::PhotonContainer > > PhotonLinks=acc_photon_FE_Link(FE);
168 int nPhotons_per_FE=PhotonLinks.size();
169 if(nPhotons_per_FE>0){
178 if (!PhotonLink.isValid()){
179 std::cerr <<
"FlowElement_LinkerPlots encountered an invalid photon element link. Skipping. "<<std::endl;
183 TLorentzVector photon_fourvec=
photon->p4();
184 double deltaR=photon_fourvec.DeltaR(FE_fourvec);
194 std::vector< ElementLink < xAOD::TauJetContainer > > TaujetLinks=acc_tau_FE_Link(FE);
195 int nTaujets_per_FE=TaujetLinks.size();
196 if(nTaujets_per_FE>0){
203 TLorentzVector FE_fourvec=FE.
p4();
206 if (!TaujetLink.isValid()){
207 std::cerr <<
"FlowElement_LinkerPlots encountered an invalid tau jet element link. Skipping. "<<std::endl;
211 TLorentzVector taujet_fourvec=taujet->
p4();
212 double deltaR=taujet_fourvec.DeltaR(FE_fourvec);