RootStreamBuilder package

Submodules

RootStreamBuilder.RootStreamAODMaker module

class RootStreamBuilder.RootStreamAODMaker.RootStreamAODMaker(name, InputEventKey, InputTruthKey, InputCellsKey, InputClusterKey, InputRingerKey, InputSeedsKey, InputElectronKey, OutputEventKey=None, OutputTruthKey=None, OutputCellsKey=None, OutputClusterKey=None, OutputRingerKey=None, OutputSeedsKey=None, OutputElectronKey=None, OutputLevel=0, NtupleName='CollectionTree', DumpCells=True)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputCellsKey (str)

  • InputClusterKey (str)

  • InputRingerKey (str)

  • InputSeedsKey (str)

  • InputElectronKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputClusterKey (str)

  • OutputRingerKey (str)

  • OutputSeedsKey (str)

  • OutputElectronKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • DumpCells (bool)

RootStreamBuilder.RootStreamAODReader module

class RootStreamBuilder.RootStreamAODReader.RootStreamAODReader(name, InputFile, OutputEventKey, OutputTruthKey, OutputClusterKey, OutputRingerKey, OutputSeedsKey, OutputElectronKey, OutputLevel=0, NtupleName='CollectionTree')[source]

Bases: Cpp

Parameters:
  • InputFile (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputClusterKey (str)

  • OutputRingerKey (str)

  • OutputSeedsKey (str)

  • OutputElectronKey (str)

  • OutputLevel (int)

  • NtupleName (str)

GetEntries()[source]
merge(acc)[source]

RootStreamBuilder.RootStreamESDMaker module

class RootStreamBuilder.RootStreamESDMaker.RootStreamESDMaker(name, InputEventKey, InputTruthKey, InputCellsKey, InputSeedsKey, OutputEventKey=None, OutputTruthKey=None, OutputCellsKey=None, OutputSeedsKey=None, OutputLevel=0, NtupleName='CollectionTree', EtaWindow=0.4, PhiWindow=0.4)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputCellsKey (str)

  • InputSeedsKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputSeedsKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • EtaWindow (float)

  • PhiWindow (float)

RootStreamBuilder.RootStreamESDReader module

class RootStreamBuilder.RootStreamESDReader.RootStreamESDReader(name, OutputEventKey, OutputTruthKey, OutputCellsKey, OutputSeedsKey, InputFile, OutputLevel=0, NtupleName='CollectionTree')[source]

Bases: Cpp

Parameters:
  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputSeedsKey (str)

  • InputFile (str)

  • OutputLevel (int)

  • NtupleName (str)

GetEntries()[source]
merge(acc)[source]

RootStreamBuilder.RootStreamFlags module

class RootStreamBuilder.RootStreamFlags.RootStreamAODFlags[source]

Bases: EnumStringification

DumpCells = True
class RootStreamBuilder.RootStreamFlags.RootStreamESDFlags[source]

Bases: EnumStringification

EtaWindow = 0.4
PhiWindow = 0.4
class RootStreamBuilder.RootStreamFlags.RootStreamHITFlags[source]

Bases: EnumStringification

EtaWindow = 0.4
OnlyRoI = True
PhiWindow = 0.4

RootStreamBuilder.RootStreamHITMaker module

class RootStreamBuilder.RootStreamHITMaker.RootStreamHITMaker(name, InputEventKey, InputTruthKey, InputHitsKey, InputSeedsKey, OutputEventKey=None, OutputTruthKey=None, OutputHitsKey=None, OutputSeedsKey=None, OutputLevel=0, NtupleName='CollectionTree', OnlyRoI=True, EtaWindow=0.4, PhiWindow=0.4, KeepCells=None)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputHitsKey (str)

  • InputSeedsKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputHitsKey (str)

  • OutputSeedsKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • OnlyRoI (bool)

  • EtaWindow (float)

  • PhiWindow (float)

  • KeepCells (List[int])

RootStreamBuilder.RootStreamHITReader module

class RootStreamBuilder.RootStreamHITReader.RootStreamHITReader(name, OutputEventKey, OutputTruthKey, OutputHitsKey, OutputSeedsKey, InputFile, OutputLevel=0, NtupleName='CollectionTree')[source]

Bases: Cpp

Parameters:
  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputHitsKey (str)

  • OutputSeedsKey (str)

  • InputFile (str)

  • OutputLevel (int)

  • NtupleName (str)

GetEntries()[source]
merge(acc)[source]

RootStreamBuilder.RootStreamKeys module

RootStreamBuilder.RootStreamKeys.recordable(key)[source]

RootStreamBuilder.RootStreamNtupleMaker module

class RootStreamBuilder.RootStreamNtupleMaker.RootStreamNtupleMaker(name, InputEventKey, InputTruthKey, InputSeedsKey, InputClusterKey, InputRingerKey, InputElectronKey, OutputLevel=0, OutputNtupleName='events')[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputSeedsKey (str)

  • InputClusterKey (str)

  • InputRingerKey (str)

  • InputElectronKey (str)

  • OutputLevel (int)

  • OutputNtupleName (str)

Module contents

class RootStreamBuilder.RootStreamAODFlags[source]

Bases: EnumStringification

DumpCells = True
class RootStreamBuilder.RootStreamAODMaker(name, InputEventKey, InputTruthKey, InputCellsKey, InputClusterKey, InputRingerKey, InputSeedsKey, InputElectronKey, OutputEventKey=None, OutputTruthKey=None, OutputCellsKey=None, OutputClusterKey=None, OutputRingerKey=None, OutputSeedsKey=None, OutputElectronKey=None, OutputLevel=0, NtupleName='CollectionTree', DumpCells=True)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputCellsKey (str)

  • InputClusterKey (str)

  • InputRingerKey (str)

  • InputSeedsKey (str)

  • InputElectronKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputClusterKey (str)

  • OutputRingerKey (str)

  • OutputSeedsKey (str)

  • OutputElectronKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • DumpCells (bool)

class RootStreamBuilder.RootStreamAODReader(name, InputFile, OutputEventKey, OutputTruthKey, OutputClusterKey, OutputRingerKey, OutputSeedsKey, OutputElectronKey, OutputLevel=0, NtupleName='CollectionTree')[source]

Bases: Cpp

Parameters:
  • InputFile (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputClusterKey (str)

  • OutputRingerKey (str)

  • OutputSeedsKey (str)

  • OutputElectronKey (str)

  • OutputLevel (int)

  • NtupleName (str)

GetEntries()[source]
merge(acc)[source]
class RootStreamBuilder.RootStreamESDFlags[source]

Bases: EnumStringification

EtaWindow = 0.4
PhiWindow = 0.4
class RootStreamBuilder.RootStreamESDMaker(name, InputEventKey, InputTruthKey, InputCellsKey, InputSeedsKey, OutputEventKey=None, OutputTruthKey=None, OutputCellsKey=None, OutputSeedsKey=None, OutputLevel=0, NtupleName='CollectionTree', EtaWindow=0.4, PhiWindow=0.4)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputCellsKey (str)

  • InputSeedsKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputSeedsKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • EtaWindow (float)

  • PhiWindow (float)

class RootStreamBuilder.RootStreamESDReader(name, OutputEventKey, OutputTruthKey, OutputCellsKey, OutputSeedsKey, InputFile, OutputLevel=0, NtupleName='CollectionTree')[source]

Bases: Cpp

Parameters:
  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputSeedsKey (str)

  • InputFile (str)

  • OutputLevel (int)

  • NtupleName (str)

GetEntries()[source]
merge(acc)[source]
class RootStreamBuilder.RootStreamHITFlags[source]

Bases: EnumStringification

EtaWindow = 0.4
OnlyRoI = True
PhiWindow = 0.4
class RootStreamBuilder.RootStreamHITMaker(name, InputEventKey, InputTruthKey, InputHitsKey, InputSeedsKey, OutputEventKey=None, OutputTruthKey=None, OutputHitsKey=None, OutputSeedsKey=None, OutputLevel=0, NtupleName='CollectionTree', OnlyRoI=True, EtaWindow=0.4, PhiWindow=0.4, KeepCells=None)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputHitsKey (str)

  • InputSeedsKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputHitsKey (str)

  • OutputSeedsKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • OnlyRoI (bool)

  • EtaWindow (float)

  • PhiWindow (float)

  • KeepCells (List[int])

class RootStreamBuilder.RootStreamHITReader(name, OutputEventKey, OutputTruthKey, OutputHitsKey, OutputSeedsKey, InputFile, OutputLevel=0, NtupleName='CollectionTree')[source]

Bases: Cpp

Parameters:
  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputHitsKey (str)

  • OutputSeedsKey (str)

  • InputFile (str)

  • OutputLevel (int)

  • NtupleName (str)

GetEntries()[source]
merge(acc)[source]
class RootStreamBuilder.RootStreamNtupleMaker(name, InputEventKey, InputTruthKey, InputSeedsKey, InputClusterKey, InputRingerKey, InputElectronKey, OutputLevel=0, OutputNtupleName='events')[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputSeedsKey (str)

  • InputClusterKey (str)

  • InputRingerKey (str)

  • InputElectronKey (str)

  • OutputLevel (int)

  • OutputNtupleName (str)

RootStreamBuilder.recordable(key)[source]