Skip to content

Commit

Permalink
Addopt for LCIO cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Petric authored and rete committed Mar 22, 2018
1 parent 4eb8dbd commit 32d69e7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions include/GarlicClusterVarsGenericObject.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GarlicClusterVarsGenericObject {

public:
GarlicClusterVarsGenericObject() {
_genObj = new LCGenericObjectImpl(NINT, NFLOAT, 0);
_genObj = new lcio::LCGenericObjectImpl(NINT, NFLOAT, 0);
for (int i=0; i<NINT; i++) _genObj->setIntVal(i, -999);
for (int i=0; i<NFLOAT; i++) _genObj->setFloatVal(i, -999);
}
Expand All @@ -20,7 +20,7 @@ public:
assert(obj->getNInt()==NINT);
assert(obj->getNFloat()==NFLOAT);
assert(obj->getNDouble()==0);
_genObj = new LCGenericObjectImpl(NINT, NFLOAT, 0);
_genObj = new lcio::LCGenericObjectImpl(NINT, NFLOAT, 0);
for (int i=0; i<NINT; i++) _genObj->setIntVal( i, obj->getIntVal(i) );
for (int i=0; i<NFLOAT; i++) _genObj->setFloatVal( i, obj->getFloatVal(i) );
}
Expand Down
6 changes: 3 additions & 3 deletions include/GarlicGeometryParameters.hh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public:
}

void Set_barrelStaveDir (std::vector< std::vector < float > > gg) {_barrelStaveDir=gg;}
void Set_defaultDecoder (CellIDDecoder<CalorimeterHit>* dec) {_defaultDecoder=dec;}
void Set_defaultDecoder (lcio::CellIDDecoder<lcio::CalorimeterHit>* dec) {_defaultDecoder=dec;}

void Set_absorberRadiationLength (float x0) {_absorberRadiationLength=x0;}

Expand Down Expand Up @@ -94,7 +94,7 @@ public:
float * Get_positionEndcapLayer () {return _positionEndcapLayer;}

std::vector< std::vector < float > > Get_barrelStaveDir () {return _barrelStaveDir;}
CellIDDecoder<CalorimeterHit>* Get_defaultDecoder () {return _defaultDecoder;}
lcio::CellIDDecoder<lcio::CalorimeterHit>* Get_defaultDecoder () {return _defaultDecoder;}

private:

Expand Down Expand Up @@ -136,7 +136,7 @@ private:

std::vector< std::vector < float > > _barrelStaveDir;

CellIDDecoder<CalorimeterHit>* _defaultDecoder;
lcio::CellIDDecoder<lcio::CalorimeterHit>* _defaultDecoder;

void init() {
_rOfBarrel=-999;
Expand Down
2 changes: 2 additions & 0 deletions src/GarlicClusterAlgos.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ using std::endl;
#include "GarlicExtendedCluster.hh"
#include "GarlicExtendedHit.hh"

using namespace lcio;

std::map <CalorimeterHit*, bool> GarlicClusterAlgos::getSeeds(GarlicExtendedCluster* preClus) {

float energyCutMip = GarlicAlgorithmParameters::Instance().GetSeedHitEnergyCut();
Expand Down
2 changes: 2 additions & 0 deletions src/GarlicExtendedCluster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ using std::max;
using std::cout;
using std::endl;

using namespace lcio;

int GarlicExtendedCluster::counter=0;


Expand Down

0 comments on commit 32d69e7

Please sign in to comment.