Skip to content

Commit e6d7e7e

Browse files
authored
Include the possibility of combining four objects
Simply add `&& lists != 4` in: ``` if (lists != 2 && lists != 3) ```
1 parent 305d14c commit e6d7e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CommonTools/CandAlgos/interface/CandCombiner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace reco {
8181
throw edm::Exception(edm::errors::Configuration, "failed to parse \"" + decay + "\"");
8282

8383
int lists = labels_.size();
84-
if (lists != 2 && lists != 3)
84+
if (lists != 2 && lists != 3 && lists != 4)
8585
throw edm::Exception(edm::errors::LogicError, "invalid number of collections");
8686
bool found;
8787
const string setLongLived("setLongLived");

0 commit comments

Comments
 (0)