Skip to content

Transition from Associations to Links #31

Description

@veprbl
Calorimetery/CaloDebugTools/CheckClustParEP/CheckClustParEPProcessor.h
52:      make_pair("HcalEndcapNClusters", "HcalEndcapNClusterAssociations"),
53:      make_pair("EcalEndcapNClusters", "EcalEndcapNClusterAssociations"),
54:      make_pair("HcalBarrelClusters",  "HcalBarrelClusterAssociations"),
55:      make_pair("EcalBarrelClusters",  "EcalBarrelClusterAssociations"),
56:      make_pair("LFHCALClusters",      "LFHCALClusterAssociations"),
57:      make_pair("EcalEndcapPClusters", "EcalEndcapPClusterAssociations")

Calorimetery/MergeBHCalTiles/ClusterMergedHits/ClusterMergedHitsProcessor.cc
80:         "HcalBarrelRawHitAssociations"},
82:         "HcalBarrelMergedHitClusterAssociationsWithoutShapes"},
98:         "HcalBarrelMergedHitClusterAssociationsWithoutShapes"},
100:         "HcalBarrelMergedHitClusterAssociations"},

Calorimetery/ReadAssociationsAndContributions/README.md
1:# Read Associations of and Contributions to a Reconstructed Cluster

ElectronID/ElectronID.cc
91:	const auto& RecoMC = static_cast<const edm4eic::MCRecoParticleAssociationCollection&>(*(mEvent->get("ReconstructedParticleAssociations")));
106:	const auto& RecoMC = static_cast<const edm4eic::MCRecoParticleAssociationCollection&>(*(mEvent->get("ReconstructedParticleAssociations")));
362:	const auto& RecoMC = static_cast<const edm4eic::MCRecoParticleAssociationCollection&>(*(mEvent->get("ReconstructedParticleAssociations")));

Calorimetery/CaloDebugTools/HCalDebugTreeMaker/RelationalHCalDebugTreeMakerProcessor.h
72:    "HcalEndcapNClusterAssociations",

Calorimetery/ReadAssociationsAndContributions/ReadInAssociationsAndContributions.cxx
2:// 'ReadInAssociationsAndContributions.cxx'
11://   root -b -q ReadInAssociationsAndContributions.cxx++
53:  "LFHCALClusterAssociations",
61:void ReadInAssociationsAndContributions(const Options& opt = DefaultOptions) {

JetsAndHF/HF/D0_helix/analysis.cxx
159:  TTreeReaderArray<unsigned int> assocChSimID = {treereader, "ReconstructedChargedParticleAssociations.simID"};
160:  TTreeReaderArray<unsigned int> assocChRecID = {treereader, "ReconstructedChargedParticleAssociations.recID"};
161:  TTreeReaderArray<float> assocWeight = {treereader, "ReconstructedChargedParticleAssociations.weight"};

JetsAndHF/JetValidation/JetValidation.C
180:  TTreeReaderArray<int> recoPartAssocRec = {tree_reader, "_ReconstructedChargedParticleAssociations_rec.index"}; // Reco <-> MCParticle
181:  TTreeReaderArray<int> recoPartAssocSim = {tree_reader, "_ReconstructedChargedParticleAssociations_sim.index"};
182:  TTreeReaderArray<float> recoPartAssocWeight = {tree_reader, "ReconstructedChargedParticleAssociations.weight"};
361:	   for(unsigned int n=0; n<recoPartAssocRec.GetSize(); n++) // Loop Over All ReconstructedChargedParticleAssociations

JetsAndHF/Lcp_Reconstruction/Lcp_Reconstruction.cxx
357:TTreeReaderArray<int> assocChSimID = {treereader, "_ReconstructedChargedParticleAssociations_sim.index"};
358:TTreeReaderArray<int> assocChRecID = {treereader, "_ReconstructedChargedParticleAssociations_rec.index"};
359:TTreeReaderArray<float> assocWeight = {treereader, "ReconstructedChargedParticleAssociations.weight"};
539:      map<int, int> assoc_map_mc_to_rc;  // MC --> RC Associations
540:      map<int, int> assoc_map_rc_to_mc;  // RC --> MC Associations

JetsAndHF/SecondaryVertex_Chi2/analysis.cxx
353:  TTreeReaderArray<int> assocChSimID = {treereader, "_ReconstructedChargedParticleAssociations_sim.index"};
354:  TTreeReaderArray<int> assocChRecID = {treereader, "_ReconstructedChargedParticleAssociations_rec.index"};
355:  TTreeReaderArray<float> assocWeight = {treereader, "ReconstructedChargedParticleAssociations.weight"};

JetsAndHF/eFinder/find_ScatElectron.C
71:  TTreeReaderArray<int> rc_index = {treereader, "_ReconstructedParticleAssociations_rec.index"};
72:  TTreeReaderArray<int> mc_index = {treereader, "_ReconstructedParticleAssociations_sim.index"}; 

JetsAndHF/jetReaderExamples/jetReader_TTreeReader.C
43:  //TTreeReaderArray<unsigned int> recoPartAssocRec = {tree_reader, "ReconstructedChargedParticleAssociations.recID"}; // Reco <-> MCParticle
44:  //TTreeReaderArray<unsigned int> recoPartAssocSim = {tree_reader, "ReconstructedChargedParticleAssociations.simID"};
47:  TTreeReaderArray<int> recoPartAssocRec = {tree_reader, "_ReconstructedChargedParticleAssociations_rec.index"}; // Reco <-> MCParticle
48:  TTreeReaderArray<int> recoPartAssocSim = {tree_reader, "_ReconstructedChargedParticleAssociations_sim.index"};
50:  TTreeReaderArray<float> recoPartAssocWeight = {tree_reader, "ReconstructedChargedParticleAssociations.weight"};
226:	   for(unsigned int n=0; n<recoPartAssocRec.GetSize(); n++) // Loop Over All ReconstructedChargedParticleAssociations

PID/hpDIRC/README.md
53:Currently, the ```npsim``` output file contains information on all the optical photons that hit the MCP plane. So the number of hits per event (track) can be high as 800-1000. But in reality, the detected number of photons will be much lower (50-150) due to the photon detection efficiency of the sensors. This efficiency is wavelength-dependent and ideally should be applied during the simulation to avoid tracking optical photons that are not detected. But at the moment these efficiencies are applied with the algorithm [PhotoMultiplierHitDigi](https://github.com/eic/EICrecon/blob/main/src/algorithms/digi/PhotoMultiplierHitDigi.cc) of ```eicrecon```. The configuration parameters of this algorithm for hpDIRC is set using https://github.com/eic/EICrecon/blob/main/src/detectors/DIRC/DIRC.cc and the quantum efficiencies for sensors are included in ```eicrecon``` with the default plugin ```DIRC```. This plugin creates collections ```DIRCRawHits``` and ```DIRCRawHitsAssociations```.
89:eicrecon -Pplugins=hpDIRCsimHits,hpDIRCrawHits -Ppodio:output_collections=DIRCRawHits,DIRCRawHitsAssociations sim.edm4hep.root

PID/hpDIRC/plugins/hpDIRCrawHits/hpDIRCrawHitsProcessor.h
22:  PrefetchT<edm4eic::MCRecoTrackerHitAssociation> in_hit_assocs = {this, "DIRCRawHitsAssociations"};

Tracking/DISAnalysis/DIS_reconstruction.C
158:    TTreeReaderArray<unsigned int> assoc_rec_id(tr, "ReconstructedChargedParticleAssociations.recID");
159:    TTreeReaderArray<unsigned int> assoc_sim_id(tr, "ReconstructedChargedParticleAssociations.simID");
160:    TTreeReaderArray<float> assoc_weight(tr, "ReconstructedChargedParticleAssociations.weight");
162:    TTreeReaderArray<unsigned int> assoc_ts_rec_id(tr, "ReconstructedTruthSeededChargedParticleAssociations.recID");
163:    TTreeReaderArray<unsigned int> assoc_ts_sim_id(tr, "ReconstructedTruthSeededChargedParticleAssociations.simID");
164:    TTreeReaderArray<float> assoc_ts_weight(tr, "ReconstructedTruthSeededChargedParticleAssociations.weight");

Tracking/DISAnalysis/hit_based_matching.C
140:    TTreeReaderArray<float> hit_assoc_weight_ts(tr,"CentralCKFTruthSeededTrackAssociations.weight");
141:    TTreeReaderArray<int>   hit_assoc_mc_ts(tr, "_CentralCKFTruthSeededTrackAssociations_sim.index");
142:    TTreeReaderArray<int>   hit_assoc_track_ts(tr, "_CentralCKFTruthSeededTrackAssociations_rec.index");
144:    TTreeReaderArray<float> hit_assoc_weight_rs(tr,"CentralCKFTrackAssociations.weight");
145:    TTreeReaderArray<int>   hit_assoc_mc_rs(tr, "_CentralCKFTrackAssociations_sim.index");
146:    TTreeReaderArray<int>   hit_assoc_track_rs(tr, "_CentralCKFTrackAssociations_rec.index");

Tracking/PerformanceStudy/SinglePion/pTDR/io.py
69:    assoc_name="CentralCKFTrackAssociations",

Tracking/PerformanceStudy/SinglePion/pTDR/run_study.py
229:    assoc_name="CentralCKFTrackAssociations",
339:    parser.add_argument("--assoc-name", default="CentralCKFTrackAssociations")

Tracking/PerformanceStudy/SinglePion/plot_single_resol.py
74:assoc_name = 'CentralCKFTrackAssociations'

Tracking/TrackHitContributions/hit_matching.C
454:		auto& raw_hit_assocs = f.get<edm4eic::MCRecoTrackerHitAssociationCollection>("CentralTrackingRawHitAssociations");

Tracking/TrackMetrics/TrackMetrics.C
174:                "CentralTrackingRawHitAssociations"

Tree_Pruning/TreePrune.C
59:  full_tree->SetBranchStatus("ReconstructedChargedParticleAssociations*",1);

Tracking/BackgroundStudy/epic_analysis_ak_example.ipynb
1092:    "    asso=event.get(\"CentralTrackingRawHitAssociations\") \n",
1173:    "    asso=event.get(\"CentralTrackingRawHitAssociations\")\n",
1505:    "asso  = event.get(\"CentralTrackingRawHitAssociations\")\n",

cc eic/EICrecon#2822

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions