Git Product home page Git Product logo

cldconfig's Introduction

Key4hep

.. toctree::
    :maxdepth: 3
    :includehidden:
    :caption: Contents:

    setup-and-getting-started/README.md
    how-tos/README.md
    tutorials/README.md
    developing-key4hep-software/README.md
    spack-build-instructions-for-librarians/README.md
    talks-and-presentations/README.md
    call-for-logos/README.md
    CONTRIBUTING.md

.. toctree::
    :maxdepth: 2
    :includehidden:
    :caption: External links:

    FCC software  <https://cern.ch/fccsw>
    CLIC software <https://twiki.cern.ch/twiki/bin/view/CLIC/CLICSoftwareComputing>
    ILC software <https://ilcsoft.desy.de/portal>
    CEPC software <http://cepcsoft.ihep.ac.cn/>
    Muon Collider software <https://mcdwiki.docs.cern.ch/tutorials/cern2023/setup/>

cldconfig's People

Contributors

andresailer avatar brieucf avatar ebrondol avatar eleogran avatar jmcarcell avatar scott-snyder avatar tmadlener avatar zehvogel avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cldconfig's Issues

SimTrkHitRelCollections are named inconsistently

For the vertex they are named <TrackerHitCollectionName>Relations but for the inner/outer tracker they are named <SimTrackerHitCollectionName>Relations

VXDEndcapDigitiser = MarlinProcessorWrapper("VXDEndcapDigitiser")
VXDEndcapDigitiser.OutputLevel = WARNING
VXDEndcapDigitiser.ProcessorType = "DDPlanarDigiProcessor"
VXDEndcapDigitiser.Parameters = {
"IsStrip": ["false"],
"ResolutionU": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"],
"ResolutionV": ["0.003", "0.003", "0.003", "0.003", "0.003", "0.003"],
"SimTrackHitCollectionName": ["VertexEndcapCollection"],
"SimTrkHitRelCollection": ["VXDEndcapTrackerHitRelations"],
"SubDetectorName": ["Vertex"],
"TrackerHitCollectionName": ["VXDEndcapTrackerHits"]
}
InnerPlanarDigiProcessor = MarlinProcessorWrapper("InnerPlanarDigiProcessor")
InnerPlanarDigiProcessor.OutputLevel = WARNING
InnerPlanarDigiProcessor.ProcessorType = "DDPlanarDigiProcessor"
InnerPlanarDigiProcessor.Parameters = {
"IsStrip": ["false"],
"ResolutionU": ["0.007"],
"ResolutionV": ["0.09"],
"SimTrackHitCollectionName": ["InnerTrackerBarrelCollection"],
"SimTrkHitRelCollection": ["InnerTrackerBarrelHitsRelations"],
"SubDetectorName": ["InnerTrackers"],
"TrackerHitCollectionName": ["ITrackerHits"]
}

Tracking issue for displaced tracks and electron reconstruction efficiency

After investigating the tracking issue, adjusting the parameters MaxCellAngle and MaxCellAngleRZ to 0.5 (as opposed to 0.1), in the displaced step, has significantly enhanced the reconstruction of displaced tracks (tested with displaced single particle). These conditions were frequently not met, leading to track not being reconstructed.
The choice of the 0.5 value was somewhat arbitrary, and further optimisation is required.

However, despite this adjustment, an issue persists in properly reconstructing the Heavy Neutral Lepton (HNL) vertex with electron tracks. Interestingly, when considering all tracks in the event, the HNL vertex reconstruction aligns better with the expected distribution. What factors could be contributing to the reconstruction efficiency of electron?

1- Reconstructed vertex displacement (normalised to 1)
Screenshot from 2024-03-07 13-44-19

2- Comparison of Generated and reconstructed vertex displacement for MaxCellAngle, MaxCellAngleRZ = 0.5, left reconstructed with electrons tracks and right with all tracks in the event
Screenshot from 2024-03-07 13-46-34 Screenshot from 2024-03-07 13-47-09

3- Comparison of Generated and reconstructed vertex displacement MaxCellAngle, MaxCellAngleRZ = 0.1, left reconstructed with electrons tracks and right with all tracks in the event
Screenshot from 2024-03-07 13-48-38 Screenshot from 2024-03-07 13-48-48

Get rid of warnings

There are still some warnings emitted for every event at the moment, we should fix that.

=================== WARNING ===================
static method CellIDDecoder::setDefaultEncoding
does nothing anymore. Use the constructor to 
specify your encoding string !!
===============================================
[ MESSAGE "MyDDMarlinPandora_10ns"] Failed to extract ecal calo hit collection: ECALOther, lcio::DataNotAvailableException: LCEventImpl::getCollection: collection not in event:ECALOther

Change license

Change license to Apache v2 as the rest of key4hep (?)

Add edm4hep input test

  • Find better place for the test input files, e.g. key4hep eos
  • Document how test input files are created
    • Find out how I created the current test file
ddsim -S cld_steer.py -N 4 --compactFile $K4GEO//FCCee/CLD/compact/FCCee_o1_v04/FCCee_o1_v04.xml --inputFile ../yyxyev_000.stdhep --outputFile test.slcio
  • Create edm4hep test input file
  • Add test for edm4hep input

Trying to set an edm4hep input file with `--EventDataSvc.input` fails

In

"InputMode": "LCIO",
we set the default input mode to LCIO, so as long as ones use LCIO files the old way of setting the input files with --LcioEvent.Files still works. However, trying to use an edm4hep file in the old way with --EventDataSvc.input fails with the somewhat unhelpful message:

LcioEvent           FATAL  Standard std::exception is caught 
LcioEvent           ERROR lcio::IOException: [LCReader::open()] File(s) not found:    
EventLoopMgr        ERROR Unable to initialize Algorithm: LcioEvent
ServiceManager      ERROR Unable to initialize Service: EventLoopMgr
ApplicationMgr      ERROR Application Manager Terminated with error code 1

We should provide a more helpful error message catching this and pointing to the new --inputFiles

Thx to @gaswk for the report!

Intermittent Missing Hits in Vertex/Tracker During Reconstruction Process

I have encountered an intermittent issue where a hit is occasionally missing in the vertex or tracker during the reconstruction process. This seems to occur randomly and is not specific to any detector model, theta, or momentum. This problem does not correspond to a specific event but affects the entire reconstruction process. Interestingly, relaunching the reconstruction with the same conditions resolves the issue.

I add some examples:
1-
First reconstruction for 80 and 89 deg (third set of points) and r position of the hits in the vertex:
old_IT_OT
Capture d’écran 2023-11-27 à 15 08 12

Second reconstruction with the same input resulted in:
Screenshot from 2023-11-27 17-27-01
Capture d’écran 2023-11-27 à 15 19 00

2-
With the CLD_o3_v01 geometry, the first reconstruction showed these pT and d0 resolution:
Screenshot from 2024-01-09 18-13-07
Screenshot from 2024-01-09 18-05-38

While a simple relaunch altered the results, indicating a possible missing hit in the tracker as the difference in d0 is quite small. Unfortunately, I no longer have access to the files for further analysis
Screenshot from 2024-01-09 18-06-00
Screenshot from 2024-01-09 18-13-13

This issue has been observed multiple times, although it appears to be random.
Do you any idea what could be the problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.