New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement edm::View support for BXVector #13562
Conversation
A new Pull Request was created by @Martin-Grunewald (Martin Grunewald) for CMSSW_8_0_X. It involves the following packages: DataFormats/L1Trigger @cmsbuild, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
please test |
The tests are being triggered in jenkins. |
@Dr15Jones |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
+1 |
Implement edm::View support for BXVector
If you also wanted to support http://cmslxr.fnal.gov/source/DataFormats/Common/interface/OwnVector.h#0536 |
@Dr15Jones
or
or
|
@Martin-Grunewald could you make the log containing all the errors available somewhere? |
@Martin-Grunewald I see that you did make them available. Guess the coffee hasn't kicked in yet this morning :). |
This seems to have done the trick template <class T>
inline
void
setPtr(BXVector<T> const& obj,
std::type_info const& toType,
unsigned long index,
void const*& ptr) {
obj.setPtr(toType, index, ptr);
}
template <class T>
inline
void
fillPtrVector(BXVector<T> const& obj,
std::type_info const& toType,
std::vector<unsigned long> const& indices,
std::vector<void const*>& ptrs) {
obj.fillPtrVector(toType, indices, ptrs);
}
namespace edm {
template <class T>
struct has_setPtr<BXVector<T> > {
static bool const value = true;
};
} I.e. |
@Dr15Jones |
Implement edm::View support for BXVector