Skip to content

Commit

Permalink
Pragma all the way
Browse files Browse the repository at this point in the history
  • Loading branch information
KSkwarczynski committed Mar 25, 2024
1 parent 7332b99 commit 00aa941
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 23 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto


* # Denote all files that are truly binary and should not be modified.
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.pdf binary
Expand Down
2 changes: 0 additions & 2 deletions mcmc/FitterBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
FitterBase::FitterBase(manager * const man) : fitMan(man) {
// *************************

std::cout << "Seed is " << fitMan->raw()["General"]["Seed"].as<int>() << std::endl;

random = new TRandom3(fitMan->raw()["General"]["Seed"].as<int>());

// Counter of the accepted # of steps
Expand Down
5 changes: 1 addition & 4 deletions mcmc/stretch.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __STRETCH_H__
#define __STRETCH_H__
#pragma once

#include <iostream>
#include <fstream>
Expand Down Expand Up @@ -90,5 +89,3 @@ class stretch


};

#endif
5 changes: 1 addition & 4 deletions mcmc/tune.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef __TUNE_H__
#define __TUNE_H__
#pragma once

#include <iostream>

Expand All @@ -25,5 +24,3 @@ class tune
std::string *par_names;
int n_pars;
};

#endif
5 changes: 2 additions & 3 deletions samplePDF/interfacePDFEbE.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _interfacePDFEbE_h_
#define _interfacePDFEbE_h_
#pragma once

#include <vector>

class interfacePDFEbE
Expand All @@ -11,4 +11,3 @@ class interfacePDFEbE
virtual int getNEventsInSample(int sample)=0;
};

#endif
6 changes: 2 additions & 4 deletions samplePDF/samplePDFBase.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _samplePDFBase_h_
#define _samplePDFBase_h_
#pragma once


//C++ includes
#include <iostream>
Expand Down Expand Up @@ -31,7 +31,6 @@
class samplePDFBase : public samplePDFInterface
{
public:
samplePDFBase(){};
samplePDFBase(double pot);

virtual ~samplePDFBase();
Expand Down Expand Up @@ -120,4 +119,3 @@ class samplePDFBase : public samplePDFInterface
TestStatistic fTestStatistic;

};
#endif
5 changes: 1 addition & 4 deletions samplePDF/samplePDFInterface.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef _samplePDFInterface_h_
#define _samplePDFInterface_h_
#pragma once

#include <iostream>
#include <TTree.h>
Expand Down Expand Up @@ -41,5 +40,3 @@ class samplePDFInterface
virtual void fill1DHist()=0;
virtual void fill2DHist()=0;
};

#endif

0 comments on commit 00aa941

Please sign in to comment.