ATLAS Offline Software
Loading...
Searching...
No Matches
python.atlas_oh.Receiver Class Reference
Inheritance diagram for python.atlas_oh.Receiver:
Collaboration diagram for python.atlas_oh.Receiver:

Public Member Functions

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

Public Attributes

 queue = q
 prefix = prefix

Detailed Description

Definition at line 19 of file atlas_oh.py.

Constructor & Destructor Documentation

◆ __init__()

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()

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
void print(char *figname, TCanvas *c1)
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition hcg.cxx:310

Member Data Documentation

◆ prefix

python.atlas_oh.Receiver.prefix = prefix

Definition at line 23 of file atlas_oh.py.

◆ queue

python.atlas_oh.Receiver.queue = q

Definition at line 22 of file atlas_oh.py.


The documentation for this class was generated from the following file: