18 histoType_(histo_type),
24 extraInfo_(extra_info) {
25 if (&dynamic_cast<const SiStripFedKey&>(key_object)) {
27 }
else if (&dynamic_cast<const SiStripFecKey&>(key_object)) {
43 const uint32_t& key_value,
45 const uint16_t& channel,
48 histoType_(histo_type),
54 extraInfo_(extra_info) {
61 : title_(histo_title),
75 std::stringstream
title;
108 position +=
title_.substr(position).find(histo_type) + histo_type.size() + (
sizeof(
sistrip::sep_) - 1);
111 }
else if (position >= length) {
119 position +=
title_.substr(position).find(run_type) + run_type.size() + (
sizeof(
sistrip::sep_) - 1);
120 if (position >= length) {
128 position +=
title_.substr(position).find(key_type) + key_type.size() + (
sizeof(
sistrip::hex_) - 1);
129 if (position >= length) {
135 std::stringstream
key;
136 key <<
title_.substr(position, siz);
139 if (position >= length) {
145 if (pos == std::string::npos || pos < position) {
152 position +=
title_.substr(position).find(gran) + gran.size();
153 if (position > length) {
159 if (pos == std::string::npos || pos < position) {
164 if (position == length || !siz) {
171 std::stringstream
chan;
172 chan <<
title_.substr(position, siz);
176 if (position >= length) {
187 std::stringstream
ss;
188 ss <<
"[SiStripHistoTitle::print]" << std::endl
189 <<
" Title : " << title.
title() << std::endl
193 <<
" KeyValue (hex) : " << std::hex << std::setfill(
'0') << std::setw(8) << title.
keyValue() <<
std::dec
196 <<
" Channel : " << title.
channel() << std::endl
Utility class that holds histogram title.
const std::string & title() const
static const uint32_t invalid32_
tuple chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
sistrip::Granularity granularity_
sistrip::RunType runType_
static std::string granularity(const sistrip::Granularity &)
const sistrip::Granularity & granularity() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const uint32_t & key() const
const sistrip::Granularity & granularity() const
static std::string runType(const sistrip::RunType &)
const std::string & extraInfo() const
sistrip::HistoType histoType_
const sistrip::KeyType & keyType() const
const uint32_t & keyValue() const
static std::string histoType(const sistrip::HistoType &)
tuple key
prepare the HTCondor submission files and eventually submit them
Base utility class that identifies a position within a logical structure of the strip tracker...
const sistrip::RunType & runType() const
sistrip::KeyType keyType_
const uint16_t & channel() const
static std::string keyType(const sistrip::KeyType &)
static const uint16_t invalid_
static int position[264][3]
const uint16_t & channel() const
const sistrip::HistoType & histoType() const