Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TriggerPath.cc
Go to the documentation of this file.
1 #include "../interface/TriggerPath.hh"
2 #include "../interface/Unhash.h"
3 #include <iostream>
4 #include "boost/format.hpp"
5 
6 namespace ic {
8  : name_(""), accept_(false), prescale_(0), id_(0), version_(0) {}
9 
11 
12 void TriggerPath::Print() const {
13  std::string name = name_ != "" ? name_ : Unhash::Get(id_);
14  std::cout << boost::format(
15  "%-65s accept=%-3i prescale=%-3i id=%-21i version=%-2i\n") %
16  name % accept_ % prescale_ % id_ % version_;
17 }
18 }
virtual void Print() const
Definition: TriggerPath.cc:12
static std::string Get(std::size_t id)
Definition: Unhash.cc:11
Definition: CaloJet.hh:9
virtual ~TriggerPath()
Definition: TriggerPath.cc:10
std::string const & name() const
The trigger path name.
Definition: TriggerPath.hh:22