Skip to content

Commit

Permalink
Remove the edm4hep::ObjectID from the components
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Feb 8, 2024
1 parent 36b9474 commit 07085d4
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions edm4hep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,6 @@ components:
static const int LastLocation = AtVertex ;\n
"

#------ ObjectID helper struct for references/relations
edm4hep::ObjectID:
Members:
- int32_t index
- int32_t collectionID
ExtraCode:
includes: "#include <podio/ObjectID.h>\n"
declaration: "
ObjectID() = default;\n
ObjectID(const podio::ObjectID& id ): index(id.index), collectionID(id.collectionID) {}\n
"

# quantity with an identifier, a value and an error
edm4hep::Quantity:
Members:
Expand Down Expand Up @@ -153,7 +141,6 @@ datatypes:
VectorMembers:
- double weights // event weights in case there are multiple. **NOTE that weights[0] might not be the same as weight!** Event weight names should be stored using the edm4hep::EventWeights name in the file level metadata.


edm4hep::MCParticle:
Description: "The Monte Carlo particle - based on the lcio::MCParticle."
Author: "F.Gaede, DESY"
Expand Down Expand Up @@ -354,9 +341,6 @@ datatypes:
- float eDepError //error measured on EDep [GeV].
- edm4hep::Vector3d position //hit position in [mm].
- std::array<float,6> covMatrix //covariance of the position (x,y,z), stored as lower triangle matrix. i.e. cov(x,x) , cov(y,x) , cov(y,y) , cov(z,x) , cov(z,y) , cov(z,z)
VectorMembers:
- edm4hep::ObjectID rawHits //raw data hits. Check getType to get actual data type.


#------------- TrackerHitPlane
edm4hep::TrackerHitPlane:
Expand All @@ -375,8 +359,6 @@ datatypes:
- float dv //measurement error along the direction
- edm4hep::Vector3d position //hit position in [mm].
- std::array<float,6> covMatrix //covariance of the position (x,y,z), stored as lower triangle matrix. i.e. cov(x,x) , cov(y,x) , cov(y,y) , cov(z,x) , cov(z,y) , cov(z,z)
VectorMembers:
- edm4hep::ObjectID rawHits //raw data hits. Check getType to get actual data type.


#---------- RawTimeSeries
Expand Down

0 comments on commit 07085d4

Please sign in to comment.