forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use all.py instead of __init__.py to imoprt everything so that
pepople loading only one are not slowed down
- Loading branch information
Showing
6 changed files
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
from PhysicsTools.Heppy.analyzers.core.AutoFillTreeProducer import AutoFillTreeProducer | ||
from PhysicsTools.Heppy.analyzers.core.EventSelector import EventSelector | ||
from PhysicsTools.Heppy.analyzers.core.JSONAnalyzer import JSONAnalyzer | ||
from PhysicsTools.Heppy.analyzers.core.PileUpAnalyzer import PileUpAnalyzer | ||
from PhysicsTools.Heppy.analyzers.core.SkimAnalyzerCount import SkimAnalyzerCount | ||
from PhysicsTools.Heppy.analyzers.core.TreeAnalyzerNumpy import TreeAnalyzerNumpy | ||
from PhysicsTools.Heppy.analyzers.core.TriggerBitAnalyzer import TriggerBitAnalyzer | ||
from PhysicsTools.Heppy.analyzers.core.TriggerBitFilter import TriggerBitFilter | ||
# empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from PhysicsTools.Heppy.analyzers.core.AutoFillTreeProducer import AutoFillTreeProducer | ||
from PhysicsTools.Heppy.analyzers.core.EventSelector import EventSelector | ||
from PhysicsTools.Heppy.analyzers.core.JSONAnalyzer import JSONAnalyzer | ||
from PhysicsTools.Heppy.analyzers.core.PileUpAnalyzer import PileUpAnalyzer | ||
from PhysicsTools.Heppy.analyzers.core.SkimAnalyzerCount import SkimAnalyzerCount | ||
from PhysicsTools.Heppy.analyzers.core.TreeAnalyzerNumpy import TreeAnalyzerNumpy | ||
from PhysicsTools.Heppy.analyzers.core.TriggerBitAnalyzer import TriggerBitAnalyzer | ||
from PhysicsTools.Heppy.analyzers.core.TriggerBitFilter import TriggerBitFilter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
from PhysicsTools.Heppy.analyzers.gen.GeneratorAnalyzer import GeneratorAnalyzer | ||
from PhysicsTools.Heppy.analyzers.gen.GenHeavyFlavourAnalyzer import GenHeavyFlavourAnalyzer | ||
from PhysicsTools.Heppy.analyzers.gen.HiggsDecayModeAnalyzer import HiggsDecayModeAnalyzer | ||
from PhysicsTools.Heppy.analyzers.gen.PDFWeightsAnalyzer import PDFWeightsAnalyzer | ||
# empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from PhysicsTools.Heppy.analyzers.gen.GeneratorAnalyzer import GeneratorAnalyzer | ||
from PhysicsTools.Heppy.analyzers.gen.GenHeavyFlavourAnalyzer import GenHeavyFlavourAnalyzer | ||
from PhysicsTools.Heppy.analyzers.gen.HiggsDecayModeAnalyzer import HiggsDecayModeAnalyzer | ||
from PhysicsTools.Heppy.analyzers.gen.PDFWeightsAnalyzer import PDFWeightsAnalyzer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
from PhysicsTools.Heppy.analyzers.objects.GeneratorAnalyzer import GeneratorAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.JetAnalyzer import JetAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.LeptonAnalyzer import LeptonAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.METAnalyzer import METAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.PhotonAnalyzer import PhotonAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.TauAnalyzer import TauAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.IsoTrackAnalyzer import IsoTrackAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.VertexAnalyzer import VertexAnalyzer | ||
# empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from PhysicsTools.Heppy.analyzers.objects.GeneratorAnalyzer import GeneratorAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.JetAnalyzer import JetAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.LeptonAnalyzer import LeptonAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.METAnalyzer import METAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.PhotonAnalyzer import PhotonAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.TauAnalyzer import TauAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.IsoTrackAnalyzer import IsoTrackAnalyzer | ||
from PhysicsTools.Heppy.analyzers.objects.VertexAnalyzer import VertexAnalyzer |
6f20bdf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we simply remove these init files so that they get created automatically by scram instead of writing inside
Last time we did a PR to the official CMSSW software, people got worried about the presence of the init files, and I had to remove them to have the PR accepted.
6f20bdf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left them in since we might want to get the
__all__
solution working eventually which would be cleaner6f20bdf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well they could always be re-added easily.
But as you wish, if people tell us anything I'll let you answer.