예제 #1
0
#!/usr/bin/env python

from Gaudi.Configuration import *

from Configurables import k4DataSvc
dsvc = k4DataSvc("EventDataSvc")

# read LCIO files
from Configurables import LCIOInput
read = LCIOInput("read")
read.inputs = [
    #"/cefs/data/FullSim/CEPC240/CEPC_v4/higgs/smart_final_states/E240.Pffh_invi.e0.p0.whizard195//ffh_inv.e0.p0.00001_1000_sim.slcio"
    "/cefs/data/RecData/CEPC250/CEPC_v1/higgs/E250.Pnnh.whizard195/E250-CDR_ws.Pnnh.eU.pU.01232_rec.slcio"
]
read.collections = [
    "SimTrackerHit:COILCollection",
    "SimCalorimeterHit:EcalBarrelSiliconCollection", "MCParticle:MCParticle",
    "SimTrackerHit:TPCCollection", "SimTrackerHit:VXDCollection",
    "Cluster:ArborCharged", "Cluster:ArborNeutral",
    "ReconstructedParticle:ArborChargedCore",
    "ReconstructedParticle:ArborNeutralCore",
    "MCRecoParticleAssociation:RecoMCTruthLink"
]

# write PODIO file
from Configurables import PodioOutput
write = PodioOutput("write")
write.filename = "test.root"
write.outputCommands = ["keep *"]

# ApplicationMgr
예제 #2
0
#!/usr/bin/env python

from Gaudi.Configuration import *
from Configurables import k4DataSvc
dsvc = k4DataSvc("EventDataSvc")

# read LCIO files
from Configurables import LCIOInput
read = LCIOInput("read")
read.inputs = [
    #"/cefs/higgs/wxfang/cepc/Pandora/ele_lcio_full_det_rec/reco_sim_0.slcio"
    "/cefs/higgs/wxfang/cepc/Pandora/ele_lcio_full_det_rec/reco_sim_34.slcio"
]
read.collections = [
    "MCParticle:MCParticle",
    #"SimCalorimeterHit:EcalBarrelSiliconCollection",
    "CalorimeterHit:ECALBarrel",
    "CalorimeterHit:ECALEndcap",
    "CalorimeterHit:ECALOther",
    ######### HCAL will effect the reco efficiency close to gap region ######
    "CalorimeterHit:HCALBarrel",
    "CalorimeterHit:HCALEndcap",
    "CalorimeterHit:HCALOther",
    #"TrackerHit:VXDTrackerHits",
    #"TrackerHit:SITTrackerHits",
    "TrackerHit:SITSpacePoints",
    "TrackerHit:TPCTrackerHits",
    #"TrackerHit:SETTrackerHits",
    "TrackerHit:SETSpacePoints",
    #"TrackerHit:FTDStripTrackerHits",
    "TrackerHit:FTDSpacePoints",
예제 #3
0
from Gaudi.Configuration import *

from Configurables import k4DataSvc
dsvc = k4DataSvc("EventDataSvc")

# read LCIO files
from Configurables import LCIOInput
lcioinput = LCIOInput("LCIOInput")

import glob

# inputlists = ["/cefs/higgs/yudan/CEPC240/Reco_tpc_1800/qqh/Reco_qqh__00001.slcio"]
inputlists = ["/cefs/higgs/yudan/CEPC240/Reco_tpc_1800/qqh/Reco_qqh__00003.slcio"]
# inputlists = glob.glob("/cefs/higgs/yudan/CEPC240/Reco_tpc_1800/qqh/Reco_qqh__*.slcio")

lcioinput.inputs = inputlists
lcioinput.collections = [
    "MCParticle:MCParticle",
    "CalorimeterHit:ECALBarrel",
    "CalorimeterHit:ECALEndcap",
    "CalorimeterHit:HCALBarrel",
    "CalorimeterHit:HCALEndcap",
    "CalorimeterHit:HCALOther",
    "ReconstructedParticle:AncientPFOs",
    "ReconstructedParticle:ArborLICHPFOs"
]

from Configurables import TotalInvMass
total_inv_mass = TotalInvMass("TotalInvMass")

# # write PODIO file
예제 #4
0
#!/usr/bin/env python

from Gaudi.Configuration import *

from Configurables import k4DataSvc

dsvc = k4DataSvc("EventDataSvc")

# read LCIO files
from Configurables import LCIOInput

read = LCIOInput("read")
read.inputs = [
    "/cefs/data/FullSim/CEPC240/CEPC_v4/higgs/smart_final_states/E240.Pffh_invi.e0.p0.whizard195//ffh_inv.e0.p0.00001_1000_sim.slcio"
]
read.collections = [
    "SimTrackerHit:COILCollection",
    #"SimCalorimeterHit:EcalBarrelSiliconCollection",
    "MCParticle:MCParticle",
    "SimTrackerHit:TPCCollection",
    "SimTrackerHit:VXDCollection",
    "MCRecoParticleAssociation:RecoMCTruthLink"
]

# write PODIO file
from Configurables import PodioOutput

write = PodioOutput("write")
write.filename = "test.root"
write.outputCommands = ["keep *"]
예제 #5
0
#!/usr/bin/env python

from Gaudi.Configuration import *
from Configurables import k4DataSvc
dsvc = k4DataSvc("EventDataSvc")

# read LCIO files
from Configurables import LCIOInput
read = LCIOInput("read")
read.inputs = [
    "/cefs/higgs/wxfang/cepc/Pandora/CaloDigi/gamma/Digi_sim_1.slcio"
]
read.collections = [
    "MCParticle:MCParticle",
    #"SimCalorimeterHit:EcalBarrelSiliconCollection",
    "CalorimeterHit:ECALBarrel",
    "CalorimeterHit:ECALEndcap",
    "CalorimeterHit:ECALOther",
    ######### HCAL will effect the reco efficiency close to gap region ######
    "CalorimeterHit:HCALBarrel",
    "CalorimeterHit:HCALEndcap",
    "CalorimeterHit:HCALOther",
    #"TrackerHit:VXDTrackerHits",
    #"TrackerHit:SITTrackerHits",
    "TrackerHit:SITSpacePoints",
    "TrackerHit:TPCTrackerHits",
    #"TrackerHit:SETTrackerHits",
    "TrackerHit:SETSpacePoints",
    #"TrackerHit:FTDStripTrackerHits",
    "TrackerHit:FTDSpacePoints",
    #"TrackerHit:FTDPixelTrackerHits",
예제 #6
0
#!/usr/bin/env python

from Gaudi.Configuration import *
from Configurables import K4DataSvc

dsvc = K4DataSvc("EventDataSvc")

# read LCIO files
from Configurables import LCIOInput

read = LCIOInput("read")
read.inputs = [
    #"/cefs/data/FullSim/CEPC240/CEPC_v4/higgs/smart_final_states/E240.Pffh_invi.e0.p0.whizard195//ffh_inv.e0.p0.00001_1000_sim.slcio"
    #"/junofs/users/wxfang/CEPC/CEPCOFF/doReco/reco_output/nnh_aa.e0.p0.00010_000000_rec.slcio"
    "/cefs/higgs/wxfang/cepc/Pandora/CaloDigi/gamma/Digi_sim_0.slcio"
]
read.collections = {
    #"COILCollection" : "SimTrackerHit",
    #"EcalBarrelSiliconCollection" : "SimCalorimeterHit",
    "MCParticle": "MCParticle",
    "ECALBarrel": "CalorimeterHit",
    "ECALEndcap": "CalorimeterHit",
    "ECALOther": "CalorimeterHit",
    "HCALBarrel": "CalorimeterHit",
    "HCALEndcap": "CalorimeterHit",
    "HCALOther": "CalorimeterHit",
    "MUON": "CalorimeterHit",
    "LCAL": "CalorimeterHit",
    "LHCAL": "CalorimeterHit",
    "BCAL": "CalorimeterHit",
    #"MarlinTrkTracks" : "Track"
예제 #7
0
#!/usr/bin/env python

from Gaudi.Configuration import *
from Configurables import k4DataSvc
dsvc = k4DataSvc("EventDataSvc")

# read LCIO files
from Configurables import LCIOInput
read = LCIOInput("read")
read.inputs = [
    "/cefs/higgs/wxfang/cepc/FS/FS_Barrel_Mom150_1000MeV_x_theta_phi_mom_bin_resVsMom_Etuning/sim_111_0830.slcio"
]
read.collections = [
    "MCParticle:MCParticle",
    "SimCalorimeterHit:EcalBarrelSiliconCollection",
    #"CalorimeterHit:ECALBarrel",
    #"CalorimeterHit:ECALEndcap",
    #"CalorimeterHit:ECALOther" ,
    ########## HCAL will effect the reco efficiency close to gap region ######
    #"CalorimeterHit:HCALBarrel",
    #"CalorimeterHit:HCALEndcap",
    #"CalorimeterHit:HCALOther",
    ##"TrackerHit:VXDTrackerHits",
    ##"TrackerHit:SITTrackerHits",
    #"TrackerHit:SITSpacePoints",
    #"TrackerHit:TPCTrackerHits",
    ##"TrackerHit:SETTrackerHits",
    #"TrackerHit:SETSpacePoints",
    ##"TrackerHit:FTDStripTrackerHits",
    #"TrackerHit:FTDSpacePoints",
    ##"TrackerHit:FTDPixelTrackerHits",