Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:57

0001 
0002 #include "RecoEgamma/EgammaMCTools/interface/PhotonMCTruth.h"
0003 #include "RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h"
0004 
0005 #include <iostream>
0006 
0007 PhotonMCTruth::PhotonMCTruth(int isAConversion,
0008                              CLHEP::HepLorentzVector phoMom,
0009                              int vertIndex,
0010                              int trackId,
0011                              int motherId,
0012                              CLHEP::HepLorentzVector mothMom,
0013                              CLHEP::HepLorentzVector mothVtx,
0014                              CLHEP::HepLorentzVector convVertex,
0015                              CLHEP::HepLorentzVector pV,
0016                              std::vector<ElectronMCTruth>& electrons)
0017     : isAConversion_(isAConversion),
0018       thePhoton_(phoMom),
0019       theVertexIndex_(vertIndex),
0020       theTrackId_(trackId),
0021       theMotherId_(motherId),
0022       theMotherMom_(mothMom),
0023       theMotherVtx_(mothVtx),
0024       theConvVertex_(convVertex),
0025       thePrimaryVertex_(pV),
0026       theElectrons_(electrons) {}