#include <CTPPSPixelDigiCollection.h>
Public Types | |
typedef std::vector< CTPPSPixelDigi >::const_iterator | ContainerIterator |
typedef std::pair< unsigned int, unsigned int > | IndexRange |
typedef std::pair< ContainerIterator, ContainerIterator > | Range |
typedef std::map< unsigned int, IndexRange > | Registry |
typedef std::map< unsigned int, IndexRange >::const_iterator | RegistryIterator |
Public Member Functions | |
CTPPSPixelDigiCollection () | |
const std::vector< unsigned int > | detIDs () const |
const Range | get (unsigned int detID) const |
void | put (Range input, unsigned int detID) |
Private Attributes | |
std::vector< CTPPSPixelDigi > | container_ |
Registry | map_ |
Definition at line 9 of file CTPPSPixelDigiCollection.h.
typedef std::vector<CTPPSPixelDigi>::const_iterator CTPPSPixelDigiCollection::ContainerIterator |
Definition at line 11 of file CTPPSPixelDigiCollection.h.
typedef std::pair<unsigned int, unsigned int> CTPPSPixelDigiCollection::IndexRange |
Definition at line 13 of file CTPPSPixelDigiCollection.h.
typedef std::pair<ContainerIterator, ContainerIterator> CTPPSPixelDigiCollection::Range |
Definition at line 12 of file CTPPSPixelDigiCollection.h.
typedef std::map<unsigned int, IndexRange> CTPPSPixelDigiCollection::Registry |
Definition at line 14 of file CTPPSPixelDigiCollection.h.
typedef std::map<unsigned int, IndexRange>::const_iterator CTPPSPixelDigiCollection::RegistryIterator |
Definition at line 15 of file CTPPSPixelDigiCollection.h.
|
inline |
Definition at line 17 of file CTPPSPixelDigiCollection.h.
const std::vector< unsigned int > CTPPSPixelDigiCollection::detIDs | ( | ) | const |
returns vector of detIDs in map
Definition at line 45 of file CTPPSPixelDigiCollection.cc.
References begin, end, map_, and convertSQLitetoXML_cfg::output.
const CTPPSPixelDigiCollection::Range CTPPSPixelDigiCollection::get | ( | unsigned int | detID | ) | const |
get Digis of detID
Definition at line 29 of file CTPPSPixelDigiCollection.cc.
References container_, newFWLiteAna::found, and map_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
void CTPPSPixelDigiCollection::put | ( | Range | input, |
unsigned int | detID | ||
) |
put in Digis of detID
store size of vector before put
fill input in temporary vector for sorting
fill map
Definition at line 5 of file CTPPSPixelDigiCollection.cc.
References begin, container_, end, input, pileupCalc::inputRange, and map_.
|
private |
Definition at line 24 of file CTPPSPixelDigiCollection.h.