CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
SamplingAlgorithm Class Reference

Algorithm for latency run. More...

#include <SamplingAlgorithm.h>

Inheritance diagram for SamplingAlgorithm:
CommissioningAlgorithm

Public Member Functions

const Histohisto () const
 
 SamplingAlgorithm (const edm::ParameterSet &pset, SamplingAnalysis *const, uint32_t latencyCode=0)
 
virtual ~SamplingAlgorithm ()
 
- Public Member Functions inherited from CommissioningAlgorithm
void analysis (const std::vector< TH1 * > &)
 
 CommissioningAlgorithm (CommissioningAnalysis *const )
 
 CommissioningAlgorithm ()
 
virtual ~CommissioningAlgorithm ()
 

Private Member Functions

void analyse ()
 
void correctBinning (TProfile *prof) const
 
void correctProfile (TProfile *profile, float SoNcut=3.) const
 
virtual void extract (const std::vector< TH1 * > &)
 
void pruneProfile (TProfile *profile) const
 
 SamplingAlgorithm ()
 

Private Attributes

TF1 * deconv_fitter_
 
Histo histo_
 
uint32_t latencyCode_
 
TF1 * peak_fitterA_
 
TF1 * peak_fitterB_
 
SamplingAnalysissamp_
 

Additional Inherited Members

- Public Types inherited from CommissioningAlgorithm
typedef std::pair< TH1
*, std::string > 
Histo
 
- Protected Member Functions inherited from CommissioningAlgorithm
CommissioningAnalysis *const anal () const
 
uint32_t extractFedKey (const TH1 *const )
 

Detailed Description

Algorithm for latency run.

Author
C. Delaere

Definition at line 18 of file SamplingAlgorithm.h.

Constructor & Destructor Documentation

SamplingAlgorithm::SamplingAlgorithm ( const edm::ParameterSet pset,
SamplingAnalysis * const  anal,
uint32_t  latencyCode = 0 
)

Definition at line 18 of file SamplingAlgorithm.cc.

virtual SamplingAlgorithm::~SamplingAlgorithm ( )
inlinevirtual

Definition at line 24 of file SamplingAlgorithm.h.

24 {;}
SamplingAlgorithm::SamplingAlgorithm ( )
inlineprivate

Definition at line 30 of file SamplingAlgorithm.h.

30 {;}

Member Function Documentation

void SamplingAlgorithm::analyse ( )
privatevirtual

Performs histogram anaylsis.

Implements CommissioningAlgorithm.

Definition at line 118 of file SamplingAlgorithm.cc.

void SamplingAlgorithm::correctBinning ( TProfile *  prof) const
private

Definition at line 215 of file SamplingAlgorithm.cc.

void SamplingAlgorithm::correctProfile ( TProfile *  profile,
float  SoNcut = 3. 
) const
private

Definition at line 223 of file SamplingAlgorithm.cc.

void SamplingAlgorithm::extract ( const std::vector< TH1 * > &  )
privatevirtual

Extracts and organises histograms.

Implements CommissioningAlgorithm.

Definition at line 58 of file SamplingAlgorithm.cc.

const Histo& SamplingAlgorithm::histo ( ) const
inline
void SamplingAlgorithm::pruneProfile ( TProfile *  profile) const
private

Definition at line 198 of file SamplingAlgorithm.cc.

Member Data Documentation

TF1* SamplingAlgorithm::deconv_fitter_
private

Fitter in peak and deconvolution mode

Definition at line 48 of file SamplingAlgorithm.h.

Histo SamplingAlgorithm::histo_
private

pulse shape

Definition at line 45 of file SamplingAlgorithm.h.

uint32_t SamplingAlgorithm::latencyCode_
private

latency code for fine delay scans

Definition at line 53 of file SamplingAlgorithm.h.

TF1* SamplingAlgorithm::peak_fitterA_
private

Definition at line 49 of file SamplingAlgorithm.h.

TF1* SamplingAlgorithm::peak_fitterB_
private

Definition at line 50 of file SamplingAlgorithm.h.

SamplingAnalysis* SamplingAlgorithm::samp_
private

SamplingAnalysis object

Definition at line 56 of file SamplingAlgorithm.h.