|
void | _throw_range (det_id_type i) |
|
bool | configureEventSelector (edm::ParameterSet const &iPSet, std::string const &iProcessName, std::vector< std::string > const &iAllTriggerNames, edm::detail::TriggerResultsBasedEventSelector &oSelector) |
|
void | doTheOffset (int bunchSpace, int bcr, std::vector< SimTrack > &simtracks, unsigned int evtNr, int vertexOffset) |
|
void | doTheOffset (int bunchSpace, int bcr, std::vector< SimVertex > &simvertices, unsigned int evtNr, int vertexOffset) |
|
void | doTheOffset (int bunchSpace, int bcr, std::vector< PSimHit > &simhits, unsigned int evtNr, int vertexOffset) |
|
void | doTheOffset (int bunchSpace, int bcr, std::vector< PCaloHit > &calohits, unsigned int evtNr, int vertexOffset) |
|
template<typename T > |
no_tag | has_isProductEqual_helper (...) |
|
template<typename T > |
yes_tag | has_isProductEqual_helper (isProductEqual_function< T,&T::isProductEqual > *dummy) |
|
template<typename T > |
static yes_tag & | has_member_type (typename T::member_type *) |
|
template<typename T > |
static no_tag & | has_member_type (...) |
|
template<typename T > |
no_tag | has_mergeProduct_helper (...) |
|
template<typename T > |
yes_tag | has_mergeProduct_helper (mergeProduct_function< T,&T::mergeProduct > *dummy) |
|
template<typename T > |
no_tag | has_postinsert_helper (...) |
|
template<typename T > |
yes_tag | has_postinsert_helper (postinsert_function< T,&T::post_insert > *p) |
|
template<typename T > |
no_tag | has_swap_helper (...) |
|
template<typename T > |
yes_tag | has_swap_helper (swap_function< T,&T::swap > *dummy) |
|
template<typename T > |
static yes_tag & | has_value_type (typename T::value_type *) |
|
template<typename T > |
static no_tag & | has_value_type (...) |
|
std::string const & | InvalidHash () |
|
bool | isnan (float x) |
|
bool | isnan (double x) |
|
bool | isnan (long double x) |
|
template<typename KEY , typename T , typename E > |
std::ostream & | operator<< (std::ostream &os, ThreadSafeRegistry< KEY, T > const ®) |
|
template<typename COLLECTION > |
void | reallyfillPtrVector (COLLECTION const &coll, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr) |
|
template<class COLLECTION > |
void | reallyFillView (COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &helpers) |
|
template<typename COLLECTION > |
void | reallySetPtr (COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr) |
|
ParameterSetID | registerProperSelectionInfo (edm::ParameterSet const &iInitial, std::string const &iLabel, std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
|
template<typename COLLECTION >
void edm::detail::reallyfillPtrVector |
( |
COLLECTION const & |
coll, |
|
|
std::type_info const & |
iToType, |
|
|
std::vector< unsigned long > const & |
iIndicies, |
|
|
std::vector< void const * > & |
oPtr |
|
) |
| |
Definition at line 38 of file fillPtrVector.h.
References edm::detail::GetProduct< COLLECTION >::address(), getDQMSummary::iter, edm::errors::LogicError, mergeVDriftHistosByStation::name, edm::TypeWithDict::pointerToBaseType(), and edm::Exception::throwThis().
Referenced by edm::fillPtrVector(), edm::OwnArray< T, MAX_SIZE, P >::fillPtrVector(), edm::OwnVector< T, P >::fillPtrVector(), and edm::SortedCollection< T, SORT >::fillPtrVector().
43 typedef COLLECTION product_type;
45 typedef typename product_type::const_iterator
iter;
47 oPtr.reserve(iIndicies.size());
48 if(iToType ==
typeid(element_type)) {
49 for(std::vector<unsigned long>::const_iterator itIndex = iIndicies.begin(),
50 itEnd = iIndicies.end();
53 iter it =
coll.begin();
54 std::advance(it, *itIndex);
56 oPtr.push_back(address);
59 static TypeWithDict
const s_type(
typeid(element_type));
61 for(std::vector<unsigned long>::const_iterator itIndex = iIndicies.begin(),
62 itEnd = iIndicies.end();
65 iter it =
coll.begin();
66 std::advance(it, *itIndex);
68 void const* ptr = TypeWithDict(iToType).pointerToBaseType(address, s_type);
73 "TypeConversionError "
74 "edm::PtrVector<> : unable to convert type ",
75 typeid(element_type).
name(),
template<class COLLECTION >
void edm::detail::reallyFillView |
( |
COLLECTION const & |
coll, |
|
|
ProductID const & |
id, |
|
|
std::vector< void const * > & |
ptrs, |
|
|
helper_vector & |
helpers |
|
) |
| |
Definition at line 49 of file FillView.h.
References edm::detail::GetProduct< COLLECTION >::address(), alignCSCRings::e, h, i, getDQMSummary::iter, relval_steps::key, edm::reftobase::RefVectorHolderBase::push_back(), edm::reftobase::RefVectorHolderBase::reserve(), edm::reftobase::RefVectorHolderBase::size(), and relativeConstraints::value.
Referenced by edm::fillView(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fillView(), edm::SortedCollection< T, SORT >::fillView(), edm::DetSetVector< T >::fillView(), edm::reftobase::RefVectorHolder< REFV >::reallyFillView(), edm::reftobase::RefVectorHolderDoFillView< REFV >::reallyFillView(), and edm::RefToBaseProd< T >::RefToBaseProd().
54 typedef COLLECTION product_type;
56 typedef typename product_type::const_iterator
iter;
58 typedef typename FillViewRefTypeTrait<product_type,
60 typename refhelper::FindTrait<product_type,
61 typename refhelper::ValueTrait<product_type>::value>
::value>
::type ref_type;
62 typedef reftobase::RefHolder<ref_type> holder_type;
64 ptrs.reserve(ptrs.size() +
coll.size());
65 helpers.reserve(helpers.size() +
coll.size());
69 ptrs.push_back(address);
72 helpers.push_back(&
h);
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
ParameterSetID edm::detail::registerProperSelectionInfo |
( |
edm::ParameterSet const & |
iInitial, |
|
|
std::string const & |
iLabel, |
|
|
std::map< std::string, std::vector< std::pair< std::string, int > > > const & |
outputModulePathPositions, |
|
|
bool |
anyProductProduced |
|
) |
| |
Takes the user specified SelectEvents PSet and creates a new one which conforms to the canonical format required for provenance
Definition at line 273 of file TriggerResultsBasedEventSelector.cc.
References edm::ParameterSet::addParameter(), assert(), edm::ParameterSet::copyForModify(), alignCSCRings::e, edm::ParameterSet::exists(), i, edm::ParameterSet::id(), getDQMSummary::iter, and edm::ParameterSet::registerIt().
Referenced by edm::OutputModule::setEventSelectionInfo(), edm::one::OutputModuleBase::setEventSelectionInfo(), and edm::SubProcess::SubProcess().
278 selectEventsInfo.copyForModify(iInitial);
279 selectEventsInfo.addParameter<
bool>(
"InProcessHistory", anyProductProduced);
280 std::vector<std::string> endPaths;
281 std::vector<int> endPathPositions;
285 if (!iLabel.empty()) {
286 std::map<std::string, std::vector<std::pair<std::string, int> > >::const_iterator
iter = outputModulePathPositions.find(iLabel);
287 assert(iter != outputModulePathPositions.end());
288 for (std::vector<std::pair<std::string, int> >::const_iterator
i = iter->second.begin(),
e = iter->second.end();
290 endPaths.push_back(
i->first);
291 endPathPositions.push_back(
i->second);
294 selectEventsInfo.addParameter<std::vector<std::string> >(
"EndPaths", endPaths);
295 selectEventsInfo.addParameter<std::vector<int> >(
"EndPathPositions", endPathPositions);
296 if (!selectEventsInfo.exists(
"SelectEvents")) {
297 selectEventsInfo.addParameter<std::vector<std::string> >(
"SelectEvents", std::vector<std::string>());
299 selectEventsInfo.registerIt();
301 return selectEventsInfo.id();