38 int idx = !strcmp(str,
"go 0") ? 0 : 1;
43 sock->SetCompressionLevel(1);
48 hpx =
new TH1F(
"hpx",
"This is the px distribution",100,-4,4);
51 hpx =
new TH2F(
"hpxpy",
"py vs px",40,-4,4,40,-4,4);
62 for (
int i = 0; i < 25000; i++) {
68 if (i && (i%kUPDATE) == 0) {
76 sock->Send(
"Finished");
79 printf(
"Average compression ratio: %g\n", messlen/cmesslen);
95 printf(
"UpdateBonjourRecords (resolved = %s)\n", resolved ?
"kTRUE" :
"kFALSE");
107 resolver->
Connect(
"RecordResolved(TInetAddress*,Int_t)", 0, 0,
108 "ConnectToServer(TInetAddress*,Int_t)");
140 browser->
Connect(
"CurrentBonjourRecordsChanged(TList*)", 0, 0,
141 "UpdateBonjourRecords(TList*)");
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
const char * GetHostName() const
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
void UpdateBonjourRecords(TList *records)
Int_t ResolveBonjourRecord(const TBonjourRecord &record)
Resolve Bonjour service to IP address and port.
R__EXTERN void * gTQSender
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
This class represents an Internet Protocol (IP) address.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
void Print(Option_t *opt="") const
Print TBonjourRecord.
1-D histogram with a float per channel (see TH1 documentation)}
virtual void SetSeed(UInt_t seed=0)
Set the random generator seed.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
void Reset()
Reset the message buffer so we can use (i.e. fill) it again.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
virtual void SetFillColor(Color_t fcolor)
R__EXTERN TBenchmark * gBenchmark
2-D histogram with a float per channel (see TH1 documentation)}
const char * GetReplyDomain() const
void ConnectToServer(const TInetAddress *hostb, Int_t port)
static void EnableSchemaEvolutionForAll(Bool_t enable=kTRUE)
Static function enabling or disabling the automatic schema evolution.
R__EXTERN TRandom * gRandom
ClassImp(TMCParticle) void TMCParticle printf(": p=(%7.3f,%7.3f,%9.3f) ;", fPx, fPy, fPz)
const char * GetRegisteredType() const
void hclientbonj(Bool_t evol=kFALSE)
void WriteObject(const TObject *obj)
Write object to message buffer.
Int_t BrowseForServiceType(const char *serviceType)
Tell Bonjour to start browsing for a specific type of service.