-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from Gaudi.Configuration import * | ||
|
||
from Configurables import K4DataSvc | ||
podioevent = K4DataSvc("EventDataSvc") | ||
|
||
from Configurables import EventCounterExample | ||
eventcounter = EventCounterExample() | ||
|
||
|
||
from Configurables import ApplicationMgr | ||
ApplicationMgr( TopAlg=[eventcounter], | ||
EvtSel="NONE", | ||
EvtMax=100, | ||
ExtSvc=[podioevent], | ||
OutputLevel=DEBUG, | ||
) | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include "EmptyAlg.h" | ||
|
||
DECLARE_COMPONENT(EmptyAlg) | ||
|
||
EmptyAlg::EmptyAlg(const std::string& aName, ISvcLocator* aSvcLoc) : GaudiAlgorithm(aName, aSvcLoc) { | ||
} | ||
|
||
EmptyAlg::~EmptyAlg() {} | ||
|
||
StatusCode EmptyAlg::initialize() { | ||
return StatusCode::SUCCESS; | ||
} | ||
|
||
StatusCode EmptyAlg::execute() { | ||
return StatusCode::SUCCESS; | ||
} | ||
|
||
StatusCode EmptyAlg::finalize() { | ||
return StatusCode::SUCCESS; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#pragma once | ||
|
||
// GAUDI | ||
#include "GaudiAlg/GaudiAlgorithm.h" | ||
#include "GaudiKernel/Property.h" | ||
|
||
|
||
class EmptyAlg : public GaudiAlgorithm { | ||
public: | ||
explicit EmptyAlg(const std::string&, ISvcLocator*); | ||
virtual ~EmptyAlg(); | ||
/** Initialize. | ||
* @return status code | ||
*/ | ||
virtual StatusCode initialize() final; | ||
/** Execute. | ||
* @return status code | ||
*/ | ||
virtual StatusCode execute() final; | ||
/** Finalize. | ||
* @return status code | ||
*/ | ||
virtual StatusCode finalize() final; | ||
|
||
private: | ||
// member variable | ||
int m_member = 0; | ||
}; |