CMS 3D CMS Logo

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

Author
I. Vodopiyanov – Florida Institute of technology

Definition at line 14 of file HFTimingTrustFlag.h.

Constructor & Destructor Documentation

HFTimingTrustFlag::HFTimingTrustFlag ( )

Definition at line 117 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.

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

Definition at line 127 of file HFTimingTrustFlag.cc.

127 {}

Member Function Documentation

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

Definition at line 129 of file HFTimingTrustFlag.cc.

Referenced by HcalHitReconstructor::produce().

129  {
130  checkHFTimErr<HFRecHit, HFDataFrame>(rechit, digi, HFTimingTrustLevel1_, HFTimingTrustLevel2_);
131  return;
132 }

Member Data Documentation

int HFTimingTrustFlag::HFTimingTrustLevel1_
private

Definition at line 23 of file HFTimingTrustFlag.h.

int HFTimingTrustFlag::HFTimingTrustLevel2_
private

Definition at line 23 of file HFTimingTrustFlag.h.