Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
1b2236b
Do not require Geant4 and Geant3 in modular builds
ktf Nov 16, 2015
2cd7964
Use smart pointer methods for the flp2epn and flp2epn-distributed dev…
rbx Nov 11, 2015
85abc19
Add integration test for flp2epn-distributed
rbx Nov 17, 2015
a0f1a43
Changing the dependency of the aliceHLTwrapper module
matthiasrichter Nov 25, 2015
15a27d5
Fixing compilation problem due to the changed FairMQDevice interface.
matthiasrichter Nov 25, 2015
352d8a3
Fix for GH issue #90
matthiasrichter Nov 25, 2015
f8c5ec3
MQ client and server interfacing O2CDB
Jan 13, 2016
31a419a
Let getAllObjects be aware of specific version
Jan 13, 2016
2381964
Add missing library
MohammadAlTurany Jan 14, 2016
3be6dc0
Fix warnings
ktf Feb 9, 2016
fd4858b
Avoid the inclusion of dlfcn.h by Pyhtia.h that CINT is not able to p…
rbx Jan 11, 2016
f3e3f74
fix warnings
rbx Feb 8, 2016
b7025db
Add missing include path for ZeroMQ
ktf Feb 25, 2016
136c02d
Qualitty assurance prototype initialization
Feb 19, 2016
5f4c594
Deleted unnecessary signal handlers
PatrykLesiak Feb 19, 2016
d5dadb5
Major refactoring, added tests for producer device, added fakeit fram…
PatrykLesiak Feb 20, 2016
7fe64bf
Merger refactoring, added merger tests
PatrykLesiak Feb 21, 2016
278fd49
Merger refactoring and unit tests
PatrykLesiak Feb 22, 2016
3217089
Major viewer module refactoring, added unit tests for viewer module, …
PatrykLesiak Feb 23, 2016
90d0d59
Removed underdevelop SystemController module and fakeit framework
PatrykLesiak Feb 23, 2016
47daddf
README update
PatrykLesiak Feb 23, 2016
4284018
Added tree producer functionality with unit test + minor refactoring
PatrykLesiak Mar 2, 2016
00dc956
Update README.md
PatrykLesiak Mar 2, 2016
2441b55
Update README.md
PatrykLesiak Mar 2, 2016
02a5345
Update README.md
PatrykLesiak Mar 2, 2016
3150949
Removed global freeTMessage function from Merger device
PatrykLesiak Mar 8, 2016
39aacaa
Uncommented tests for viewer
PatrykLesiak Mar 8, 2016
00fda55
Update README.md
PatrykLesiak Mar 8, 2016
97e6076
Update README.md
PatrykLesiak Mar 8, 2016
94d0b7b
Update README.md
PatrykLesiak Mar 8, 2016
2ca2f05
Removed comment from CMakeList file
PatrykLesiak Mar 8, 2016
347f263
add missing libraries
MohammadAlTurany Mar 9, 2016
c2c748e
remove hardcodded bin path
MohammadAlTurany Mar 9, 2016
f5a63b9
Revert "Removed global freeTMessage function from Merger device"
MohammadAlTurany Mar 11, 2016
d2da555
Fixed linking ROOT
ihrivnac Mar 11, 2016
960541c
Require boost 1.59
MohammadAlTurany Mar 15, 2016
0ad9344
Add --interactive option
aphecetche Mar 17, 2016
ff08a80
Let ConditionsMQServer derive from ParameterMQServer
Mar 17, 2016
0fbcb6a
Adapt to the changed API n FairMQ
MohammadAlTurany Mar 30, 2016
65a7af9
Remove the explicit boost libraries names from the CMakefile.txt and …
MohammadAlTurany Mar 30, 2016
f44efbd
Adapt to the changed API n FairMQ
MohammadAlTurany Mar 30, 2016
d6c4bca
Remove gMC
MohammadAlTurany Mar 31, 2016
7fcec30
Removing obsolete variable AlFa_DIR
matthiasrichter Nov 25, 2015
57a9367
Removing unused include directories from cmake setup
matthiasrichter Jan 27, 2016
10f2b10
adding a first draft of the in-memory primitive structures
matthiasrichter Jan 28, 2016
65f9256
Updating the primitive data headers
matthiasrichter Feb 8, 2016
7301a7d
first draft of messageList class and iterator API
matthiasrichter Feb 8, 2016
4cdf46e
Extending message list class to allow two template parameters
matthiasrichter Mar 30, 2016
41ea1d6
Adding test executable for message_list template
matthiasrichter Mar 30, 2016
df1a68d
adding format test to build
matthiasrichter Mar 30, 2016
54d5749
Introducing conditional search in the list iterator
matthiasrichter Apr 6, 2016
42e76a3
Using a mockup of the list element selector
matthiasrichter Apr 6, 2016
e03f1f7
Adjusting new development to the proposed directory structure
matthiasrichter Apr 13, 2016
64e43d1
Rename unit test exe and add as test to cmake configuration
matthiasrichter Apr 13, 2016
59891b2
adding documentation
matthiasrichter Apr 13, 2016
11423a9
Adding notice about usage of the data format header in the unit test
matthiasrichter Apr 14, 2016
d525a09
Bugfix: replace static_cast by local variable for type conversion
matthiasrichter Apr 19, 2016
1d861af
Bugfix: missing return statement in custom ostream operator<< added
matthiasrichter Apr 19, 2016
4838970
Revert "Bugfix: replace static_cast by local variable for type conver…
matthiasrichter Apr 20, 2016
88b26b5
Jenkinsfile for automated PR testing
ktf Apr 21, 2016
9e415c6
Add missing ZeroMQ directory
ktf Apr 21, 2016
db8f917
Require Boost 1.59 as minimum version
MohammadAlTurany Apr 25, 2016
c9cb4a4
Re-arrange the repository
MohammadAlTurany Apr 25, 2016
8ec1403
Re-arrange the repository
MohammadAlTurany Apr 25, 2016
c3f9cf0
Re-arrange the repository
MohammadAlTurany Apr 25, 2016
40eb833
Re-arrange the repository
MohammadAlTurany Apr 25, 2016
f8a8f07
Re-arrange the repository
MohammadAlTurany Apr 26, 2016
5d4a802
Re-arrange the repository
MohammadAlTurany Apr 28, 2016
b6a0d35
Re-arrange the repository
MohammadAlTurany Apr 28, 2016
eb49527
Re-arrange the repository
MohammadAlTurany Apr 29, 2016
c378b5a
Re-arrange the repository
MohammadAlTurany May 2, 2016
f1c2839
Re-arrange the repository
MohammadAlTurany May 2, 2016
9e86b41
Re-arrange the repository
MohammadAlTurany May 2, 2016
6b812f2
Re-arrange the repository
MohammadAlTurany May 2, 2016
92a3377
Re-arrange the repository
MohammadAlTurany May 2, 2016
99d833e
Re-arrange the repository
MohammadAlTurany May 2, 2016
5781385
Re-arrange the repository
MohammadAlTurany May 3, 2016
acfd9f5
Re-arrange the repository
MohammadAlTurany May 3, 2016
0f3725e
Re-arrange the repository
MohammadAlTurany May 3, 2016
17fe692
Re-arrange the repository
MohammadAlTurany May 3, 2016
329926c
Re-arrange the repository
MohammadAlTurany May 3, 2016
73af681
Re-arrange the repository
MohammadAlTurany May 3, 2016
c7f12bc
Re-arrange the repository
MohammadAlTurany May 3, 2016
8c7ac57
Re-arrange the repository
MohammadAlTurany May 3, 2016
ef8b4fd
Re-arrange the repository
MohammadAlTurany May 3, 2016
afb103b
Re-arrange the repository
MohammadAlTurany May 3, 2016
de1458b
Re-arrange the repository
MohammadAlTurany May 11, 2016
7fcbfee
Re-arrange the repository
MohammadAlTurany May 11, 2016
03a5096
Re-arrange the repository
MohammadAlTurany May 11, 2016
e2779f7
Re-arrange the repository
MohammadAlTurany May 11, 2016
a61ae06
Re-arrange the repository
MohammadAlTurany May 11, 2016
d8cc891
Add Barth as power users
ktf Apr 21, 2016
f102d4a
Move to the IB/v5-08/o2 branch for tests
ktf May 23, 2016
4a49013
Remove if Statment when calling ParseAll
MohammadAlTurany May 31, 2016
cab9f85
Remove ifdef for transport interface
MohammadAlTurany May 31, 2016
c049e90
Update prototype devices
rbx Mar 22, 2016
3c3da3f
Dirty TPC classes to be cleaned up
wiechula Jul 2, 2015
6e05a51
Implement TPC material, geometry and simple hit creation
wiechula Jul 2, 2015
f288b38
small fixes to be able to compile
wiechula Jul 2, 2015
501f5f4
add TPC to simple simulation
wiechula Jul 2, 2015
b95d835
remove empty text
MohammadAlTurany Mar 22, 2016
23c9c00
Fix CMakeLists
MohammadAlTurany Mar 22, 2016
6536b7e
fix TPC geometry part, remove dirty stuff
wiechula Jun 20, 2016
06420f2
electronics mapping files
wiechula Jun 23, 2016
c486ebf
add basic types
wiechula Jun 23, 2016
f41f4e7
remove unnecessary stuff
wiechula Jun 23, 2016
98ac3c9
change to unix eol
wiechula Jun 28, 2016
a9f28f6
add class to store pad region information
wiechula Jun 28, 2016
f45dbef
implement mapper, correct getter, update defs
wiechula Jun 28, 2016
682781b
add mapping global pad number -> pad centre
wiechula Jun 30, 2016
7c33be0
add layout description classes and definitions
wiechula Jul 5, 2016
9a6033c
add functionality to find the pad from the global and local position
wiechula Jul 5, 2016
9ea8e99
sort alphabetical, add missing class
wiechula Jul 5, 2016
f0aa792
add operators
wiechula Jul 5, 2016
435789a
fix function name and constness
wiechula Jul 6, 2016
61c4f3c
First version of the digit creation in the TPC simulation
Jul 6, 2016
e588714
Fix for missing time bin information and proper adc values
Jul 11, 2016
fa89535
Adding macro for clusterer (testing how to commit).
pchristi Jul 11, 2016
815045b
First version of the box clusterer.
pchristi Jul 11, 2016
62f8c68
Minor fixes and hacks
wiechula Jul 13, 2016
0f23dc1
Minor fixes
wiechula Jul 13, 2016
a6a0493
remove wrongly added file
wiechula Jul 13, 2016
ad31fb7
Update prototype devices
rbx Mar 22, 2016
591d3ba
small corrections
MohammadAlTurany Jul 13, 2016
58d1ec0
Forward declaration of TClonesArray and additional include of TClones…
Jul 18, 2016
2b3a0c4
Readme for MFT base (just testing)
bovulpes Jul 13, 2016
fc642a4
Test PRs from Jens & Bogdan without sign-off
ktf Jul 20, 2016
6b09507
Correct the duplicate in preproccessor define for TPC and ITS
MohammadAlTurany Jul 25, 2016
e44d4b6
correct typo
MohammadAlTurany Jul 26, 2016
4cb3463
Add missing dependencies
ktf Aug 5, 2016
a877689
Merge pull request #136 from ktf/dev
ktf Aug 5, 2016
93bfa3e
Document how to install via aliBuild
ktf Aug 5, 2016
93f45f9
Added simple check for availability of FairMQ
matthiasrichter Jun 22, 2016
ab80994
Catch the case with Modular build
MohammadAlTurany Jul 12, 2016
8762585
Fixed linking error by adding boost date_time at the top-level CMakeL…
kouzinopoulos Aug 9, 2016
c3befcc
Removed AliceO2Config.h.in
kouzinopoulos Aug 10, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

# build directory
build/
build_o2/
xbuild/

# common editor backups
*.swp
Expand Down
33 changes: 0 additions & 33 deletions Base/CMakeLists.txt

This file was deleted.

97 changes: 97 additions & 0 deletions CCDB/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
configure_file(${CMAKE_SOURCE_DIR}/CCDB/config/conditions-server.json ${CMAKE_BINARY_DIR}/bin/config/conditions-server.json)
configure_file(${CMAKE_SOURCE_DIR}/CCDB/config/conditions-client.json ${CMAKE_BINARY_DIR}/bin/config/conditions-client.json)
configure_file(${CMAKE_SOURCE_DIR}/CCDB/example/fill_local_ocdb.C ${CMAKE_BINARY_DIR}/bin/config/fill_local_ocdb.C)

set(INCLUDE_DIRECTORIES
${CMAKE_SOURCE_DIR}/CCDB/include
${CMAKE_SOURCE_DIR}/CCDB

)

set(SYSTEM_INCLUDE_DIRECTORIES
${BASE_INCLUDE_DIRECTORIES}
${Boost_INCLUDE_DIR}
${ROOT_INCLUDE_DIR}
${FAIRROOT_INCLUDE_DIR}
${ZMQ_INCLUDE_DIR}
)

include_directories(${INCLUDE_DIRECTORIES})
include_directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})

set(LINK_DIRECTORIES
${ROOT_LIBRARY_DIR}
${Boost_LIBRARY_DIRS}
${FAIRROOT_LIBRARY_DIR}
)
link_directories(${LINK_DIRECTORIES})

set(SRCS
src/Manager.cxx
src/Condition.cxx
src/GridStorage.cxx
src/LocalStorage.cxx
src/FileStorage.cxx
src/ConditionMetaData.cxx
src/ConditionId.cxx
src/IdPath.cxx
src/IdRunRange.cxx
src/Storage.cxx
src/XmlHandler.cxx
)

set(HEADERS
include/Condition.h
include/ConditionId.h
include/ConditionMetaData.h
include/FileStorage.h
include/GridStorage.h
include/IdPath.h
include/IdRunRange.h
include/LocalStorage.h
include/Manager.h
include/Storage.h
include/XmlHandler.h
)

Set(NO_DICT_SRCS
src/ConditionsMQServer.cxx
src/ConditionsMQClient.cxx
)

set(DEPENDENCIES
${Boost_PROGRAM_OPTIONS_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_LOG_SETUP_LIBRARY}
${Boost_LOG_LIBRARY}
Base
ParBase
FairMQ ParMQ
fairmq_logger pthread Core Tree XMLParser Hist
)

set(LIBRARY_NAME CCDB)
set(LINKDEF src/CCDBLinkDef.h)
GENERATE_LIBRARY()

Set(Exe_Names
conditions-server
conditions-client
)

Set(Exe_Source
src/runConditionsServer.cxx
src/runConditionsClient.cxx
)

list(LENGTH Exe_Names _length)
math(EXPR _length ${_length}-1)

ForEach(_file RANGE 0 ${_length})
list(GET Exe_Names ${_file} _name)
list(GET Exe_Source ${_file} _src)
Set(EXE_NAME ${_name})
Set(SRCS ${_src})
Set(DEPENDENCIES CCDB)
GENERATE_EXECUTABLE()
EndForEach(_file RANGE 0 ${_length})
14 changes: 14 additions & 0 deletions CCDB/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
To run the MQ server-client example with the MQ server replying with CDB objects to the client requests, follow the following steps:

0) In each shell configure the AliceO2 environment: source <your ${CMAKE_BINARY_DIR}>/config.sh

1) To create a local O2CDB instance run the macro
root -l fill_local_ocdb.C
in ${CMAKE_BINARY_DIR}/bin/config/. This will create "DET/Calib/Histo" calibration objects for a hundred runs in the same directory/O2CDB/.

2a) In one shell run the server example:
<your ${CMAKE_BINARY_DIR}>/bin/conditions-server --id parmq-server --config-json-file <your ${CMAKE_BINARY_DIR}>/bin/config/conditions-server.json
--first-input-name local://<your ${CMAKE_BINARY_DIR}>/bin/config/O2CDB --first-input-type OCDB

2b) In a separate shell run the client example:
<your ${CMAKE_BINARY_DIR}>/bin/conditions-client --id parmq-client --config-json-file <your ${CMAKE_BINARY_DIR}>/bin/config/conditions-client.json
23 changes: 23 additions & 0 deletions CCDB/config/conditions-client.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"fairMQOptions":
{
"device":
{
"id": "parmq-client",
"channel":
{
"name": "data",
"socket":
{
"type": "req",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}
}
}
}

22 changes: 22 additions & 0 deletions CCDB/config/conditions-server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"fairMQOptions":
{
"device":
{
"id": "parmq-server",
"channel":
{
"name": "data",
"socket":
{
"type": "rep",
"method": "bind",
"address": "tcp://*:5005",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}
}
}
}
17 changes: 17 additions & 0 deletions CCDB/example/fill_local_ocdb.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
void fill_local_ocdb()
{
gSystem->Load("libAliceO2Base");
gSystem->Load("libAliceO2Cdb");
AliceO2::CDB::Manager* cdb = AliceO2::CDB::Manager::Instance();
cdb->setDefaultStorage("local://O2CDB");
TH1F* h = 0;
for (int run = 2000; run < 2100; run++) {
cdb->setRun(run);
h = new TH1F(Form("histo for %d run", run), "gauss", 100, -5, 5);
h->FillRandom("gaus", 1000);
AliceO2::CDB::ConditionId* id = new AliceO2::CDB::ConditionId("DET/Calib/Histo", run, run, 1, 0);
AliceO2::CDB::ConditionMetaData* md = new AliceO2::CDB::ConditionMetaData();
cdb->putObject(h, *id, md);
h = 0;
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
53 changes: 53 additions & 0 deletions CCDB/include/ConditionsMQClient.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence version 3 (LGPL) version 3, *
* copied verbatim in the file "LICENSE" *
********************************************************************************/
/**
* ConditionsMQClient.h
*
* @since 2016-01-11
* @author R. Grosso, from examples/MQ/7-parameters/FairMQExample7Client.h
*/

#ifndef ALICEO2_CDB_CONDITIONSMQCLIENT_H_
#define ALICEO2_CDB_CONDITIONSMQCLIENT_H_

#include <string>

#include "FairMQDevice.h"

namespace AliceO2 {
namespace CDB {

class ConditionsMQClient : public FairMQDevice
{
public:
enum
{
ParameterName = FairMQDevice::Last,
Last
};
ConditionsMQClient();
virtual ~ConditionsMQClient();

static void CustomCleanup(void* data, void* hint);

virtual void SetProperty(const int key, const std::string& value);
virtual std::string GetProperty(const int key, const std::string& default_ = "");
virtual void SetProperty(const int key, const int value);
virtual int GetProperty(const int key, const int default_ = 0);

protected:
virtual void Run();

private:
int fRunId;
std::string fParameterName;
};
}
}

#endif /* ALICEO2_CDB_CONDITIONSMQCLIENT_H_ */
41 changes: 41 additions & 0 deletions CCDB/include/ConditionsMQServer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence version 3 (LGPL) version 3, *
* copied verbatim in the file "LICENSE" *
********************************************************************************/
/**
* ConditionsMQServer.h
*
* @since 2016-01-11
* @author R. Grosso, from parmq/ParameterMQServer.h
*/

#ifndef ALICEO2_CDB_CONDITIONSMQSERVER_H_
#define ALICEO2_CDB_CONDITIONSMQSERVER_H_

#include <string>

#include "ParameterMQServer.h"
#include "Manager.h"

namespace AliceO2 {
namespace CDB {

class ConditionsMQServer : public ParameterMQServer
{
public:
ConditionsMQServer();
virtual ~ConditionsMQServer();

virtual void Run();
virtual void InitTask();

private:
Manager* fCdbManager;
};
}
}

#endif /* ALICEO2_CDB_CONDITIONSMQSERVER_H_ */
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading