1 #ifndef LA_FILLER_FITTER_H
2 #define LA_FILLER_FITTER_H
47 case WIDTH:
return "_width_prof";
53 default:
return "_UNKNOWN";
77 const unsigned,
const float,
const float,
const float,
const float)
const;
84 static unsigned layer_index(
bool TIB,
bool stereo,
unsigned layer) {
return layer + (TIB?0:6) +(stereo?1:0) + ( (layer>2)?1:(layer==1)?-1:0 );}
101 static std::pair<std::pair<float,float>, std::pair<float,float> >
offset_slope(
const std::vector<EnsembleSummary>&);
102 static float pull(
const std::vector<EnsembleSummary>&);
LA_Filler_Fitter(int methods, int M, int N, double low, double up, unsigned max)
std::pair< float, float > pull
static std::map< std::string, Result > layer_results(const Book &, const Method)
static unsigned layer_index(bool TIB, bool stereo, unsigned layer)
static void fit(Book &book)
static std::string name(std::string base)
std::pair< float, float > meanMeasured
static TH1 * subset_probability(const std::string name, const TH1 *const , const TH1 *const )
std::pair< float, float > sigmaMeasured
static void fit_width_profile(Book &)
const Long64_t maxEvents_
poly< std::string > granularity(const SiStripDetId, const float, const Long64_t, const float, const unsigned) const
static std::pair< std::pair< float, float >, std::pair< float, float > > offset_slope(const std::vector< EnsembleSummary > &)
static std::map< std::string, std::vector< EnsembleSummary > > ensemble_summary(const Book &)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void fill(TTree *, Book &) const
static std::string moduleLabel(const SiStripDetId)
std::pair< float, float > measured
LA_Filler_Fitter(int methods, bool layer, bool module, float localybin, unsigned stripbin, unsigned max)
void summarize_ensembles(Book &) const
static Result result(Method, const std::string name, const Book &)
static std::string layerLabel(const SiStripDetId)
const T & max(const T &a, const T &b)
poly< std::string > varWidth(const unsigned width) const
static std::string method(Method m, bool fit=true)
static unsigned find_rebin(const TH1 *const)
Detector identifier class for the strip tracker.
static std::map< std::string, std::vector< Result > > ensemble_results(const Book &, const Method)
static TH1 * rms_profile(const std::string, const TProfile *const)
static std::map< uint32_t, Result > module_results(const Book &, const Method)
static void make_and_fit_symmchi2(Book &)
std::pair< float, float > meanUncertainty
static std::string subdetLabel(const SiStripDetId)
std::pair< float, float > reco
static float pull(const std::vector< EnsembleSummary > &)
const unsigned stripsPerBin_
void fill_one_cluster(Book &, const poly< std::string > &, const unsigned, const float, const float, const float, const float) const
std::pair< float, float > calMeasured
volatile std::atomic< bool > shutdown_flag false
const double ensembleLow_
poly< std::string > allAndOne(const unsigned width) const