#include <TrackerInfo.h>
Public Types | |
enum | EtaRegion { Reg_Begin = 0, Reg_Endcap_Neg = 0, Reg_Transition_Neg, Reg_Barrel, Reg_Transition_Pos, Reg_Endcap_Pos, Reg_End, Reg_Count = Reg_End } |
Public Member Functions | |
const std::vector< int > & | barrel_layers () const |
void | create_layers (int n_brl, int n_ec_pos, int n_ec_neg) |
const std::vector< int > & | endcap_neg_layers () const |
const std::vector< int > & | endcap_pos_layers () const |
const LayerInfo & | layer (int l) const |
LayerInfo & | layer_nc (int l) |
int | n_layers () const |
int | n_total_modules () const |
LayerInfo & | new_barrel_layer () |
LayerInfo & | new_ecap_neg_layer () |
LayerInfo & | new_ecap_pos_layer () |
const LayerInfo & | operator[] (int l) const |
const LayerInfo & | outer_barrel_layer () const |
void | print_tracker (int level) const |
void | read_bin_file (const std::string &fname) |
void | reserve_layers (int n_brl, int n_ec_pos, int n_ec_neg) |
void | write_bin_file (const std::string &fname) const |
Private Member Functions | |
int | new_layer (LayerInfo::LayerType_e type) |
Private Attributes | |
std::vector< int > | m_barrel |
std::vector< int > | m_ecap_neg |
std::vector< int > | m_ecap_pos |
std::vector< LayerInfo > | m_layers |
Definition at line 142 of file TrackerInfo.h.
Enumerator | |
---|---|
Reg_Begin | |
Reg_Endcap_Neg | |
Reg_Transition_Neg | |
Reg_Barrel | |
Reg_Transition_Pos | |
Reg_Endcap_Pos | |
Reg_End | |
Reg_Count |
Definition at line 144 of file TrackerInfo.h.
|
inline |
void mkfit::TrackerInfo::create_layers | ( | int | n_brl, |
int | n_ec_pos, | ||
int | n_ec_neg | ||
) |
Definition at line 59 of file TrackerInfo.cc.
References mps_fire::i, new_barrel_layer(), new_ecap_neg_layer(), new_ecap_pos_layer(), and reserve_layers().
|
inline |
|
inline |
|
inline |
Definition at line 162 of file TrackerInfo.h.
References cmsLHEtoEOSManager::l, and m_layers.
Referenced by mkfit::EventOfHits::EventOfHits(), mkfit::MkBuilder::find_tracks_in_layers(), mkfit::MkBuilder::findTracksBestHit(), mkfit::MkBuilder::findTracksStandard(), mkfit::IterationMaskIfcCmssw::get_mask_for_layer(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), and print_tracker().
|
inline |
Definition at line 163 of file TrackerInfo.h.
References cmsLHEtoEOSManager::l, and m_layers.
Referenced by MkFitGeometryESProducer::addTECGeometry(), and MkFitGeometryESProducer::fillShapeAndPlacement().
|
inline |
Definition at line 161 of file TrackerInfo.h.
References m_layers.
Referenced by mkfit::EventOfHits::EventOfHits(), main(), print_tracker(), mkfit::TTreeValidation::TTreeValidation(), and write_bin_file().
int mkfit::TrackerInfo::n_total_modules | ( | ) | const |
LayerInfo & mkfit::TrackerInfo::new_barrel_layer | ( | ) |
Definition at line 75 of file TrackerInfo.cc.
References mkfit::LayerInfo::Barrel, m_barrel, m_layers, and new_layer().
Referenced by create_layers().
LayerInfo & mkfit::TrackerInfo::new_ecap_neg_layer | ( | ) |
Definition at line 85 of file TrackerInfo.cc.
References mkfit::LayerInfo::EndCapNeg, m_ecap_neg, m_layers, and new_layer().
Referenced by create_layers().
LayerInfo & mkfit::TrackerInfo::new_ecap_pos_layer | ( | ) |
Definition at line 80 of file TrackerInfo.cc.
References mkfit::LayerInfo::EndCapPos, m_ecap_pos, m_layers, and new_layer().
Referenced by create_layers().
|
private |
Definition at line 69 of file TrackerInfo.cc.
References createfilelist::int, cmsLHEtoEOSManager::l, HcalHitValidation_cfi::LayerInfo, and m_layers.
Referenced by new_barrel_layer(), new_ecap_neg_layer(), and new_ecap_pos_layer().
|
inline |
|
inline |
void mkfit::TrackerInfo::print_tracker | ( | int | level | ) | const |
Definition at line 237 of file TrackerInfo.cc.
References mkfit::ModuleInfo::detid, mps_fire::i, dqmiolumiharvest::j, layer(), personalPlayback::level, mkfit::LayerInfo::module_info(), n_layers(), mkfit::LayerInfo::n_modules(), AlCaHLTBitMon_ParallelJobs::p, mkfit::ModuleInfo::pos, mkfit::LayerInfo::print_layer(), x, mkfit::ModuleInfo::xdir, and mkfit::ModuleInfo::zdir.
void mkfit::TrackerInfo::read_bin_file | ( | const std::string & | fname | ) |
Definition at line 168 of file TrackerInfo.cc.
References alignmentValidation::fname, personalPlayback::fp, cmsLHEtoEOSManager::l, visualization-live-secondInstance_cfg::m, m_barrel, mkfit::LayerInfo::m_detid2sid, m_ecap_neg, m_ecap_pos, m_layers, mkfit::LayerInfo::m_modules, and submitPVResolutionJobs::stderr.
Referenced by mkfit::execTrackerInfoCreatorPlugin(), and main().
void mkfit::TrackerInfo::reserve_layers | ( | int | n_brl, |
int | n_ec_pos, | ||
int | n_ec_neg | ||
) |
Definition at line 52 of file TrackerInfo.cc.
References m_barrel, m_ecap_neg, m_ecap_pos, and m_layers.
Referenced by create_layers().
void mkfit::TrackerInfo::write_bin_file | ( | const std::string & | fname | ) | const |
Definition at line 142 of file TrackerInfo.cc.
References alignmentValidation::fname, personalPlayback::fp, cmsLHEtoEOSManager::l, m_barrel, m_ecap_neg, m_ecap_pos, m_layers, n_layers(), and submitPVResolutionJobs::stderr.
|
private |
Definition at line 184 of file TrackerInfo.h.
Referenced by barrel_layers(), new_barrel_layer(), outer_barrel_layer(), read_bin_file(), reserve_layers(), and write_bin_file().
|
private |
Definition at line 186 of file TrackerInfo.h.
Referenced by endcap_neg_layers(), new_ecap_neg_layer(), read_bin_file(), reserve_layers(), and write_bin_file().
|
private |
Definition at line 185 of file TrackerInfo.h.
Referenced by endcap_pos_layers(), new_ecap_pos_layer(), read_bin_file(), reserve_layers(), and write_bin_file().
|
private |
Definition at line 182 of file TrackerInfo.h.
Referenced by layer(), layer_nc(), n_layers(), n_total_modules(), new_barrel_layer(), new_ecap_neg_layer(), new_ecap_pos_layer(), new_layer(), operator[](), outer_barrel_layer(), read_bin_file(), reserve_layers(), and write_bin_file().