Commit 7a441404 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Fix formatting

parent 9dfe7e57
Pipeline #235665 canceled with stage
in 3 minutes and 8 seconds
......@@ -19,9 +19,9 @@ void DUTAnalysis::initialise() {
associatedTracksVersusTime = new TH1F("associatedTracksVersusTime", "associatedTracksVersusTime", 300000, 0, 300);
residualsX = new TH1F("residualsX", "residualsX", 400, -0.2, 0.2);
residualsY = new TH1F("residualsY", "residualsY", 400, -0.2, 0.2);
clusterTotAssociated = new TH1F("clusterTotAssociated","clusterTotAssociated",250,0,10000);
clusterSizeAssociated = new TH1F("clusterSizeAssociated","clusterSizeAssociated",30,0,30);
clusterTotAssociated = new TH1F("clusterTotAssociated", "clusterTotAssociated", 250, 0, 10000);
clusterSizeAssociated = new TH1F("clusterSizeAssociated", "clusterSizeAssociated", 30, 0, 30);
residualsTime = new TH1F("residualsTime", "residualsTime", 2000, -0.000001, 0.000001);
hTrackCorrelationX = new TH1F("hTrackCorrelationX", "hTrackCorrelationX", 4000, -10., 10.);
......
......@@ -25,8 +25,8 @@ namespace corryvreckan {
TH1F* associatedTracksVersusTime;
TH1F* residualsX;
TH1F* residualsY;
TH1F* clusterTotAssociated;
TH1F* clusterSizeAssociated;
TH1F* clusterTotAssociated;
TH1F* clusterSizeAssociated;
TH1F* hTrackCorrelationX;
TH1F* hTrackCorrelationY;
TH1F* hTrackCorrelationTime;
......
#ifndef MCPARTICLE_H
#define MCPARTICLE_H 1
#include "TestBeamObject.h"
#include <Math/Point3D.h>
#include "TestBeamObject.h"
namespace corryvreckan {
......@@ -11,22 +11,22 @@ namespace corryvreckan {
public:
// Constructors and destructors
MCParticle() = default;
MCParticle(int particle_id, ROOT::Math::XYZPoint local_start_point, ROOT::Math::XYZPoint local_end_point){
m_particle_id = particle_id;
m_local_start_point = local_start_point;
m_local_end_point = local_end_point;
}
// Member variables
int m_particle_id;
ROOT::Math::XYZPoint m_local_start_point;
ROOT::Math::XYZPoint m_local_end_point;
// Member functions
int getID(){return m_particle_id;}
ROOT::Math::XYZPoint getLocalStart(){return m_local_start_point;}
ROOT::Math::XYZPoint getLocalEnd(){return m_local_end_point;}
MCParticle(int particle_id, ROOT::Math::XYZPoint local_start_point, ROOT::Math::XYZPoint local_end_point) {
m_particle_id = particle_id;
m_local_start_point = local_start_point;
m_local_end_point = local_end_point;
}
// Member variables
int m_particle_id;
ROOT::Math::XYZPoint m_local_start_point;
ROOT::Math::XYZPoint m_local_end_point;
// Member functions
int getID() { return m_particle_id; }
ROOT::Math::XYZPoint getLocalStart() { return m_local_start_point; }
ROOT::Math::XYZPoint getLocalEnd() { return m_local_end_point; }
// ROOT I/O class definition - update version number when you change this class!
ClassDef(MCParticle, 1)
};
......
// local
#include "TestBeamObject.h"
#include "Cluster.h"
#include "Pixel.h"
#include "MCParticle.h"
#include "Pixel.h"
#include "Track.h"
#include "core/utils/exceptions.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment