Analysis in CMSSW167

Photon Object Collections CMSSW167

In CMSSW167 there are 3 collections of objects stored in the RECO, i.e.

  1. the basic Photon collection in which all SuperClusters are upgraded to Photons
  2. the corrected Photon collection, which contains Photons to which energy corrections and position have been applied
  3. the ConvertedPhoton collection in which all SuperClusters are considered for conversion track finding. The final object contains information about tracks and conversion vertex

2 and 3 are those which you need to use depending if you're interested in studying the Photons (all considered as unconverted) or the ConvertedPhotons, where all SC used for producing Photons are included. The two collections are 100% overlapping. The size of the ConvertedPhoton collection can be larger than that of the Photon because for each SC there can be more than one conversion candidate.

The corrected Photon collections are called recoPhotons_correctedPhotons__Rec

The ConvertedPhoton collections are called recoConvertedPhotons_convertedPhotons__Rec

The interface for Photon is reco::Photon.

The interface for ConvertedPhoton is reco::ConvertedPhoton.

Example of Photon Analysis in CMSSW167

In RecoEgamma/Examples/plugins you can find , a very basic example of analysis on Photons. In the constructor of the analyzer the names of the collections and of the module which produced them are accessed. They are configurable and set in a configuration file, simplePhotonAnalyzer.cfi , which is located in RecoEgamma/Examples/data.

In the method analyze the first thing done is accessing data, via the Handle to the collections.

-- MatteoSani - 03 Mar 2009

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-03-03 - MatteoSani
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback