ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.atlas_oh.Receiver Class Reference
Inheritance diagram for python.atlas_oh.Receiver:
Collaboration diagram for python.atlas_oh.Receiver:

Public Member Functions

def __init__ (self, q, prefix)
 
def receive (self, obj)
 

Public Attributes

 queue
 
 prefix
 

Detailed Description

Definition at line 19 of file atlas_oh.py.

Constructor & Destructor Documentation

◆ __init__()

def python.atlas_oh.Receiver.__init__ (   self,
  q,
  prefix 
)

Definition at line 20 of file atlas_oh.py.

20  def __init__(self, q, prefix):
21  super(Receiver, self).__init__()
22  self.queue = q
23  self.prefix = prefix
24 

Member Function Documentation

◆ receive()

def python.atlas_oh.Receiver.receive (   self,
  obj 
)

Definition at line 25 of file atlas_oh.py.

25  def receive(self, obj):
26  name = obj.GetName().replace(self.prefix, '')
27  try:
28  self.queue.append(HistObject(name, obj))
29  except Exception as e:
30  print(e)
31 

Member Data Documentation

◆ prefix

python.atlas_oh.Receiver.prefix

Definition at line 23 of file atlas_oh.py.

◆ queue

python.atlas_oh.Receiver.queue

Definition at line 22 of file atlas_oh.py.


The documentation for this class was generated from the following file:
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
Muon::print
std::string print(const MuPatSegment &)
Definition: MuonTrackSteering.cxx:28