Skip to content
Snippets Groups Projects
Commit b4bc4b96 authored by Alexey Boldyrev's avatar Alexey Boldyrev
Browse files

Undo DEBUG output with information on mother

parent 6bfb4a12
Branches master
No related merge requests found
......@@ -90,7 +90,7 @@ else:
importOptions("$LBDELPHESROOT/options/LbDelphes.py")
#--Number of events
nEvts = 2000
nEvts = 10000
LHCbApp().EvtMax = nEvts
#--Generator phase, set random numbers
......@@ -126,7 +126,6 @@ def writeHits():
OutputStream("GaussTape").ItemList.append("/Event/MCFast/MCParticles#1")
OutputStream("GaussTape").ItemList.append("/Event/MCFast/MCVertices#1")
OutputStream("GaussTape").ItemList.append("/Event/MCFast/MCSimpleParticles#1")
# OutputStream("GaussTape").ItemList.append("/Event/MCFast/MCSimpleVertices#1")
OutputStream("GaussTape").ItemList.append("/Event/Rec/ProtoP/Charged#1")
OutputStream("GaussTape").ItemList.append("/Event/Rec/ProtoP/Neutrals#1")
OutputStream("GaussTape").ItemList.append("/Event/Rec/Track/Best#1")
......
......@@ -247,8 +247,8 @@ StatusCode DelphesAlg::execute() {
++mother ) {
mother_id = static_cast<int>((*mother)->generated_mass());
mother_pid = (*mother)->pdg_id();
std::cout << "mother_id: " << mother_id
<< " mother_pid: " << mother_pid << '\n';
// std::cout << "mother_id: " << mother_id
// << " mother_pid: " << mother_pid << '\n';
}
}
const TLorentzVector &mc_momentum = candidate->Momentum;
......@@ -294,7 +294,7 @@ StatusCode DelphesAlg::execute() {
LHCb::MCParticles::const_iterator savedPart;
for (savedPart = m_genParticleContainer->begin(); savedPart != m_genParticleContainer->end(); savedPart++) {
std::cout << "(*savedPart)->key()=" << (*savedPart)->key() << ' ' << mother_id << "=mother_id\n";
// std::cout << "(*savedPart)->key()=" << (*savedPart)->key() << ' ' << mother_id << "=mother_id\n";
if ((*savedPart)->key() == mother_id) {
origVtx->setMother(*savedPart);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment