MasterGeVPerMip.h File Reference

#include <string>
#include <map>
#include <vector>
#include "Conventions/Detector.h"
#include "Conventions/ReleaseType.h"

Go to the source code of this file.

Classes

class  MasterGeVPerMip
 A class for managing sets of GeVPerMip values by release name (or arbitrary string). More...
struct  MasterGeVPerMip::Cleaner

Functions

double get_gevpermip (Detector::Detector_t det)
void choose_gevpermip_release (std::string setname="default")
void choose_gevpermip_release (ReleaseType::Release_t rt)
void new_gevpermip_release (std::string setname, double nearval, double farval, double caldetval)
void new_gevpermip_release (ReleaseType::Release_t rt, double nearval, double farval, double caldetval)
void print_gevpermip (Option_t *opt="all")
bool gevpermip_release_exists (std::string setname="default")
bool gevpermip_release_exists (ReleaseType::Release_t rt)

Function Documentation

void choose_gevpermip_release ( ReleaseType::Release_t  rt  ) 
void choose_gevpermip_release ( std::string  setname = "default"  ) 
double get_gevpermip ( Detector::Detector_t  det  ) 
bool gevpermip_release_exists ( ReleaseType::Release_t  rt  ) 

Definition at line 40 of file MasterGeVPerMip.cxx.

References MasterGeVPerMip::Instance(), and MasterGeVPerMip::SetExists().

00041 { return MasterGeVPerMip::Instance().SetExists(rt); }

bool gevpermip_release_exists ( std::string  setname = "default"  ) 

Definition at line 37 of file MasterGeVPerMip.cxx.

References MasterGeVPerMip::Instance(), and MasterGeVPerMip::SetExists().

00038 { return MasterGeVPerMip::Instance().SetExists(setname); }

void new_gevpermip_release ( ReleaseType::Release_t  rt,
double  nearval,
double  farval,
double  caldetval 
)

Definition at line 30 of file MasterGeVPerMip.cxx.

References MasterGeVPerMip::AddSet(), and MasterGeVPerMip::Instance().

00032 { MasterGeVPerMip::Instance().AddSet(rt,nearval,farval,caldetval); }

void new_gevpermip_release ( std::string  setname,
double  nearval,
double  farval,
double  caldetval 
)

Definition at line 26 of file MasterGeVPerMip.cxx.

References MasterGeVPerMip::AddSet(), and MasterGeVPerMip::Instance().

00028 { MasterGeVPerMip::Instance().AddSet(setname,nearval,farval,caldetval); }

void print_gevpermip ( Option_t *  opt = "all"  ) 

Definition at line 34 of file MasterGeVPerMip.cxx.

References MasterGeVPerMip::Instance(), and MasterGeVPerMip::Print().

00035 { MasterGeVPerMip::Instance().Print(opt); }


Generated on 8 Jul 2019 for loon by  doxygen 1.6.1