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
{
7
TriggerPath::TriggerPath
()
8
: name_(
""
), accept_(false), prescale_(0), id_(0), version_(0) {}
9
10
TriggerPath::~TriggerPath
() {}
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
}
ic::TriggerPath::Print
virtual void Print() const
Definition:
TriggerPath.cc:12
ic::Unhash::Get
static std::string Get(std::size_t id)
Definition:
Unhash.cc:11
ic::TriggerPath::TriggerPath
TriggerPath()
Definition:
TriggerPath.cc:7
ic
Definition:
CaloJet.hh:9
ic::TriggerPath::~TriggerPath
virtual ~TriggerPath()
Definition:
TriggerPath.cc:10
ic::TriggerPath::name
std::string const & name() const
The trigger path name.
Definition:
TriggerPath.hh:22