Author: [log in to unmask] Date: Thu Sep 17 01:46:27 2015 New Revision: 3622 Log: (empty) Modified: java/trunk/users/src/main/java/org/hps/users/luca/CalibTest2.java Modified: java/trunk/users/src/main/java/org/hps/users/luca/CalibTest2.java ============================================================================= --- java/trunk/users/src/main/java/org/hps/users/luca/CalibTest2.java (original) +++ java/trunk/users/src/main/java/org/hps/users/luca/CalibTest2.java Thu Sep 17 01:46:27 2015 @@ -29,10 +29,10 @@ private AIDA aida = AIDA.defaultInstance(); - IHistogram1D eneMCallPlot = aida.histogram1D("All MCParticles Energy", 300, 0.0, 3); - IHistogram1D eneEminusPlot = aida.histogram1D("All electrons Energy", 300, 0.0, 3); - IHistogram1D eneCoulombEPlot = aida.histogram1D("Coulomb Electrons", 300, 0.0, 3); - IHistogram1D ParticleIdPlot = aida.histogram1D("ParticleId", 100,-50, 50); + IHistogram1D eneMCallPlot = aida.histogram1D("All MCParticles Energy", 300, 0.0, 1.1); + IHistogram1D eneEminusPlot = aida.histogram1D("All electrons Energy", 300, 0.0, 1.1); + IHistogram1D eneCoulombEPlot = aida.histogram1D("Coulomb Electrons", 300, 0.0, 1.1); + IHistogram1D ParticleIdPlot = aida.histogram1D("ParticleId", 400,-200, 200); /*public void setOutputFileName(String outputFileName){ this.outputFileName = outputFileName; }*/ @@ -77,7 +77,7 @@ eneMCallPlot.fill(particle.getEnergy()); if(particle.getPDGID()==11) {eneEminusPlot.fill(particle.getEnergy());} - if(particle.getPDGID()==11 && particle.getEnergy()>2.150) + if(particle.getPDGID()==11 && particle.getEnergy()>0.8) {eneCoulombEPlot.fill(particle.getEnergy());}