Skip to content

Commit

Permalink
add constexpr in few more critical places
Browse files Browse the repository at this point in the history
  • Loading branch information
VinInn authored and ktf committed May 4, 2014
1 parent a0363eb commit 0e5bc1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RecoVertex/VertexPrimitives/interface/LinearizedTrackState.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "DataFormats/TrajectoryState/interface/TrackCharge.h"
#include "TrackingTools/TransientTrack/interface/TransientTrack.h"

#define SMATRIX_USE_CONSTEXPR
#include "Math/SMatrix.h"

#include "RecoVertex/VertexPrimitives/interface/RefittedTrackState.h"
Expand Down
3 changes: 3 additions & 0 deletions RecoVertex/VertexPrimitives/interface/VertexTrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
#include "RecoVertex/VertexPrimitives/interface/VertexState.h"
#include "RecoVertex/VertexPrimitives/interface/RefittedTrackState.h"
#include "RecoVertex/VertexPrimitives/interface/VertexException.h"


#define SMATRIX_USE_CONSTEXPR
#include "Math/SMatrix.h"

/** Track information relative to a track-to-vertex association.
Expand Down
2 changes: 2 additions & 0 deletions TrackingTools/GsfTools/interface/GsfMatrixTools.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef GsfMatrixTools_h_
#define GsfMatrixTools_h_

#define SMATRIX_USE_CONSTEXPR

#include "Math/SVector.h"
#include "Math/SMatrix.h"

Expand Down
2 changes: 2 additions & 0 deletions TrackingTools/GsfTools/interface/SingleGaussianState.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef SingleGaussianState_H
#define SingleGaussianState_H

#define SMATRIX_USE_CONSTEXPR

#include "Math/SVector.h"
#include "Math/SMatrix.h"

Expand Down

0 comments on commit 0e5bc1c

Please sign in to comment.