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 Attributes
HFTimingTrustFlag Class Reference

#include <HFTimingTrustFlag.h>

Public Member Functions

 HFTimingTrustFlag ()
 
 HFTimingTrustFlag (int level1, int level2)
 
void setHFTimingTrustFlag (HFRecHit &rechit, const HFDataFrame &digi)
 
 ~HFTimingTrustFlag ()
 

Private Attributes

int HFTimingTrustLevel1_
 
int HFTimingTrustLevel2_
 

Detailed Description

HFTimingTrustFlag Class sets the HF timing status bits according to uncertainty on timing estimation

Date:
2009/08/14 19:40:42
Author
I. Vodopiyanov – Florida Institute of technology

Definition at line 15 of file HFTimingTrustFlag.h.

Constructor & Destructor Documentation

HFTimingTrustFlag::HFTimingTrustFlag ( )

Definition at line 116 of file HFTimingTrustFlag.cc.

117 {
118  HFTimingTrustLevel1_ = 1; // time precision 1ns
119  HFTimingTrustLevel2_ = 4; // time precision 4ns
120 }
HFTimingTrustFlag::HFTimingTrustFlag ( int  level1,
int  level2 
)

Definition at line 122 of file HFTimingTrustFlag.cc.

123 {
124  HFTimingTrustLevel1_ = level1; // allow user to set t-trust level
125  HFTimingTrustLevel2_ = level2;
126 }
HFTimingTrustFlag::~HFTimingTrustFlag ( )

Definition at line 128 of file HFTimingTrustFlag.cc.

129 {}

Member Function Documentation

void HFTimingTrustFlag::setHFTimingTrustFlag ( HFRecHit rechit,
const HFDataFrame digi 
)

Definition at line 131 of file HFTimingTrustFlag.cc.

Referenced by HcalHitReconstructor::produce().

132 {
133  checkHFTimErr<HFRecHit, HFDataFrame>(rechit, digi, HFTimingTrustLevel1_, HFTimingTrustLevel2_);
134  return;
135 }

Member Data Documentation

int HFTimingTrustFlag::HFTimingTrustLevel1_
private

Definition at line 24 of file HFTimingTrustFlag.h.

int HFTimingTrustFlag::HFTimingTrustLevel2_
private

Definition at line 24 of file HFTimingTrustFlag.h.