ECALELF  d6718b6cc30d69f18fde9018c5ae12f9d80bd7a5
Variables
BRANCHES

Variables

UInt_t ZNtupleDumper::runNumber
 run number
 
UShort_t ZNtupleDumper::lumiBlock
 lumi section
 
Long64_t ZNtupleDumper::eventNumber
 event number
 
UInt_t ZNtupleDumper::eventTime
 unix time of the event
 
UShort_t ZNtupleDumper::nBX
 bunch crossing
 
Float_t ZNtupleDumper::mcGenWeight
 weight in generator for MC
 
std::vector< std::string > ZNtupleDumper::HLTNames [1]
 List of HLT names.
 
std::vector< Bool_t > ZNtupleDumper::HLTResults [1]
 0 = fail, 1=fire
 
Bool_t ZNtupleDumper::HLTfire
 true if pass the triggers indicated by hltPaths in cfg
 
Float_t ZNtupleDumper::rho
 rho fast jet
 
UChar_t ZNtupleDumper::nPV
 nVtx
 
UChar_t ZNtupleDumper::nPU
 number of PU (filled only for MC)
 
UInt_t ZNtupleDumper::eleID [3] = {0,0,0}
 bit mask for eleID: 1=fiducial, 2=loose, 6=medium, 14=tight, 16=WP90PU, 48=WP80PU, 112=WP70PU, 128=loose25nsRun2, 384=medium25nsRun2, 896=tight25nsRun2, 1024=loose50nsRun2, 3072=medium50nsRun2, 7168=tight50nsRun2. Selection from https://twiki.cern.ch/twiki/bin/viewauth/CMS/EgammaCutBasedIdentification#Electron_ID_Working_Points
 
Short_t ZNtupleDumper::chargeEle [3] = {-100,-100,-100}
 -100: no electron, 0: SC or photon, -1 or +1:electron or muon //Char_t is interpreted as char and not as integer
 
UChar_t ZNtupleDumper::recoFlagsEle [3] = {0,0,0}
 1=trackerDriven, 2=ecalDriven only, 3=tracker and ecal driven
 
Float_t ZNtupleDumper::phiEle [3] = {-999.,-999.,-999.}
 phi of the electron (electron object)
 
Float_t ZNtupleDumper::R9Ele [3] = {-999.,-999.,-999.}
 e3x3/rawEnergySCEle
 
Float_t ZNtupleDumper::phiSCEle [3] = {-999.,-999.,-999.}
 phi of the SC
 
Short_t ZNtupleDumper::xSeedSC [3] = {0,0,0}
 ieta(ix) of the SC seed in EB(EE)
 
Short_t ZNtupleDumper::ySeedSC [3] = {0,0,0}
 iphi(iy) of the SC seed in EB(EE)
 
UChar_t ZNtupleDumper::gainSeedSC [3] = {0,0,0}
 Gain switch 0==gain12, 1==gain6, 2==gain1; gain status of the seed of the SC.
 
Float_t ZNtupleDumper::energySeedSC [3] = {-999.,-999.,-999.}
 energy of the rechit seeding the SC
 
Float_t ZNtupleDumper::timeSeedSC [3] = {-999.,-999.,-999.}
 time of the rechit seeding the SC
 
Float_t ZNtupleDumper::laserSeedSC [3] = {-999.,-999.,-999.}
 laser correction of the SC seed crystal
 
Float_t ZNtupleDumper::alphaSeedSC [3] = {-999.,-999.,-999.}
 alpha of the seed
 
Float_t ZNtupleDumper::slewRateDeltaESeed [3] = {-999.,-999.,-999.}
 slew rate correction for seed crystal energy
 
Float_t ZNtupleDumper::energyEle [3] = {-999.,-999.,-999.}
 electron.energy(), not changed by rereco
 
Float_t ZNtupleDumper::rawEnergySCEle [3] = {-999.,-999.,-999.}
 SC energy without cluster corrections.
 
Float_t ZNtupleDumper::energy_ECAL_ele [3] = {-999.,-999.,-999.}
 ele-tuned regression energy: mustache for rereco and correctedEcalEnergy for official reco
 
Float_t ZNtupleDumper::energy_ECAL_pho [3] = {-999.,-999.,-999.}
 pho-tuned regression energy: mustache for rereco and correctedEcalEnergy for official reco
 
Float_t ZNtupleDumper::energyUncertainty_ECAL_ele [3] = {-999.,-999.,-999.}
 ele-tuned regression energy: mustache for rereco and correctedEcalEnergy for official reco
 
Float_t ZNtupleDumper::energyUncertainty_ECAL_pho [3] = {-999.,-999.,-999.}
 pho-tuned regression energy: mustache for rereco and correctedEcalEnergy for official reco
 
Float_t ZNtupleDumper::esEnergySCEle [3] = {-999.,-999.,-999.}
 pre-shower energy associated to the electron
 
Float_t ZNtupleDumper::esEnergyPlane1SCEle [3] = {-999.,-999.,-999.}
 energy associate to the electron in the first plane of ES
 
Float_t ZNtupleDumper::esEnergyPlane2SCEle [3] = {-999.,-999.,-999.}
 energy associate to the electron in the second plane of ES
 
Float_t ZNtupleDumper::rawESEnergyPlane1SCEle [3] = {-999.,-999.,-999.}
 pre-shower rechit energy sum of Plane 1 associated to the electron
 
Float_t ZNtupleDumper::rawESEnergyPlane2SCEle [3] = {-999.,-999.,-999.}
 pre-shower recHit energy sum of Plane 2 associated to the electron
 
Float_t ZNtupleDumper::energy_5x5SC [3] = {-999.,-999.,-999.}
 sum of the recHit energy in 5x5 matrix centered at the seed of the SC
 
Float_t ZNtupleDumper::eBCseedEle [3] = {-999.,-999.,-999.}
 energy of the basic cluster seeding the SC
 
Float_t ZNtupleDumper::pModeGsfEle [3] = {-999.,-999.,-999.}
 track momentum from Gsf Track (mode)
 
Float_t ZNtupleDumper::pAtVtxGsfEle [3] = {-999.,-999.,-999.}
 momentum estimated at the vertex
 
Float_t ZNtupleDumper::trackMomentumErrorEle [3] = {-999.,-999.,-999.}
 track momentum error from standard electron method
 
Float_t ZNtupleDumper::pNormalizedChi2Ele [3] = {-999.,-999.,-999.}
 track normalized chi2 of the fit (GSF)
 
Float_t ZNtupleDumper::invMass_ECAL_ele
 invariant mass using ECAL energy, this is mustache ele-tuned regression if rereco, and correctedEcalEnergy if official reco
 
Float_t ZNtupleDumper::invMass_ECAL_pho
 invariant mass using ECAL energy, this is mustache pho-tuned regression if rereco, and correctedEcalEnergy if official reco
 
Float_t ZNtupleDumper::energyMCEle [3] = {-999.,-999.,-999.}
 Electron MC true energy.
 

Detailed Description

ECALELF ntuples are produced by the ZNtupleDumper class. Follow the link to see the branches that are implemented.

The idea is to keep very small ntuples (almost essential for the needs of standard calibration, energy scale and smearings evaluation). One branch with the Z invariant mass for each energy version is provided also, in order to speed at maximum the fitting procedure avoiding the recalculation of the invariant mass.

Nonetheless, other additional ntuples can be produced in order to save additional informations for particular studies. This ntuples are complementary to the default ones (the name of the basic tree is "selected"). The additional ntuples should be used adding them to the "selected" ntuples as friend trees.

The designed structure should garantie flexibility (additional studies can be done with additional ntuples) and fastness (one can use the ntuples that really needs).

Ntuples are produced both for centrally produced datasets and private ECALELF rerecoes. Additional ntuples are not produced by default but only for the cases when they are required.