Skip to content
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

DataFormats/CaloTowers: add missing class #9380

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions DataFormats/CaloTowers/src/classes.h
Expand Up @@ -11,6 +11,7 @@
#include "DataFormats/Common/interface/PtrVector.h"
#include "DataFormats/Common/interface/FwdRef.h"
#include "DataFormats/Common/interface/FwdPtr.h"
#include "DataFormats/Common/interface/AtomicPtrCache.h"


namespace DataFormats_CaloTowers {
Expand Down Expand Up @@ -40,5 +41,6 @@ namespace DataFormats_CaloTowers {
std::vector<edm::Ptr<CaloTower> > vp1;

std::vector<CaloTowerDetId> vctdi;
edm::AtomicPtrCache<std::vector<CaloTowerPtr> > easvrp;
};
}
5 changes: 5 additions & 0 deletions DataFormats/CaloTowers/src/classes_def.xml
Expand Up @@ -34,4 +34,9 @@
<class name="std::vector<edm::FwdPtr<CaloTower> >"/>

<class name="std::vector<CaloTowerDetId>"/>

<!--NOTE: the declaration of AtomicPtrCache are a temporary work around until ROOT 6 where they will not be needed -->
<class name="edm::AtomicPtrCache<std::vector<CaloTowerPtr> >">
<field name="m_data" transient="true"/>
</class>
</lcgdict>
1 change: 1 addition & 0 deletions DataFormats/PatCandidates/BuildFile.xml
Expand Up @@ -15,6 +15,7 @@
<use name="CondFormats/L1TObjects"/>
<use name="DataFormats/L1Trigger"/>
<use name="DataFormats/HLTReco"/>
<use name="DataFormats/CaloTowers"/>
<use name="boost"/>

<flags LCG_DICT_HEADER="classes_objects.h classes_trigger.h classes_user.h classes_other.h"/>
Expand Down