Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make statics const in CondFormats/PhysicsToolsObjects #1442

Merged
merged 1 commit into from
Nov 15, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PerformancePayloadFromBinnedTFormula : public PerformancePayload {
// class PerformancePayloadFromBinnedTFormula : public PerformancePayload, public PhysicsPerformancePayload {
public:

static int InvalidPos;
static const int InvalidPos;

PerformancePayloadFromBinnedTFormula(const std::vector<PerformanceResult::ResultType>& r, const std::vector<BinningVariables::BinningVariablesType>& b , const std::vector<PhysicsTFormulaPayload>& in) : pls(in), results_(r), variables_(b) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PerformancePayloadFromTFormula : public PerformancePayload {
// class PerformancePayloadFromTFormula : public PerformancePayload, public PhysicsPerformancePayload {
public:

static int InvalidPos;
static const int InvalidPos;

PerformancePayloadFromTFormula(const std::vector<PerformanceResult::ResultType>& r, const std::vector<BinningVariables::BinningVariablesType>& b , PhysicsTFormulaPayload& in) : pl(in), results_(r), variables_(b) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class PerformancePayloadFromTable : public PerformancePayload {
// class PerformancePayloadFromTable : public PerformancePayload, public PhysicsPerformancePayload {
public:

static int InvalidPos;
static const int InvalidPos;

//PerformancePayloadFromTable(int stride_, std::string columns_,std::vector<float> table) : PerformancePayload(stride_, columns_, table) {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "CondFormats/PhysicsToolsObjects/interface/PerformancePayloadFromBinnedTFormula.h"

int PerformancePayloadFromBinnedTFormula::InvalidPos=-1;
const int PerformancePayloadFromBinnedTFormula::InvalidPos=-1;

#include <iostream>
using namespace std;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "CondFormats/PhysicsToolsObjects/interface/PerformancePayloadFromTFormula.h"

int PerformancePayloadFromTFormula::InvalidPos=-1;
const int PerformancePayloadFromTFormula::InvalidPos=-1;

#include <iostream>
using namespace std;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "CondFormats/PhysicsToolsObjects/interface/PerformancePayloadFromTable.h"

int PerformancePayloadFromTable::InvalidPos=-1;
const int PerformancePayloadFromTable::InvalidPos=-1;

#include <iostream>

Expand Down