Skip to content
Snippets Groups Projects
Commit cb2928fa authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'EgammaPhysValMonitoring_duplicate_headers' into 'master'

ATLASRECTS-5798: EgammaPhysValMonitoring remove duplicate headers

See merge request !38778
parents 24f23997 52a69f5f
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!38778ATLASRECTS-5798: EgammaPhysValMonitoring remove duplicate headers
...@@ -7,18 +7,13 @@ ...@@ -7,18 +7,13 @@
#include "xAODTruth/TruthParticle.h" #include "xAODTruth/TruthParticle.h"
#include "xAODTruth/TruthParticleContainer.h" #include "xAODTruth/TruthParticleContainer.h"
#include "xAODTruth/TruthParticleAuxContainer.h" #include "xAODTruth/TruthParticleAuxContainer.h"
#include "xAODTruth/TruthParticle.h"
#include "xAODTruth/TruthParticleContainer.h"
#include "xAODTruth/TruthParticleAuxContainer.h"
#include <iostream> #include <iostream>
using namespace std; using namespace std;
using namespace MCTruthPartClassifier; using namespace MCTruthPartClassifier;
namespace Egamma{ namespace Egamma{
ElectronPlots::ElectronPlots(PlotBase* pParent, const std::string& sDir, ElectronPlots::ElectronPlots(PlotBase* pParent, const std::string& sDir,
const std::string& sParticleType):PlotBase(pParent, sDir), const std::string& sParticleType):PlotBase(pParent, sDir),
m_oKinAllRecoPlots(this, "All/KinPlots/", "All Reco "+ sParticleType +" Electron"), m_oKinAllRecoPlots(this, "All/KinPlots/", "All Reco "+ sParticleType +" Electron"),
m_oShowerShapesAllRecoPlots(this, "All/ShowerShapesPlots/","All Reco "+ sParticleType +" Electron" ), m_oShowerShapesAllRecoPlots(this, "All/ShowerShapesPlots/","All Reco "+ sParticleType +" Electron" ),
...@@ -37,7 +32,7 @@ ElectronPlots::ElectronPlots(PlotBase* pParent, const std::string& sDir, ...@@ -37,7 +32,7 @@ ElectronPlots::ElectronPlots(PlotBase* pParent, const std::string& sDir,
nParticles(nullptr), nParticles(nullptr),
nTypeParticles(nullptr), nTypeParticles(nullptr),
m_sParticleType(sParticleType) m_sParticleType(sParticleType)
{} {}
void ElectronPlots::initializePlots(){ void ElectronPlots::initializePlots(){
nParticles = Book1D("n", "Number of"+ m_sParticleType + "s;#" + m_sParticleType + " electrons;Events", 15, 0, 15.); nParticles = Book1D("n", "Number of"+ m_sParticleType + "s;#" + m_sParticleType + " electrons;Events", 15, 0, 15.);
...@@ -50,27 +45,27 @@ void ElectronPlots::initializePlots(){ ...@@ -50,27 +45,27 @@ void ElectronPlots::initializePlots(){
m_oShowerShapesAllRecoPlots.fill(electron); m_oShowerShapesAllRecoPlots.fill(electron);
m_oIsolationAllRecoPlots.fill(electron); m_oIsolationAllRecoPlots.fill(electron);
m_oTrackAllRecoPlots.fill(electron); m_oTrackAllRecoPlots.fill(electron);
if(!isPrompt) return; if(!isPrompt) return;
m_oKinIsoRecoPlots.fill(electron); m_oKinIsoRecoPlots.fill(electron);
m_oShowerShapesIsoRecoPlots.fill(electron); m_oShowerShapesIsoRecoPlots.fill(electron);
m_oIsolationIsoRecoPlots.fill(electron); m_oIsolationIsoRecoPlots.fill(electron);
m_oTrackIsoRecoPlots.fill(electron); m_oTrackIsoRecoPlots.fill(electron);
bool val_loose=false; bool val_loose=false;
electron.passSelection(val_loose, "Loose"); electron.passSelection(val_loose, "Loose");
if(val_loose) { if(val_loose) {
m_oKinIsoLoosePPPlots.fill(electron); m_oKinIsoLoosePPPlots.fill(electron);
} }
bool val_med=false; bool val_med=false;
electron.passSelection(val_med, "Medium"); electron.passSelection(val_med, "Medium");
if(val_med) { if(val_med) {
m_oKinIsoMediumPPPlots.fill(electron); m_oKinIsoMediumPPPlots.fill(electron);
} }
bool val_tight=false; bool val_tight=false;
electron.passSelection(val_tight, "Tight"); electron.passSelection(val_tight, "Tight");
if(val_tight) { if(val_tight) {
m_oKinIsoTightPPPlots.fill(electron); m_oKinIsoTightPPPlots.fill(electron);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment