CMS 3D CMS Logo

PrintL1trk.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTMTT_PrintL1trk
2 #define L1Trigger_TrackFindingTMTT_PrintL1trk
3 
5 #include <iomanip>
6 
7 // Use LogVerbatim with "L1track" category & floating point precision specified here.
8 // Example use: PrintL1trk() << "My message "<<x<<" more text".
9 
10 namespace tmtt {
11 
12  class PrintL1trk {
13  public:
14  PrintL1trk(unsigned int nDigits = 4) : lv_("L1track"), nDigits_(nDigits){};
15 
16  template <class T>
18  lv_ << std::fixed << std::setprecision(nDigits_) << t;
19  return lv_;
20  }
21 
22  private:
24  const unsigned int nDigits_;
25  };
26 
27 } // namespace tmtt
28 
29 #endif
alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
MessageLogger.h
tmtt::PrintL1trk::nDigits_
const unsigned int nDigits_
Definition: PrintL1trk.h:24
tmtt::PrintL1trk::operator<<
edm::LogVerbatim & operator<<(const T &t)
Definition: PrintL1trk.h:17
OrderedSet.t
t
Definition: OrderedSet.py:90
tmtt::PrintL1trk
Definition: PrintL1trk.h:12
tmtt::PrintL1trk::PrintL1trk
PrintL1trk(unsigned int nDigits=4)
Definition: PrintL1trk.h:14
edm::LogVerbatim
Definition: MessageLogger.h:297
T
long double T
Definition: Basic3DVectorLD.h:48
tmtt
=== This is the base class for the linearised chi-squared track fit algorithms.
Definition: ChiSquaredFit4.h:6
tmtt::PrintL1trk::lv_
edm::LogVerbatim lv_
Definition: PrintL1trk.h:23