Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dhb112358@mail.ustc.edu.cn
CEPCSW
Commits
a1036c3b
Commit
a1036c3b
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Plain Diff
Merge branch 'lcg97' of cepcgit.ihep.ac.cn:cepc-prototype/CEPCSW into lcg97
parents
3d5f1f35
d9f258d9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
FWCore/FWCore/PodioDataSvc.h
+1
-1
1 addition, 1 deletion
FWCore/FWCore/PodioDataSvc.h
FWCore/src/PodioDataSvc.cpp
+3
-3
3 additions, 3 deletions
FWCore/src/PodioDataSvc.cpp
README.md
+3
-2
3 additions, 2 deletions
README.md
with
7 additions
and
6 deletions
FWCore/FWCore/PodioDataSvc.h
+
1
−
1
View file @
a1036c3b
...
...
@@ -37,7 +37,7 @@ public:
using
DataSvc
::
registerObject
;
/// Overriding standard behaviour of evt service
/// Register object with the data store.
virtual
StatusCode
registerObject
(
const
std
::
string
&
fullPath
,
DataObject
*
pObject
)
final
;
virtual
StatusCode
registerObject
(
std
::
string_view
parentPath
,
std
::
string
_view
fullPath
,
DataObject
*
pObject
)
override
final
;
StatusCode
readCollection
(
const
std
::
string
&
collectionName
,
int
collectionID
);
...
...
This diff is collapsed.
Click to expand it.
FWCore/src/PodioDataSvc.cpp
+
3
−
3
View file @
a1036c3b
...
...
@@ -101,10 +101,10 @@ StatusCode PodioDataSvc::readCollection(const std::string& collName, int collect
collection
->
setID
(
id
);
wrapper
->
setData
(
collection
);
m_readCollections
.
emplace_back
(
std
::
make_pair
(
collName
,
collection
));
return
DataSvc
::
registerObject
(
collName
,
wrapper
);
return
DataSvc
::
registerObject
(
"/Event"
,
"/"
+
collName
,
wrapper
);
}
StatusCode
PodioDataSvc
::
registerObject
(
const
std
::
string
&
fullPath
,
DataObject
*
pObject
)
{
StatusCode
PodioDataSvc
::
registerObject
(
std
::
string_view
parentPath
,
std
::
string
_view
fullPath
,
DataObject
*
pObject
)
{
DataWrapperBase
*
wrapper
=
dynamic_cast
<
DataWrapperBase
*>
(
pObject
);
if
(
wrapper
!=
nullptr
)
{
podio
::
CollectionBase
*
coll
=
wrapper
->
collectionBase
();
...
...
@@ -116,5 +116,5 @@ StatusCode PodioDataSvc::registerObject(const std::string& fullPath, DataObject*
m_collections
.
emplace_back
(
std
::
make_pair
(
shortPath
,
coll
));
}
}
return
DataSvc
::
registerObject
(
fullPath
,
pObject
);
return
DataSvc
::
registerObject
(
parentPath
,
fullPath
,
pObject
);
}
This diff is collapsed.
Click to expand it.
README.md
+
3
−
2
View file @
a1036c3b
...
...
@@ -8,11 +8,12 @@ Please refer to https://github.com/HEP-FCC/FCCSW
## Quick start
```
$ source /cvmfs/cepcsw.ihep.ac.cn/prototype/setup.sh
$ source /cvmfs/cepcsw.ihep.ac.cn/prototype/
releases/externals/97.0.0/
setup.sh
$ git clone git@cepcgit.ihep.ac.cn:cepc-prototype/CEPCSW.git
$ cd CEPCSW
$ git checkout lcg97
$ mkdir build && cd build
$ cmake ..
$ cmake ..
-DHOST_BINARY_TAG=${BINARY_TAG}
$ make
$ ./run gaudirun.py '$EXAMPLESROOT/options/helloalg.py'
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment