Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hoarding of sim tracks #4254

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions RecoEgamma/EgammaMCTools/interface/PhotonMCTruthFinder.h
Expand Up @@ -28,6 +28,7 @@ class PhotonMCTruthFinder {

std::vector<PhotonMCTruth> find( const std::vector<SimTrack>& simTracks, const std::vector<SimVertex>& simVertices);

void clear() {geantToIndex_.clear();}


private:
Expand Down
2 changes: 1 addition & 1 deletion Validation/EventGenerator/plugins/TTbar_Kinematics.cc
Expand Up @@ -39,7 +39,7 @@ void TTbar_Kinematics::analyze(const edm::Event& iEvent, const edm::EventSetup&
iEvent.getByToken(hepmcCollectionToken_, evt);

//Get EVENT
HepMC::GenEvent *myGenEvent = new HepMC::GenEvent(*(evt->GetEvent()));
const HepMC::GenEvent *myGenEvent = evt->GetEvent();

TLorentzVector tlv_Top, tlv_TopBar, tlv_Bottom, tlv_BottomBar ,tlv_Wplus ,tlv_Wmin , tlv_TTbar;
bool top(false), antitop(false), antibottom(false), bottom(false), Wplus(false), Wmin(false);
Expand Down
2 changes: 1 addition & 1 deletion Validation/RecoEgamma/plugins/PhotonValidator.cc
Expand Up @@ -1637,7 +1637,7 @@ void PhotonValidator::endRun (edm::Run& r, edm::EventSetup const & theEventSetu

void PhotonValidator::analyze( const edm::Event& e, const edm::EventSetup& esup ) {


thePhotonMCTruthFinder_->clear();
using namespace edm;
// const float etaPhiDistance=0.01;
// Fiducial region
Expand Down
2 changes: 1 addition & 1 deletion Validation/RecoEgamma/plugins/TkConvValidator.cc
Expand Up @@ -809,7 +809,7 @@ void TkConvValidator::endRun (edm::Run& r, edm::EventSetup const & theEventSetu


void TkConvValidator::analyze( const edm::Event& e, const edm::EventSetup& esup ) {

thePhotonMCTruthFinder_->clear();
using namespace edm;
// const float etaPhiDistance=0.01;
// Fiducial region
Expand Down