@@ -513,45 +513,81 @@ datatypes:
513
513
Description : " Used to keep track of the correspondence between MC and reconstructed particles"
514
514
Author : " S. Joosten"
515
515
Members :
516
- - uint32_t simID // Index of corresponding MCParticle (position in MCParticles array)
517
- - uint32_t recID // Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
518
516
- float weight // weight of this association
519
517
OneToOneRelations :
520
518
- edm4eic::ReconstructedParticle rec // reference to the reconstructed particle
521
519
- edm4hep::MCParticle sim // reference to the Monte-Carlo particle
520
+ ExtraCode :
521
+ includes : "
522
+ #include <edm4eic/ReconstructedParticle.h>\n
523
+ #include <edm4hep/MCParticle.h>\n
524
+ "
525
+ declaration : "
526
+ [[deprecated(\" use getSim().getObjectID().index instead\" )]]
527
+ int getSimID() const { return getSim().getObjectID().index; }\n
528
+ [[deprecated(\" use getRec().getObjectID().index instead\" )]]
529
+ int getRecID() const { return getRec().getObjectID().index; }\n
530
+ "
522
531
523
532
edm4eic::MCRecoClusterParticleAssociation :
524
533
Description : " Association between a Cluster and a MCParticle"
525
534
Author : " S. Joosten"
526
535
Members :
527
- - uint32_t simID // Index of corresponding MCParticle (position in MCParticles array)
528
- - uint32_t recID // Index of corresponding Cluster (position in Clusters array)
529
536
- float weight // weight of this association
530
537
OneToOneRelations :
531
538
- edm4eic::Cluster rec // reference to the cluster
532
539
- edm4hep::MCParticle sim // reference to the Monte-Carlo particle
540
+ ExtraCode :
541
+ includes : "
542
+ #include <edm4eic/Cluster.h>\n
543
+ #include <edm4hep/MCParticle.h>\n
544
+ "
545
+ declaration : "
546
+ [[deprecated(\" use getSim().getObjectID().index instead\" )]]
547
+ int getSimID() const { return getSim().getObjectID().index; }\n
548
+ [[deprecated(\" use getRec().getObjectID().index instead\" )]]
549
+ int getRecID() const { return getRec().getObjectID().index; }\n
550
+ "
533
551
534
552
edm4eic::MCRecoTrackParticleAssociation :
535
553
Description : " Association between a Track and a MCParticle"
536
554
Author : " S. Joosten"
537
555
Members :
538
- - uint32_t simID // Index of corresponding MCParticle (position in MCParticles array)
539
- - uint32_t recID // Index of corresponding Track (position in Tracks array)
540
556
- float weight // weight of this association
541
557
OneToOneRelations :
542
558
- edm4eic::Track rec // reference to the track
543
559
- edm4hep::MCParticle sim // reference to the Monte-Carlo particle
560
+ ExtraCode :
561
+ includes : "
562
+ #include <edm4eic/Track.h>\n
563
+ #include <edm4hep/MCParticle.h>\n
564
+ "
565
+ declaration : "
566
+ [[deprecated(\" use getSim().getObjectID().index instead\" )]]
567
+ int getSimID() const { return getSim().getObjectID().index; }\n
568
+ [[deprecated(\" use getRec().getObjectID().index instead\" )]]
569
+ int getRecID() const { return getRec().getObjectID().index; }\n
570
+ "
544
571
545
572
edm4eic::MCRecoVertexParticleAssociation :
546
573
Description : " Association between a Vertex and a MCParticle"
547
574
Author : " S. Joosten"
548
575
Members :
549
- - uint32_t simID // Index of corresponding MCParticle (position in MCParticles array)
550
- - uint32_t recID // Index of corresponding Vertex (position in Vertices array)
551
576
- float weight // weight of this association
552
577
OneToOneRelations :
553
578
- edm4eic::Vertex rec // reference to the vertex
554
579
- edm4hep::MCParticle sim // reference to the Monte-Carlo particle
580
+ ExtraCode :
581
+ includes : "
582
+ #include <edm4eic/Vertex.h>\n
583
+ #include <edm4hep/MCParticle.h>\n
584
+ "
585
+ declaration : "
586
+ [[deprecated(\" use getSim().getObjectID().index instead\" )]]
587
+ int getSimID() const { return getSim().getObjectID().index; }\n
588
+ [[deprecated(\" use getRec().getObjectID().index instead\" )]]
589
+ int getRecID() const { return getRec().getObjectID().index; }\n
590
+ "
555
591
556
592
edm4eic::MCRecoTrackerHitAssociation :
557
593
Description : " Association between a RawTrackerHit and a SimTrackerHit"
0 commit comments