RootStreamBuilder package

Submodules

RootStreamBuilder.RootStreamAODMaker module

class RootStreamBuilder.RootStreamAODMaker.RootStreamAODMaker(name, InputEventKey, InputSeedsKey, InputTruthKey, InputCellsKey, InputClusterKey, InputRingerKey, InputRingerL0Key, InputElectronKey, InputTruthCellsKey, InputTruthClusterKey, InputTruthRingerKey, InputTruthElectronKey, OutputEventKey=None, OutputTruthKey=None, OutputCellsKey=None, OutputClusterKey=None, OutputRingerKey=None, OutputRingerL0Key=None, OutputSeedsKey=None, OutputElectronKey=None, OutputTruthCellsKey=None, OutputTruthClusterKey=None, OutputTruthRingerKey=None, OutputTruthElectronKey=None, OutputLevel=0, NtupleName='CollectionTree', DumpCells=True)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputSeedsKey (str)

  • InputTruthKey (str)

  • InputCellsKey (str)

  • InputClusterKey (str)

  • InputRingerKey (str)

  • InputRingerL0Key (str)

  • InputElectronKey (str)

  • InputTruthCellsKey (str)

  • InputTruthClusterKey (str)

  • InputTruthRingerKey (str)

  • InputTruthElectronKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputClusterKey (str)

  • OutputRingerKey (str)

  • OutputRingerL0Key (str)

  • OutputSeedsKey (str)

  • OutputElectronKey (str)

  • OutputTruthCellsKey (str)

  • OutputTruthClusterKey (str)

  • OutputTruthRingerKey (str)

  • OutputTruthElectronKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • DumpCells (bool)

RootStreamBuilder.RootStreamAODReader module

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

Bases: Cpp

Parameters:
  • InputFile (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputClusterKey (str)

  • OutputRingerKey (str)

  • OutputRingerL0Key (str)

  • OutputSeedsKey (str)

  • OutputElectronKey (str)

  • OutputTruthClusterKey (str)

  • OutputTruthRingerKey (str)

  • OutputTruthElectronKey (str)

  • OutputLevel (int)

  • NtupleName (str)

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

RootStreamBuilder.RootStreamESDMaker module

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

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputCellsKey (str)

  • InputSeedsKey (str)

  • InputCellsTruthKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputSeedsKey (str)

  • OutputCellsTruthKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • EtaWindow (float)

  • PhiWindow (float)

RootStreamBuilder.RootStreamESDReader module

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

Bases: Cpp

Parameters:
  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputCellsTruthKey (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, InputRingerL0Key, InputTruthClusterKey, InputTruthRingerKey, InputTruthElectronKey, InputElectronKey, OutputLevel=0, OutputNtupleName='events')[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputSeedsKey (str)

  • InputClusterKey (str)

  • InputRingerKey (str)

  • InputRingerL0Key (str)

  • InputTruthClusterKey (str)

  • InputTruthRingerKey (str)

  • InputTruthElectronKey (str)

  • InputElectronKey (str)

  • OutputLevel (int)

  • OutputNtupleName (str)

Module contents

class RootStreamBuilder.RootStreamAODFlags[source]

Bases: EnumStringification

DumpCells = True
class RootStreamBuilder.RootStreamAODMaker(name, InputEventKey, InputSeedsKey, InputTruthKey, InputCellsKey, InputClusterKey, InputRingerKey, InputRingerL0Key, InputElectronKey, InputTruthCellsKey, InputTruthClusterKey, InputTruthRingerKey, InputTruthElectronKey, OutputEventKey=None, OutputTruthKey=None, OutputCellsKey=None, OutputClusterKey=None, OutputRingerKey=None, OutputRingerL0Key=None, OutputSeedsKey=None, OutputElectronKey=None, OutputTruthCellsKey=None, OutputTruthClusterKey=None, OutputTruthRingerKey=None, OutputTruthElectronKey=None, OutputLevel=0, NtupleName='CollectionTree', DumpCells=True)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputSeedsKey (str)

  • InputTruthKey (str)

  • InputCellsKey (str)

  • InputClusterKey (str)

  • InputRingerKey (str)

  • InputRingerL0Key (str)

  • InputElectronKey (str)

  • InputTruthCellsKey (str)

  • InputTruthClusterKey (str)

  • InputTruthRingerKey (str)

  • InputTruthElectronKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputClusterKey (str)

  • OutputRingerKey (str)

  • OutputRingerL0Key (str)

  • OutputSeedsKey (str)

  • OutputElectronKey (str)

  • OutputTruthCellsKey (str)

  • OutputTruthClusterKey (str)

  • OutputTruthRingerKey (str)

  • OutputTruthElectronKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • DumpCells (bool)

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

Bases: Cpp

Parameters:
  • InputFile (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputClusterKey (str)

  • OutputRingerKey (str)

  • OutputRingerL0Key (str)

  • OutputSeedsKey (str)

  • OutputElectronKey (str)

  • OutputTruthClusterKey (str)

  • OutputTruthRingerKey (str)

  • OutputTruthElectronKey (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, InputCellsTruthKey, OutputEventKey=None, OutputTruthKey=None, OutputCellsKey=None, OutputSeedsKey=None, OutputCellsTruthKey=None, OutputLevel=0, NtupleName='CollectionTree', EtaWindow=0.4, PhiWindow=0.4)[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputCellsKey (str)

  • InputSeedsKey (str)

  • InputCellsTruthKey (str)

  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputSeedsKey (str)

  • OutputCellsTruthKey (str)

  • OutputLevel (int)

  • NtupleName (str)

  • EtaWindow (float)

  • PhiWindow (float)

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

Bases: Cpp

Parameters:
  • OutputEventKey (str)

  • OutputTruthKey (str)

  • OutputCellsKey (str)

  • OutputCellsTruthKey (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, InputRingerL0Key, InputTruthClusterKey, InputTruthRingerKey, InputTruthElectronKey, InputElectronKey, OutputLevel=0, OutputNtupleName='events')[source]

Bases: Cpp

Parameters:
  • InputEventKey (str)

  • InputTruthKey (str)

  • InputSeedsKey (str)

  • InputClusterKey (str)

  • InputRingerKey (str)

  • InputRingerL0Key (str)

  • InputTruthClusterKey (str)

  • InputTruthRingerKey (str)

  • InputTruthElectronKey (str)

  • InputElectronKey (str)

  • OutputLevel (int)

  • OutputNtupleName (str)

RootStreamBuilder.recordable(key)[source]