00101 std::map map_in_to_new Ġ0102 for ( GenEvent::vertex_const_iterator v = inevent. 00099 // We do not use GenVertex::operator= because that would copy 00100 // the attached particles as well. contribId94& sessionId18&confId207 2 PARTNER-Grid Teleconference, CERN. create a NEW copy of all vertices from inevent 00097 // taking care to map new vertices onto the vertices being copied 00098 // and add these new vertices to this event. XLS, PDF) Info is linked using database federation Data meaning described. event_scale() ),Ġ0080 m_alphaQCD ( inevent. event_number() ),Ġ0079 m_event_scale ( inevent. For example to get title and author you could do this: exiftool -Title -Author input.pdf. Edit: For an alternative to pdfinfo you can use exiftool to read/write files metadata. In the image bellow you can see that they can have different values. signal_process_id() ),Ġ0077 m_event_number ( inevent. Use a graphic explorer to view the file properties and in the metadata tab make sure you have a title. 00008 // Updated: the event now holds a set of all attached vertices 00009 // rather than just the roots of the graph 00010 // Event record for MC generators (for use at any stage of generation) 00012 00013 #include " HepMC/GenEvent.h" 00014 #include " HepMC/Version.h" 00015Ġ0018 GenEvent::GenEvent( int signal_process_id,Ġ0022 const std::vector& random_states ) :Ġ0023 m_signal_process_id(signal_process_id),Ġ0029 m_signal_process_vertex(signal_vertex),Ġ0046 GenEvent::GenEvent( int signal_process_id, int event_number,Ġ0052 m_signal_process_id(signal_process_id),Ġ0058 m_signal_process_vertex(signal_vertex),Ġ0075 GenEvent::GenEvent( const GenEvent& inevent )Ġ0076 : m_signal_process_id ( inevent. Then Author is the key and the remaining part is the value. The latter, the commas between the key value pairs are missing. note that 00006 // GenVertex::***_iterator is not const, since it must 00007 // be able to return a mutable pointer to itself. 1 Answer Sorted by: 10 Option pdfinfo expect key value pairs, separated by commas. Share Improve this answer Follow answered at 17:24 johnwhitington 2,019 1 15 17 It also prints 'For non-commercial use only' on the output, which is quite annoying, even if you only want the number of pages. 00002 // September 1999 00003 // Updated: iterators complete and working! 00004 // Updated: GenEvent::vertex, particle iterators are made 00005 // constant WRT this event. cpdf.exe -pages file.pdf which will print the number of pages to standard output.
0 Comments
Leave a Reply. |