#include "htriggerparmommap.h" |
HTriggerParMomMap
class description - source file - inheritance tree (.pdf)
public:
HTriggerParMomMap(const char* name = "TriggerParMomMap", const char* title = "Parameters for MU Momentum Mapping ", const char* context = "TriggerProduction")
HTriggerParMomMap(const HTriggerParMomMap&)
~HTriggerParMomMap()
static TClass* Class()
virtual void clear()
Int_t getDeltatheta_bins()
Float_t getMom(Int_t th, Int_t Delta_th, Int_t ph)
Int_t getPhi_bins()
Int_t getTheta_bins()
virtual Bool_t init(HParIo*, Int_t*)
virtual TClass* IsA() const
HTriggerParMomMap& operator=(const HTriggerParMomMap&)
void printParam()
void putAsciiHeader(TString&)
void readline(const char*, Int_t*)
void setDefaults()
void setDeltatheta_bins(Int_t Dth_bins)
void setMom(Int_t th, Int_t Delta_th, Int_t ph, Float_t mom)
void setPhi_bins(Int_t ph_bins)
void setTheta_bins(Int_t th_bins)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual Int_t write(HParIo*)
Bool_t writeline(char*, Int_t, Int_t, Int_t)
Bool_t writesize(char* buf)
private:
Int_t Theta_bins number of bins in theta
Int_t Deltatheta_bins number of bins in deta theta
Int_t Phi_bins number of bins in phi
Float_t mu_mom[64][64][8] momentum map
HTriggerParMomMap
Parameters for TRIGGER Emulation
void setDefaults(void)
sets the default values
Input parameters:
none
Output parameters:
none
Return code:
none
HTriggerParMomMap(const char* name,const char* title, const char* context)
: HParSet(name,title,context)
Default constructor
Input parameters:
const char *name
Name of the parametercontainer, default "TriggerParMuMomMap"
const char *title
Title of the container, used by ROOT
const chat *context
Parameter context to read parameters for
Output parameters:
none
Return code:
none
~HTriggerParMomMap(void)
Destructor
Input parameters:
none
Output parameters:
none
Return code:
none
Bool_t init(HParIo* inp,Int_t* set)
Intitializes the container from an input
Input parameters:
HParIo *inp
Input from which to read parameters
Int_t *set
Pointer to parameter set, ito which to store the data
Output parameters:
none
Return code:
If valid input can be found, returns result of initialization function of the
input, kFALSE otherwise.
Int_t write(HParIo* output)
Writes the container to an output
Input parameters:
HParIo *output
Pointer to parameter output
Output parameters:
none
Return code:
If valid output can be found, returns result of the write function of
this output, -1 otherwise.
void clear()
Sets the default values
Input parameters:
none
Output parameters:
none
Return code:
none
void readline(const char *buf, Int_t *set)
Decodes one line read from ascii file I/O
Input parameters:
const char *buf
Buffer with data from file
Int_t *set
Pointer of parameter set to which to write parameters
Output parameters:
none
Return code:
none
void putAsciiHeader(TString& header)
Puts the ascii header to the string used in HTriggerParAsciiFileIo
Input parameters:
TString &header
Reference of string which should contain the header
Output parameters:
none
Return code:
none
Bool_t writeline(char *buf,Int_t s, Int_t m, Int_t c)
Writes one line to the buffer used by ascii file I/O
Input Parameters:
char *buf
Pointer to buffer to which to write the parameters
Int_t s
Int_t m
Int_t c
Output parameters:
none
Return code:
Returns kFALSE if s > 63 or m > 63 or c > 7, otherwise kTRUE
Bool_t writesize(char *buf)
writes one line to the buffer used by ascii file I/O
Input Parameters:
char *buf
Pointer to buffer to which to write the parameters
Output parameters:
none
Return code:
kTRUE always.
void printParam(void)
Print the parameters
Input parameters:
none
Output parameters:
none
Return code:
none
Inline Functions
Int_t getTheta_bins()
Int_t getDeltatheta_bins()
Int_t getPhi_bins()
void setTheta_bins(Int_t th_bins)
void setDeltatheta_bins(Int_t Dth_bins)
void setPhi_bins(Int_t ph_bins)
Float_t getMom(Int_t th, Int_t Delta_th, Int_t ph)
void setMom(Int_t th, Int_t Delta_th, Int_t ph, Float_t mom)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HTriggerParMomMap HTriggerParMomMap(const HTriggerParMomMap&)
HTriggerParMomMap& operator=(const HTriggerParMomMap&)
Last update: Fri Jan 26 12:37:54 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.