CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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

Author
I. Vodopiyanov – Florida Institute of technology

Definition at line 14 of file HFTimingTrustFlag.h.

Constructor & Destructor Documentation

◆ HFTimingTrustFlag() [1/2]

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() [2/2]

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::~HFTimingTrustFlag ( )

Definition at line 127 of file HFTimingTrustFlag.cc.

127 {}

Member Function Documentation

◆ setHFTimingTrustFlag()

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

Definition at line 129 of file HFTimingTrustFlag.cc.

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

Referenced by HcalHitReconstructor::produce().

Member Data Documentation

◆ HFTimingTrustLevel1_

int HFTimingTrustFlag::HFTimingTrustLevel1_
private

Definition at line 23 of file HFTimingTrustFlag.h.

◆ HFTimingTrustLevel2_

int HFTimingTrustFlag::HFTimingTrustLevel2_
private

Definition at line 23 of file HFTimingTrustFlag.h.

HFTimingTrustFlag::HFTimingTrustLevel1_
int HFTimingTrustLevel1_
Definition: HFTimingTrustFlag.h:23
HFTimingTrustFlag::HFTimingTrustLevel2_
int HFTimingTrustLevel2_
Definition: HFTimingTrustFlag.h:23